Integration Virtual Vehicles
Your Virtual OEM subscription provides you with information on the data items that are accessible as part of your subscription and the details required for authentication and authorization .
Of course, you need to manage the Vehicles in your subscriptions via the marketplace or our Vehicle Management API and can consume data via our In-Vehicle API and use it in your applications and solutions – in the same way as it works for any other vehicle manufacturer.
Please see below sample curl request that help you getting up to speed on your journey to connected car data.
VEHICLE MANAGEMENT SAMPLE REQUEST
curl --location --request PUT ‘https://api.caruso-dataplace.com/management/v1/vehicles’
--header 'Content-Type: application/json' \
--header 'X-Subscription-Id: <refer to your subscription>' \
--header 'x-api-key: < refer to your subscription >' \
--data-raw '{
"action": "activate",
"vins": [
"V1RTUALV1N0000001",
"V1RTUALV1N0000002"
]
}'
DATA DELIVERY SAMPLE REQUEST
curl --location --request POST 'https://api.caruso-dataplace.com/delivery/v1/in-vehicle' \
--header 'Content-Type: application/json' \
--header 'X-Subscription-Id: <refer to your subscription>' \
--header 'x-api-key: < refer to your subscription >' \
--data-raw '{
"version": "1.0",
"vehicles": [
{
"identifier": {
"type": "VIN",
"value": "V1RTUALV1N0000001"
}
}
],
"dataItems": [
"mileage","geolocation"
]
}'