API Reference - References
Changelog: history and versioning of WEB API Fleet Owner v3.
Groupe PSA Connected Car B2B API (3.19.2)
Download OpenAPI specification:Download
Business Partner Connected Fleet API
PSA Connected Car B2B APIs uses the HTTPS Authentication (with provided PSA SSL Certificate) to access to fleet vehicles data.
Errors:
Error codes returned by all APIs comply with the standard. Nevertheless, PSA Services (callers) need to have more detailed data structures (even when the answer is not Http-OK) to better categorize the type of error by providing application code, message and debugging code(for investigation purposes). The HTTP code of the response is managed by the protocol itself (in the header).
These APIS are likely to report the following HTTP code:
Code | Description | Case |
---|---|---|
200 | The request has succeeded and the resource data has been sent. | GET APIs. |
202 | The request has been accepted for processing, but not yet acted upon. An id of processing is returned. | POST/PUT requests: -Create monitor -Create Remote callback. |
204 | The request has been accepted and there is no additional content | DELTE APIs: -Delete monitor. -Delete remote callback. |
400 | Request cannot be processed due to invalid query parameter value of body content (for POST/PUT verbs) | ALL APIs. |
401 | Unauthorized request due to lack of valid authentication credentials. | All APIs. |
403 | Unauthorized request due to insufficient credentials to grant access. | All APIs. |
404 | Target resource not found. | All APIs. Even POST, PUT or DELETE if the resource id is unknown. |
500 | Unexpected condition that prevented from fulfilling the request. | All APIs. |
Errors are returned as a generic error response:
* See ErrorCodeDefaultResponse
model.
B2B partners need to return vehicle data with an end-user profile. To do this, the data APIs allow to use an end-user profile according to a query parameter named profile
. Remote, Monitor, Fleets and Vehicles getter APIs are not affected by this parameter.
All APIs return data in JSON format. The application who uses them must take into account the evolving character of them and more precisely regarding the schemas of the exposed data. Indeed:
- The missing of known data fields should not cause an error.
- It should (correctly) deal with JSON content with unknown properties also. Indeed, data schema extensions should be supported without errors even if they are not used.
for example:
Assuming a given exposed resource with this data schema:
data:
type: object
description: Data model
properties:
field1:
type: string
field2:
type: number
The application should be able to deal with those possible valid JSON contents:
All fields:
{ "field1":"value1", "field2": 1 }
Missing field2:
{ "field1":"value1" }
Unknow field3:
{ "field1":"value1", "field3": 2.5 }
List of vehicles characteristics & capabilities
Returns vehicle'scharacteristics & capabilities
Authorizations:
path Parameters
vin required | string Example: VF3ABCDE0FG123456 Results will only be related to this Vehicle Identification Number. |
query Parameters
locale | string Locale is used for rendering text according to language and country for. It should match the REGEX \w(-\w)?. For more details about possible standard values, please refer to locals list. |
extension | Array of strings (VehicleExtensionType) [ 1 .. 3 ] items Items Enum: "onboardCapabilities" "branding" "pictures" Example: extension=branding Additional data set that will be included in embedded field |
Responses
Response Schema: application/hal+json
vin required | string Serial number of a vehicle |
motorization | string Enum: "Electric" "Hybrid" "Thermic" "Hydrogen" Motorization of the vehicle. |
object |
Response samples
- 200
- default
{- "vin": "VF3ABCDE0FG123456",
- "motorization": "Thermic",
- "_embedded": {
- "extension": null
}
}
To retreive Fleet details and access resources in batch mode (without vehicle or trip filtering).
Fleets owned by a partner
Returns all Fleets owned by a partner.
Authorizations:
query Parameters
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "fleets": [
- {
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicles": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "status": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "maintenances": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "alerts": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trips": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "collisions": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "monitors": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "callbacks": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "name": "string",
- "id": "0a123bc5d1e873066454b4d9",
- "description": "string"
}
]
}
}
Fleet's information
Returns the Fleet's information.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
Responses
Response Schema: application/hal+json
updatedAt | string <date-time> Date when the resource has been updated. |
createdAt | string <date-time> Date when the resource has been created. |
required | object |
name | string Name of the Fleet |
id required | string The id of the Fleet |
description | string The description of the Fleet |
Response samples
- 200
- default
{- "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicles": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "status": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "maintenances": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "alerts": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trips": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "collisions": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "monitors": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "callbacks": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "name": "string",
- "id": "0a123bc5d1e873066454b4d9",
- "description": "string"
}
Fleet Vehicles status. Deprecated
Returns the latest vehicles status for a given fleet. HyperLink (HAL) resolutions of resources within the returned collection are associate to vehicle.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "status": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "vin": "VF3ABCDE0FG123456",
- "ignition": {
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "Start"
}, - "lastPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "preconditioning": {
- "airConditioning": {
- "createdAt": "2019-08-24T14:15:22Z",
- "status": "Enabled",
- "startingCause": "Immediate",
- "failureCause": "Defect",
- "programs": [
- {
- "recurrence": "None",
- "start": "PT14H30M",
- "occurence": {
- "day": [
- null
]
}, - "slot": 1,
- "enabled": true
}
]
}
}, - "energies": [
- {
- "type": "Fuel",
- "subType": "FossilEnergy",
- "level": 100,
- "autonomy": 0,
- "extension": {
- "fuel": {
- "consumptions": {
- "total": 0.1,
- "instant": 0.1
}
}, - "electric": {
- "battery": {
- "load": {
- "createdAt": "2019-08-24T14:15:22Z",
- "capacity": 0,
- "residual": 0
}, - "health": {
- "createdAt": "2019-08-24T14:15:22Z",
- "capacity": 100,
- "resistance": 100
}
}, - "charging": {
- "plugged": true,
- "status": "Disconnected",
- "remainingTime": "string",
- "chargingRate": 500,
- "chargingPowerLevel": "Level1",
- "chargingMode": "No",
- "nextDelayedTime": "string",
- "schedule": {
- "programs": [
- {
- "start": "PT14H30M",
- "occurence": {
- "day": [
- "Mon"
]
}, - "enabled": true,
- "slot": 0,
- "end": "PT14H30M",
- "chargeUntilFull": true
}
]
}, - "type": "Partial"
}
}
}, - "createdAt": "2019-08-24T14:15:22Z"
}
], - "engines": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "Thermic",
- "speed": 0.1,
- "gmpStatus": "NotRunning",
- "extension": {
- "thermic": {
- "coolant": {
- "level": 0,
- "temp": 0.1
}, - "oil": {
- "level": 0,
- "temp": 0.1
}, - "air": {
- "temp": 0.1
}
}
}
}
], - "transmission": {
- "gearbox": {
- "mode": {
- "automatic": true,
- "sport": true,
- "snow": true,
- "sequential": true,
- "semiManual": true
}, - "ratio": "Ratio1"
}
}, - "powertrain": {
- "createdAt": "2019-08-24T14:15:22Z",
- "status": "NotRunning"
}, - "adas": {
- "parkAssist": {
- "front": [
- "Fault"
], - "rear": [
- "Fault"
]
}, - "accr": "Activated",
- "lvv": true,
- "rvv": "Off",
- "aebs": "Off",
- "afil": "FlashingFault",
- "artiv": "NotSelected",
- "bsm": "Active",
- "esp": true,
- "abs": true,
- "fse": true,
- "sli": 0,
- "rlka": "Authorized",
- "llka": "Authorized",
- "rgi": "None"
}, - "doorsState": {
- "createdAt": "2019-08-24T14:15:22Z",
- "lockedStates": [
- "Unlocked"
], - "opening": [
- {
- "identifier": "Driver",
- "state": "Open"
}
]
}, - "privacy": {
- "createdAt": "2019-08-24T14:15:22Z",
- "state": "None"
}, - "battery": {
- "createdAt": "2019-08-24T14:15:22Z",
- "voltage": 0.1
}, - "service": {
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "Electric"
}, - "safety": {
- "createdAt": "2019-08-24T14:15:22Z",
- "beltStatus": [
- {
- "belt": "Omission",
- "id": "Passenger"
}
], - "autoECallTriggering": "NotDetected"
}, - "odometer": {
- "createdAt": "2019-08-24T14:15:22Z",
- "mileage": 0.1
}, - "kinetic": {
- "createdAt": "2019-08-24T14:15:22Z",
- "acceleration": 0.1,
- "speed": 0.1,
- "moving": true
}, - "environment": {
- "luminosity": {
- "createdAt": "2019-08-24T14:15:22Z",
- "day": true
}, - "air": {
- "createdAt": "2019-08-24T14:15:22Z",
- "temp": 0.1
}
}, - "drivingBehavior": {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "mode": "Normal"
}, - "wipingBlades": {
- "createdAt": "2019-08-24T14:15:22Z",
- "active": true,
- "speed": "Low"
}, - "lightingSystem": {
- "createdAt": "2019-08-24T14:15:22Z",
- "turn": [
- {
- "direction": "Left",
- "position": "Front",
- "status": "Off"
}
], - "fog": [
- {
- "direction": "Left",
- "position": "Front",
- "status": "Off"
}
]
}, - "alarm": {
- "trigger": {
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "NoBreakIn",
- "position": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "startAt": "2019-08-24T14:15:22Z"
}, - "status": {
- "createdAt": "2019-08-24T14:15:22Z",
- "activation": "Inactive"
}
}, - "stolen": {
- "createdAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "id": "0a9de72cc3803b12a74418acd20dcd66634fa82e44b2ec7060bca91462dc5772199559905caefe168812918d47f67253f33d477b645bb59afdd1268b81e382999",
- "state": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "startPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "endPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}
}, - "_embedded": {
- "extension": {
- "odometer": {
- "createdAt": "2019-08-24T14:15:22Z",
- "mileage": 0.1
}, - "kinetic": {
- "createdAt": "2019-08-24T14:15:22Z",
- "acceleration": 0.1,
- "speed": 0.1,
- "moving": true
}
}
}
}
]
}
}
Fleet Vehicles maintenances. Deprecated
Returns the latest vehicles maintenance list for a given fleet. HyperLink (HAL) resolutions of resources within the returned collection are associate to vehicle.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "maintenances": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "daysBeforeMaintenance": 0,
- "mileageBeforeMaintenance": 0.1,
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "alerts": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}
}
]
}
}
Fleet Vehicles alerts. Deprecated
Returns the vehicles alerts list for a given fleet. HyperLink (HAL) resolutions of resources within the returned collection are associate to vehicle.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
timestamps | Array of strings [ 1 .. 10 ] items [ items\w?/\w? ] Array of "timestamp" ranges. Results will contain results whose
timestamps are included in those date-time ranges (see timestamp
data model)."timestamp" items should be expressed as in
'RFC3339'. Each element of the array
expresses a time range (with the pattern
|
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "alerts": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "position": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trips": [
- {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
]
}, - "id": "0a9de72cc3803b12a74418acd20dcd66634fa82e44b2ec7060bca91462dc5772199559905caefe168812918d47f67253f33d477b645bb59afdd1268b81e382999",
- "vin": "VF3ABCDE0FG123456",
- "active": true,
- "type": "AbsBrakingSystemFault",
- "severity": "Information",
- "startedAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "startPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "endPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}
}
]
}
}
Fleet single alert. Deprecated
Returns information about a specific alert message for a given fleet.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
aid required | string id of the alert. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
Responses
Response Schema: application/hal+json
createdAt required | string <date-time> Date when the resource has been created. | ||||||||
updatedAt | string <date-time> Date when the resource has been updated. | ||||||||
required | object | ||||||||
id required | string | ||||||||
vin required | string (Vin) Identifier of a vehicle. Set when retrieving resource in batch mode. | ||||||||
active required | boolean | ||||||||
type required | string (AlertMsgEnum) Enum: "AbsBrakingSystemFault" "ActiveSpoilerFault" "AdBlueFault" "AdBlueFaultStartingImpossible" "AdBlueFaultStartingImpossibleSoon" "AddWasherFluid" "AirbagOrSeatBeltPretensionerOrActiveHoodFailure" "AssistanceButtonFault" "AutomaticBrakingDeactivated" "AutomaticHeadlightAdjustmentFault" "BatteryChargeOrElectricalCircuitSystemFailure" "BrakingSystemFailure" "ChargingFailure" "CheckTheCenterBrakeLamp" "CollisionDetectionSystemFault" "CollisionMitigationSystemFault" "CoolantLevellow" "DrivingAssistanceSensorBlind" "ElectricTractionSystemFailureLimitSpeed" "ElectricTractionSystemFailureStopVehicle" "ElectricTractionSystemFault" "ElectronicImmobiliserFault" "EmissionSystemOrAdBlueQualityFailueStartingImpossible" "EmissionSystemOrAdBlueQualityFailueStartingImpossibleSoon" "EmissionSystemOrAdBlueQualityFailure" "EngineFailure" "EngineFault" "EngineMisfiringFuel" "EngineOilPressureFailure" "EngineTemperatureFailure" "EspAsrSystemFault" "FrontLeftFlashingIndicatorFault" "FrontLeftFogLampsFault" "FrontLeftParkingLampsFault" "FrontRightFlashingIndicatorFault" "FrontRightFogLampsFault" "FrontRightParkingLampsFault" "FuelLevelLow" "GearboxFault" "HeadlightsFault" "InstalledSpareWheelFault" "InterVehicleTimeMeasurementFault" "LaneChangeAssistanceFault" "LaneDepartureWarningSystemFault" "LeftBrakeLampFault" "LeftFrontDoorOpen" "LeftFrontDoorOpenLowSpeed" "LeftFrontTirePressurSensorFault" "LeftFrontTirePuncture" "LeftFrontTireUnderInflated" "LeftRearDoorOpen" "LeftRearDoorOpenLowSpeed" "LeftRearTirePressurSensorFault" "LeftRearTirePuncture" "LeftRearTireUnderInflated" "LeftReverseLampFault" "OilLevelLow" "ParkAssistSystemFault" "ParkingBrakeOrHillStartSystemFailure" "ParticleFilterAdditiveLevelTooLow" "ParticleFilterFull" "ParticleFilterRegenerating" "PowerSteeringFailure" "PowerSteeringFault" "PreheatingPreventilationDeactivatedBatteryLow" "PreheatingPreventilationDeactivatedClockUnset" "PreheatingPreventilationDeactivatedFuelLevelLow" "RearLeftFlashingIndicatorFault" "RearLeftFogLampsFault" "RearLeftParkingLampsFault" "RearRightFlashingIndicatorFault" "RearRightFogLampsFault" "RearRightParkingLampsFault" "RearWindowOpen" "RearWindowOpenLowSpeed" "ReplaceBrakePads" "ReplaceTheRemoteControlBattery" "RetractableRoofMechanismFault" "RightBrakeLampFault" "RightFrontDoorOpenLowSpeed" "RightFrontDoorOpen" "RightFrontTirePressurSensorFault" "RightFrontTirePuncture" "RightFrontTireUnderInflated" "RightRearDoorOpen" "RightRearDoorOpenLowSpeed" "RightRearTirePressurSensorFault" "RightRearTirePuncture" "RightRearTireUnderInflated" "RightReverseLampFault" "RiskOfIce" "RoofOperationNotPossibleSpeedUnknown" "RoofOperationNotPossibleTooHighTemp" "ShiftToPark" "SteeringLockFault" "SuspensionFault" "SuspensionFaultLimitSpeed" "SuspensionFaultRepaireVehicle" "TireUnderInflationDetectionSystemFault" "TooManyRoofOperation" "TrailerConnectionFault" "TrunkOrHoodOpen" "TrunkOrHoodOpenLowSpeed" "WaterInTheDieselFuelFilter" MPH alert list | ||||||||
severity | string Enum: "Information" "Warning" "Critical" Alert severity level.
| ||||||||
startedAt required | string <date-time> | ||||||||
endAt | string <date-time> | ||||||||
object (Position) The position (last vehicle known one) where the alert appears. | |||||||||
object (Position) The position (last vehicle known one) where the alert disappears. |
Response samples
- 200
- default
{- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "position": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trips": [
- {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
]
}, - "id": "0a9de72cc3803b12a74418acd20dcd66634fa82e44b2ec7060bca91462dc5772199559905caefe168812918d47f67253f33d477b645bb59afdd1268b81e382999",
- "vin": "VF3ABCDE0FG123456",
- "active": true,
- "type": "AbsBrakingSystemFault",
- "severity": "Information",
- "startedAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "startPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "endPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}
}
Trips of all vehicles of the fleet. Deprecated
This method returns a list of all Trips. HyperLink (HAL) resolutions of resources within the returned collection are associate to vehicle.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
timestamps | Array of strings [ 1 .. 10 ] items [ items\w?/\w? ] Array of "timestamp" ranges. Results will contain results whose
timestamps are included in those date-time ranges (see timestamp
data model)."timestamp" items should be expressed as in
'RFC3339'. Each element of the array
expresses a time range (with the pattern
|
distance | string (Range) \d+-\d* Default: "0-" Trip distance validity interval. It allows to define the min or max duration of a trip. Example:
default: 0- |
duration | string (Range) \d+-\d* Default: "0-" Trip duration validity interval. It allows to define the min or max duration of a trip. Unit = sec Example:
default: 0- |
states | Array of strings (TripStateEnumArray) Items Enum: "Nominal" "Unstarted" "DataLacking" "Unfinished" Allow to filter for Trips with defined states. Those states can be compound of : Nominal,Unstarted, DataLacking, Unfinished. Default: All states are allowed. |
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
Responses
Response Schema: application/hal+json
required | object HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "trips": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "waypoints": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "alerts": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "collisions": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "id": "string",
- "vin": "VF3ABCDE0FG123456",
- "startedAt": "2019-08-24T14:15:22Z",
- "stoppedAt": "2019-08-24T14:15:22Z",
- "startPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "stopPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "duration": 0,
- "distance": 0.1,
- "startMileage": 0.1,
- "startEnergies": [
- {
- "type": "Fuel",
- "subType": "FossilEnergy",
- "level": 100,
- "autonomy": 0
}
], - "endEnergies": [
- {
- "type": "Fuel",
- "subType": "FossilEnergy",
- "level": 100,
- "autonomy": 0
}
], - "energyConsumptions": [
- {
- "consumption": 0.1,
- "avgConsumption": 0.1,
- "type": "Fuel",
- "subType": "FossilEnergy"
}
], - "kinetic": {
- "avgSpeed": 0.1,
- "maxSpeed": 0.1
}, - "segments": [
- {
- "propulsion": "Thermal",
- "percent": 0.1,
- "distance": 0.1
}
], - "done": true,
- "faults": [
- {
- "fault": "Unstarted",
- "cause": "GeoPrivacy"
}
]
}
]
}
}
Collisions of all vehicles' fleet. Deprecated
Returns the list of Collisions that occured on vehicles' fleet. HyperLink (HAL) resolutions of resources within the returned collection are associate to vehicle.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
timestamps | Array of strings [ 1 .. 10 ] items [ items\w?/\w? ] Array of "timestamp" ranges. Results will contain results whose
timestamps are included in those date-time ranges (see timestamp
data model)."timestamp" items should be expressed as in
'RFC3339'. Each element of the array
expresses a time range (with the pattern
|
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "Collisions": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "details": [
- {
- "side": "Lateral",
- "severity": "Minor"
}
], - "id": "055d8f0a0089d7b9226989ce2db42511e2e19df8cc106a7fb7d0c7fb92ab2320c0720e94be1ee517b3172da70dd05446a934cccca524172d9add54d8dbce51b14",
- "vin": "VF3ABCDE0FG123456",
- "tippedOver": true,
- "pedestrian": false,
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trip": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}
}
]
}
}
An identified collision that occurred on a fleet. Deprecated
Returns the Collision that matches the fleet id and the Collision cid.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
cid required | string Results will only contain the Collision related to this Collision ID. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
Responses
Response Schema: application/hal+json
createdAt required | string <date-time> Date when the resource has been created. |
Array of objects (CollisionDetails) | |
id required | string |
vin required | string (Vin) Identifier of a vehicle. Set when retrieving resource in batch mode. |
tippedOver | boolean Indicates if the car tipped over during the collision. Warning : This information is applicable only on vehicles equipped with dedicated sensor and is optionnal. |
pedestrian | boolean Indicates if the collision involve a pedestrian. Warning : This information is applicable only on vehicles equipped with dedicated sensor and is optionnal |
updatedAt | string <date-time> |
required | object |
Response samples
- 200
- default
{- "createdAt": "2019-08-24T14:15:22Z",
- "details": [
- {
- "side": "Lateral",
- "severity": "Minor"
}
], - "id": "055d8f0a0089d7b9226989ce2db42511e2e19df8cc106a7fb7d0c7fb92ab2320c0720e94be1ee517b3172da70dd05446a934cccca524172d9add54d8dbce51b14",
- "vin": "VF3ABCDE0FG123456",
- "tippedOver": true,
- "pedestrian": false,
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trip": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}
}
List of vehicles
Returns the Vehicles associated with the Fleet.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
query Parameters
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
locale | string Locale is used for rendering text according to language and country for. It should match the REGEX \w(-\w)?. For more details about possible standard values, please refer to locals list. |
extension | Array of strings (VehiclesExtensionType) [ 1 .. 2 ] items Items Enum: "branding" "pictures" Example: extension=pictures Additional data set that will be included in embedded field |
vinPrefix | string Allows filtering on VINs that start with the same prefix. |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "vehicles": [
- {
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "lastPosition": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trips": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "maintenance": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "alerts": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "status": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "telemetry": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "monitors": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "remotes": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "callbacks": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "collisions": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "id": "01234a91598cf0c57e856bb88003fd2a7f2c27f458faab8bbd34356235695902ffb6c4c5360d6714415ab92b07c8e33b5",
- "vin": "VF3ABCDE0FG123456",
- "motorization": "Thermic",
- "brand": "Peugeot",
- "pictures": [
], - "_embedded": {
- "extension": null
}
}
]
}
}
Details of a vehicle.
Returns detailed information about a Vehicle.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
query Parameters
locale | string Locale is used for rendering text according to language and country for. It should match the REGEX \w(-\w)?. For more details about possible standard values, please refer to locals list. |
extension | Array of strings (VehicleExtensionType) [ 1 .. 3 ] items Items Enum: "onboardCapabilities" "branding" "pictures" Example: extension=branding Additional data set that will be included in embedded field |
Responses
Response Schema: application/hal+json
updatedAt | string <date-time> Date when the resource has been updated. |
createdAt | string <date-time> Date when the resource has been created. |
required | object |
id | string |
vin | string Serial number of a vehicle |
motorization | string Enum: "Electric" "Hybrid" "Thermic" "Hydrogen" Motorization of the vehicle. |
brand | string Deprecated Brand of a vehicle |
pictures | Array of strings (Url) [ 1 .. 12 ] items Deprecated With the links it's possible to see the pictures of the vehicle |
object |
Response samples
- 200
- default
{- "updatedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "lastPosition": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trips": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "maintenance": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "alerts": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "status": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "telemetry": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "collisions": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "alarms": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "monitors": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "remotes": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "callbacks": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "id": "01234a91598cf0c57e856bb88003fd2a7f2c27f458faab8bbd34356235695902ffb6c4c5360d6714415ab92b07c8e33b5",
- "vin": "VF3ABCDE0FG123456",
- "motorization": "Thermic",
- "brand": "Peugeot",
- "pictures": [
], - "_embedded": {
- "extension": null
}
}
Last position identified Deprecated
Returns the latest GPS Position of the Vehicle.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
Responses
Response Schema: application/vnd.geo+json
type required | string Default: "Feature" Value: "Feature" |
required | object (Point) This object expresses a GeoJSON Point as specified by rfc7946. |
required | object |
Response samples
- 200
- default
{- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}
Collisions of a vehicle.
Returns the list of Collisions that occurred for a given vehicle (id) during the timestamp ranges and bounded by an index range.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
timestamps | Array of strings [ 1 .. 10 ] items [ items\w?/\w? ] Array of "timestamp" ranges. Results will contain results whose
timestamps are included in those date-time ranges (see timestamp
data model)."timestamp" items should be expressed as in
'RFC3339'. Each element of the array
expresses a time range (with the pattern
|
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "Collisions": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "details": [
- {
- "side": "Lateral",
- "severity": "Minor"
}
], - "id": "055d8f0a0089d7b9226989ce2db42511e2e19df8cc106a7fb7d0c7fb92ab2320c0720e94be1ee517b3172da70dd05446a934cccca524172d9add54d8dbce51b14",
- "vin": "VF3ABCDE0FG123456",
- "tippedOver": true,
- "pedestrian": false,
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trip": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}
}
]
}
}
An identified collision that occurred on a vehicle.
Returns the Collision that matches the vehicle id and the Collision cid.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
cid required | string Results will only contain the Collision related to this Collision ID. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
Responses
Response Schema: application/hal+json
createdAt required | string <date-time> Date when the resource has been created. |
Array of objects (CollisionDetails) | |
id required | string |
vin required | string (Vin) Identifier of a vehicle. Set when retrieving resource in batch mode. |
tippedOver | boolean Indicates if the car tipped over during the collision. Warning : This information is applicable only on vehicles equipped with dedicated sensor and is optionnal. |
pedestrian | boolean Indicates if the collision involve a pedestrian. Warning : This information is applicable only on vehicles equipped with dedicated sensor and is optionnal |
updatedAt | string <date-time> |
required | object |
Response samples
- 200
- default
{- "createdAt": "2019-08-24T14:15:22Z",
- "details": [
- {
- "side": "Lateral",
- "severity": "Minor"
}
], - "id": "055d8f0a0089d7b9226989ce2db42511e2e19df8cc106a7fb7d0c7fb92ab2320c0720e94be1ee517b3172da70dd05446a934cccca524172d9add54d8dbce51b14",
- "vin": "VF3ABCDE0FG123456",
- "tippedOver": true,
- "pedestrian": false,
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trip": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}
}
Maintenance details of a vehicle.
Returns the latest Maintenance information for a Vehicle.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
Responses
Response Schema: application/hal+json
createdAt required | string <date-time> Date when the resource has been created. |
updatedAt | string <date-time> Date when the resource has been updated. |
vin required | string (Vin) Identifier of a vehicle. Set when retrieving resource in batch mode. |
daysBeforeMaintenance | integer |
mileageBeforeMaintenance | number <float> |
required | object |
Response samples
- 200
- default
{- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "daysBeforeMaintenance": 0,
- "mileageBeforeMaintenance": 0.1,
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "alerts": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}
}
Vehicle status.
Returns the latest vehicle status.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
Responses
Response Schema: application/hal+json
createdAt required | string <date-time> Date when the resource has been created. |
updatedAt | string <date-time> Date when the resource has been updated. |
required | object |
vin required | string (Vin) Identifier of a vehicle. Set when retrieving resource in batch mode. |
object (Ignition) | |
object (Position) | |
object (Preconditioning) Preconditioning the vehicle for driver and passenger. | |
Array of objects (Energy) | |
Array of objects (Engine) | |
object (Transmission) | |
object (Powertrain) | |
object (Adas) | |
object (DoorsState) | |
object (Privacy) | |
object (Battery) Describe the car (with combustion engine) battery status. | |
object (ServiceType) Deprecated | |
object (Safety) | |
object (VehicleOdometer) | |
object (Kinetic) Everything related to the movement of the vehicle. Speed, acceleration.. | |
object (Environment) | |
object (DrivingBehavior) | |
object (WipingBladesState) | |
object (LightingSystem) Expresses the Directional, Fog and Position vehicle lights. | |
object (VehicleStatusAlarm) Describes the vehicle alarm status or trigger. Only one is present. | |
object (StolenObj) Vehicle Stolen active status (only returns when vehicle is reported stolen). | |
object |
Response samples
- 200
- default
{- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "vin": "VF3ABCDE0FG123456",
- "ignition": {
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "Start"
}, - "lastPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "preconditioning": {
- "airConditioning": {
- "createdAt": "2019-08-24T14:15:22Z",
- "status": "Enabled",
- "startingCause": "Immediate",
- "failureCause": "Defect",
- "programs": [
- {
- "recurrence": "None",
- "start": "PT14H30M",
- "occurence": {
- "day": [
- "Mon"
]
}, - "slot": 1,
- "enabled": true
}
]
}
}, - "energies": [
- {
- "type": "Fuel",
- "subType": "FossilEnergy",
- "level": 100,
- "autonomy": 0,
- "extension": {
- "fuel": {
- "consumptions": {
- "total": 0.1,
- "instant": 0.1
}
}, - "electric": {
- "battery": {
- "load": {
- "createdAt": "2019-08-24T14:15:22Z",
- "capacity": 0,
- "residual": 0
}, - "health": {
- "createdAt": "2019-08-24T14:15:22Z",
- "capacity": 100,
- "resistance": 100
}
}, - "charging": {
- "plugged": true,
- "status": "Disconnected",
- "remainingTime": "string",
- "chargingRate": 500,
- "chargingPowerLevel": "Level1",
- "chargingMode": "No",
- "nextDelayedTime": "string",
- "schedule": {
- "programs": [
- {
- "start": "PT14H30M",
- "occurence": {
- "day": [
- "Mon"
]
}, - "enabled": true,
- "slot": 0,
- "end": "PT14H30M",
- "chargeUntilFull": true
}
]
}, - "type": "Partial"
}
}
}, - "createdAt": "2019-08-24T14:15:22Z"
}
], - "engines": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "Thermic",
- "speed": 0.1,
- "gmpStatus": "NotRunning",
- "extension": {
- "thermic": {
- "coolant": {
- "level": 0,
- "temp": 0.1
}, - "oil": {
- "level": 0,
- "temp": 0.1
}, - "air": {
- "temp": 0.1
}
}
}
}
], - "transmission": {
- "gearbox": {
- "mode": {
- "automatic": true,
- "sport": true,
- "snow": true,
- "sequential": true,
- "semiManual": true
}, - "ratio": "Ratio1"
}
}, - "powertrain": {
- "createdAt": "2019-08-24T14:15:22Z",
- "status": "NotRunning"
}, - "adas": {
- "parkAssist": {
- "front": [
- "Fault"
], - "rear": [
- "Fault"
]
}, - "accr": "Activated",
- "lvv": true,
- "rvv": "Off",
- "aebs": "Off",
- "afil": "FlashingFault",
- "artiv": "NotSelected",
- "bsm": "Active",
- "esp": true,
- "abs": true,
- "fse": true,
- "sli": 0,
- "rlka": "Authorized",
- "llka": "Authorized",
- "rgi": "None"
}, - "doorsState": {
- "createdAt": "2019-08-24T14:15:22Z",
- "lockedStates": [
- "Unlocked"
], - "opening": [
- {
- "identifier": "Driver",
- "state": "Open"
}
]
}, - "privacy": {
- "createdAt": "2019-08-24T14:15:22Z",
- "state": "None"
}, - "battery": {
- "createdAt": "2019-08-24T14:15:22Z",
- "voltage": 0.1
}, - "service": {
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "Electric"
}, - "safety": {
- "createdAt": "2019-08-24T14:15:22Z",
- "beltStatus": [
- {
- "belt": "Omission",
- "id": "Passenger"
}
], - "autoECallTriggering": "NotDetected"
}, - "odometer": {
- "createdAt": "2019-08-24T14:15:22Z",
- "mileage": 0.1
}, - "kinetic": {
- "createdAt": "2019-08-24T14:15:22Z",
- "acceleration": 0.1,
- "speed": 0.1,
- "moving": true
}, - "environment": {
- "luminosity": {
- "createdAt": "2019-08-24T14:15:22Z",
- "day": true
}, - "air": {
- "createdAt": "2019-08-24T14:15:22Z",
- "temp": 0.1
}
}, - "drivingBehavior": {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "mode": "Normal"
}, - "wipingBlades": {
- "createdAt": "2019-08-24T14:15:22Z",
- "active": true,
- "speed": "Low"
}, - "lightingSystem": {
- "createdAt": "2019-08-24T14:15:22Z",
- "turn": [
- {
- "direction": "Left",
- "position": "Front",
- "status": "Off"
}
], - "fog": [
- {
- "direction": "Left",
- "position": "Front",
- "status": "Off"
}
]
}, - "alarm": {
- "trigger": {
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "NoBreakIn",
- "position": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "startAt": "2019-08-24T14:15:22Z"
}, - "status": {
- "createdAt": "2019-08-24T14:15:22Z",
- "activation": "Inactive"
}
}, - "stolen": {
- "createdAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "id": "0a9de72cc3803b12a74418acd20dcd66634fa82e44b2ec7060bca91462dc5772199559905caefe168812918d47f67253f33d477b645bb59afdd1268b81e382999",
- "state": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "startPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "endPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}
}, - "_embedded": {
- "extension": {
- "odometer": {
- "createdAt": "2019-08-24T14:15:22Z",
- "mileage": 0.1
}, - "kinetic": {
- "createdAt": "2019-08-24T14:15:22Z",
- "acceleration": 0.1,
- "speed": 0.1,
- "moving": true
}
}
}
}
Alerts related to a vehicle.
Returns the latest alert messages for a Vehicle.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
timestamps | Array of strings [ 1 .. 10 ] items [ items\w?/\w? ] Array of "timestamp" ranges. Results will contain results whose
timestamps are included in those date-time ranges (see timestamp
data model)."timestamp" items should be expressed as in
'RFC3339'. Each element of the array
expresses a time range (with the pattern
|
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "alerts": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "position": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trips": [
- {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
]
}, - "id": "0a9de72cc3803b12a74418acd20dcd66634fa82e44b2ec7060bca91462dc5772199559905caefe168812918d47f67253f33d477b645bb59afdd1268b81e382999",
- "vin": "VF3ABCDE0FG123456",
- "active": true,
- "type": "AbsBrakingSystemFault",
- "severity": "Information",
- "startedAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "startPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "endPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}
}
]
}
}
An alert related to a vehicle.
Returns information about a specific alert messages for a Vehicle.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
aid required | string id of the alert. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
Responses
Response Schema: application/hal+json
createdAt required | string <date-time> Date when the resource has been created. | ||||||||
updatedAt | string <date-time> Date when the resource has been updated. | ||||||||
required | object | ||||||||
id required | string | ||||||||
vin required | string (Vin) Identifier of a vehicle. Set when retrieving resource in batch mode. | ||||||||
active required | boolean | ||||||||
type required | string (AlertMsgEnum) Enum: "AbsBrakingSystemFault" "ActiveSpoilerFault" "AdBlueFault" "AdBlueFaultStartingImpossible" "AdBlueFaultStartingImpossibleSoon" "AddWasherFluid" "AirbagOrSeatBeltPretensionerOrActiveHoodFailure" "AssistanceButtonFault" "AutomaticBrakingDeactivated" "AutomaticHeadlightAdjustmentFault" "BatteryChargeOrElectricalCircuitSystemFailure" "BrakingSystemFailure" "ChargingFailure" "CheckTheCenterBrakeLamp" "CollisionDetectionSystemFault" "CollisionMitigationSystemFault" "CoolantLevellow" "DrivingAssistanceSensorBlind" "ElectricTractionSystemFailureLimitSpeed" "ElectricTractionSystemFailureStopVehicle" "ElectricTractionSystemFault" "ElectronicImmobiliserFault" "EmissionSystemOrAdBlueQualityFailueStartingImpossible" "EmissionSystemOrAdBlueQualityFailueStartingImpossibleSoon" "EmissionSystemOrAdBlueQualityFailure" "EngineFailure" "EngineFault" "EngineMisfiringFuel" "EngineOilPressureFailure" "EngineTemperatureFailure" "EspAsrSystemFault" "FrontLeftFlashingIndicatorFault" "FrontLeftFogLampsFault" "FrontLeftParkingLampsFault" "FrontRightFlashingIndicatorFault" "FrontRightFogLampsFault" "FrontRightParkingLampsFault" "FuelLevelLow" "GearboxFault" "HeadlightsFault" "InstalledSpareWheelFault" "InterVehicleTimeMeasurementFault" "LaneChangeAssistanceFault" "LaneDepartureWarningSystemFault" "LeftBrakeLampFault" "LeftFrontDoorOpen" "LeftFrontDoorOpenLowSpeed" "LeftFrontTirePressurSensorFault" "LeftFrontTirePuncture" "LeftFrontTireUnderInflated" "LeftRearDoorOpen" "LeftRearDoorOpenLowSpeed" "LeftRearTirePressurSensorFault" "LeftRearTirePuncture" "LeftRearTireUnderInflated" "LeftReverseLampFault" "OilLevelLow" "ParkAssistSystemFault" "ParkingBrakeOrHillStartSystemFailure" "ParticleFilterAdditiveLevelTooLow" "ParticleFilterFull" "ParticleFilterRegenerating" "PowerSteeringFailure" "PowerSteeringFault" "PreheatingPreventilationDeactivatedBatteryLow" "PreheatingPreventilationDeactivatedClockUnset" "PreheatingPreventilationDeactivatedFuelLevelLow" "RearLeftFlashingIndicatorFault" "RearLeftFogLampsFault" "RearLeftParkingLampsFault" "RearRightFlashingIndicatorFault" "RearRightFogLampsFault" "RearRightParkingLampsFault" "RearWindowOpen" "RearWindowOpenLowSpeed" "ReplaceBrakePads" "ReplaceTheRemoteControlBattery" "RetractableRoofMechanismFault" "RightBrakeLampFault" "RightFrontDoorOpenLowSpeed" "RightFrontDoorOpen" "RightFrontTirePressurSensorFault" "RightFrontTirePuncture" "RightFrontTireUnderInflated" "RightRearDoorOpen" "RightRearDoorOpenLowSpeed" "RightRearTirePressurSensorFault" "RightRearTirePuncture" "RightRearTireUnderInflated" "RightReverseLampFault" "RiskOfIce" "RoofOperationNotPossibleSpeedUnknown" "RoofOperationNotPossibleTooHighTemp" "ShiftToPark" "SteeringLockFault" "SuspensionFault" "SuspensionFaultLimitSpeed" "SuspensionFaultRepaireVehicle" "TireUnderInflationDetectionSystemFault" "TooManyRoofOperation" "TrailerConnectionFault" "TrunkOrHoodOpen" "TrunkOrHoodOpenLowSpeed" "WaterInTheDieselFuelFilter" MPH alert list | ||||||||
severity | string Enum: "Information" "Warning" "Critical" Alert severity level.
| ||||||||
startedAt required | string <date-time> | ||||||||
endAt | string <date-time> | ||||||||
object (Position) The position (last vehicle known one) where the alert appears. | |||||||||
object (Position) The position (last vehicle known one) where the alert disappears. |
Response samples
- 200
- default
{- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "position": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trips": [
- {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
]
}, - "id": "0a9de72cc3803b12a74418acd20dcd66634fa82e44b2ec7060bca91462dc5772199559905caefe168812918d47f67253f33d477b645bb59afdd1268b81e382999",
- "vin": "VF3ABCDE0FG123456",
- "active": true,
- "type": "AbsBrakingSystemFault",
- "severity": "Information",
- "startedAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "startPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "endPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}
}
Telemetry of vehicle
Returns the latest Telemetry messages that occurred during a selective timestamp-ranges and bounded by an index range.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
timestamps | Array of strings [ 1 .. 10 ] items [ items\w?/\w? ] Array of "timestamp" ranges. Results will contain results whose
timestamps are included in those date-time ranges (see timestamp
data model)."timestamp" items should be expressed as in
'RFC3339'. Each element of the array
expresses a time range (with the pattern
|
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 2000 ] Default: 60 The maximum number of results (for a collection results response) to return per page for high frequency data upload. When not set, at most 60 results will be returned. The range for this parameter is [1...2000] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
type | Array of strings (TelemetryEnum) [ 1 .. 17 ] items Items Enum: "environment" "privacy" "vehicle" "vehicle.adas" "vehicle.battery" "vehicle.doorsState" "vehicle.energies" "vehicle.engines" "vehicle.ignition" "vehicle.lighting" "vehicle.lightingSystem" "vehicle.safety" "vehicle.transmission" "vehicle.drivingBehavior" "vehicle.alarm.status" "vehicle.alarm.trigger" "vehicle.wipingBlades" Results will only contain Telemetry messages of this kind. You can add more than one message type. By default, if no type is selected then all telemetries will be taken
|
extension | Array of strings (TelemetryExtensionType) [ 1 .. 2 ] items Items Enum: "location" "maintenance" Additional data set that will be included in embedded field |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "telemetries": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trip": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "privacy": {
- "state": "None"
}, - "vehicle": {
- "engines": [
- {
- "type": "Thermic",
- "speed": 0.1,
- "gmpStatus": "NotRunning",
- "extension": {
- "thermic": {
- "coolant": {
- "level": null,
- "temp": null
}, - "oil": {
- "level": null,
- "temp": null
}, - "air": {
- "temp": null
}
}
}
}
], - "energies": [
- {
- "type": "Fuel",
- "subType": "FossilEnergy",
- "level": 100,
- "autonomy": 0,
- "extension": {
- "fuel": {
- "consumptions": {
- "total": null,
- "instant": null
}
}, - "electric": {
- "battery": {
- "load": null,
- "health": null
}, - "charging": {
- "plugged": null,
- "status": null,
- "remainingTime": null,
- "chargingRate": null,
- "chargingPowerLevel": null,
- "chargingMode": null,
- "nextDelayedTime": null,
- "schedule": { },
- "type": null
}
}
}
}
], - "transmission": {
- "gearbox": {
- "mode": {
- "automatic": true,
- "sport": true,
- "snow": true,
- "sequential": true,
- "semiManual": true
}, - "ratio": "Ratio1"
}
}, - "powertrain": {
- "status": "NotRunning"
}, - "adas": {
- "parkAssist": {
- "front": [
- "Fault"
], - "rear": [
- "Fault"
]
}, - "accr": "Activated",
- "lvv": true,
- "rvv": "Off",
- "aebs": "Off",
- "afil": "FlashingFault",
- "artiv": "NotSelected",
- "bsm": "Active",
- "esp": true,
- "abs": true,
- "fse": true,
- "sli": 0,
- "rlka": "Authorized",
- "llka": "Authorized",
- "rgi": "None"
}, - "lighting": {
- "turn": [
- "Left"
], - "light": [
- "Front"
], - "status": [
- "On"
]
}, - "lightingSystem": {
- "turn": [
- {
- "direction": "Left",
- "position": "Front",
- "status": "Off"
}
], - "fog": [
- {
- "direction": "Left",
- "position": "Front",
- "status": "Off"
}
]
}, - "ignition": {
- "type": "Start"
}, - "doorsState": {
- "lockedStates": [
- "Unlocked"
], - "opening": [
- {
- "identifier": "Driver",
- "state": "Open"
}
]
}, - "battery": {
- "voltage": 0.1
}, - "safety": {
- "beltStatus": [
- {
- "belt": "Omission",
- "id": "Passenger"
}
], - "autoECallTriggering": "NotDetected"
}, - "wipingBlades": {
- "createdAt": "2019-08-24T14:15:22Z",
- "active": true,
- "speed": "Low"
}, - "odometer": {
- "mileage": 0.1
}, - "alarm": {
- "status": {
- "activation": "Inactive"
}, - "trigger": {
- "type": "NoBreakIn",
- "position": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "startAt": "2019-08-24T14:15:22Z"
}
}, - "kinetic": {
- "acceleration": 0.1,
- "speed": 0.1,
- "moving": true
}, - "drivingBehavior": {
- "mode": "Normal"
}
}, - "environment": {
- "luminosity": {
- "day": true
}, - "air": {
- "temp": 0.1
}
}, - "_embedded": {
- "extension": null
}
}
]
}
}
Vehicle's Alarms
Returns a (filtered) list of alarm for a Vehicle. Note: Timestamp filtering concerns the creation date for status or trigger.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
query Parameters
type | Array of strings (AlarmTypeEnum) Items Enum: "vehicle.alarm.status" "vehicle.alarm.trigger" Results will only contain Alarm messages of this type. If no filtering type is selected then all alarms will be taken . |
timestamps | Array of strings [ 1 .. 10 ] items [ items\w?/\w? ] Array of "timestamp" ranges. Results will contain results whose
timestamps are included in those date-time ranges (see timestamp
data model)."timestamp" items should be expressed as in
'RFC3339'. Each element of the array
expresses a time range (with the pattern
|
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "alarms": [
- {
- "trigger": {
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "NoBreakIn",
- "position": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "startAt": "2019-08-24T14:15:22Z"
}, - "status": {
- "createdAt": "2019-08-24T14:15:22Z",
- "activation": "Inactive"
}
}
]
}
}
Vehicle's Alarm
Returns information about a specific alarm for a vehicle.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
aid required | string id of the alarm. |
Responses
Response Schema: application/hal+json
id required | string |
object (AlarmTrigger) Describe a vehicle alarm trigger. | |
object (AlarmStatus) Describe a vehicle alarm status. |
Response samples
- 200
- default
{- "trigger": {
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "NoBreakIn",
- "position": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "startAt": "2019-08-24T14:15:22Z"
}, - "status": {
- "createdAt": "2019-08-24T14:15:22Z",
- "activation": "Inactive"
}
}
Vehicle's stolen history.
Returns list of stolen state for a vehicle.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
query Parameters
timestamps | Array of strings [ 1 .. 10 ] items [ items\w?/\w? ] Array of "timestamp" ranges. Results will contain results whose
timestamps are included in those date-time ranges (see timestamp
data model)."timestamp" items should be expressed as in
'RFC3339'. Each element of the array
expresses a time range (with the pattern
|
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "stolen": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "id": "0a9de72cc3803b12a74418acd20dcd66634fa82e44b2ec7060bca91462dc5772199559905caefe168812918d47f67253f33d477b645bb59afdd1268b81e382999",
- "state": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "startPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "endPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}
}
]
}
}
Vehicle's stolen state.
Returns information about a specific stolen context for a vehicle.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
sid required | string id of the stolen state. |
Responses
Response Schema: application/hal+json
createdAt required | string <date-time> Date when the resource has been created. |
updatedAt | string <date-time> Date when the resource has been updated. |
required | object |
id required | string |
state required | boolean Stolen state of the vehicle (True means the vhicle is reported stolen). |
startedAt required | string <date-time> Stolen vehicle start time. |
endAt | string <date-time> Stolen vehicle stop time. |
object (Position) The position (last vehicle known one) where the vehicle is reported stolen. | |
object (Position) The position (last vehicle known one) where the stolen state is not active anymore. |
Response samples
- 200
- default
{- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "id": "0a9de72cc3803b12a74418acd20dcd66634fa82e44b2ec7060bca91462dc5772199559905caefe168812918d47f67253f33d477b645bb59afdd1268b81e382999",
- "state": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "startPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "endPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}
}
Vehicle's stolen position.
Returns position information about a specific stolen context for a vehicle.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
sid required | string id of the stolen state. |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "positions": [
- {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}
]
}
}
Vehicle's trip list.
This method returns a list of all Trips that a given Vehicle has taken. This will NOT include Trips that have not yet been completed.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
timestamps | Array of strings [ 1 .. 10 ] items [ items\w?/\w? ] Array of "timestamp" ranges. Results will contain results whose
timestamps are included in those date-time ranges (see timestamp
data model)."timestamp" items should be expressed as in
'RFC3339'. Each element of the array
expresses a time range (with the pattern
|
distance | string (Range) \d+-\d* Default: "0-" Trip distance validity interval. It allows to define the min or max duration of a trip. Example:
default: 0- |
duration | string (Range) \d+-\d* Default: "0-" Trip duration validity interval. It allows to define the min or max duration of a trip. Unit = sec Example:
default: 0- |
states | Array of strings (TripStateEnumArray) Items Enum: "Nominal" "Unstarted" "DataLacking" "Unfinished" Allow to filter for Trips with defined states. Those states can be compound of : Nominal,Unstarted, DataLacking, Unfinished. Default: All states are allowed. |
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
Responses
Response Schema: application/hal+json
required | object HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "trips": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "waypoints": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "alerts": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "collisions": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "id": "string",
- "vin": "VF3ABCDE0FG123456",
- "startedAt": "2019-08-24T14:15:22Z",
- "stoppedAt": "2019-08-24T14:15:22Z",
- "startPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "stopPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "duration": 0,
- "distance": 0.1,
- "startMileage": 0.1,
- "startEnergies": [
- {
- "type": "Fuel",
- "subType": "FossilEnergy",
- "level": 100,
- "autonomy": 0
}
], - "endEnergies": [
- {
- "type": "Fuel",
- "subType": "FossilEnergy",
- "level": 100,
- "autonomy": 0
}
], - "energyConsumptions": [
- {
- "consumption": 0.1,
- "avgConsumption": 0.1,
- "type": "Fuel",
- "subType": "FossilEnergy"
}
], - "kinetic": {
- "avgSpeed": 0.1,
- "maxSpeed": 0.1
}, - "segments": [
- {
- "propulsion": "Thermal",
- "percent": 0.1,
- "distance": 0.1
}
], - "done": true,
- "faults": [
- {
- "fault": "Unstarted",
- "cause": "GeoPrivacy"
}
]
}
]
}
}
Vehicle's trip information.
This method returns the Trip that matches the Trip id (tid) a given Vehicle (id) has taken.
Authorizations:
path Parameters
vid required | string Resource is related to this Vehicle ID only. |
tid required | string The ID {tid} of Trip |
fid required | string Resource is related to this fleet ID only. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
Responses
Response Schema: application/hal+json
createdAt required | string <date-time> Date when the resource has been created. |
updatedAt | string <date-time> Date when the resource has been updated. |
required | object |
id required | string Identifier of a trip |
vin required | string (Vin) Identifier of a vehicle. Set when retrieving resource in batch mode. |
startedAt | string <date-time> Date & Time when the trip started |
stoppedAt | string <date-time> Date & Time when the trip stopped |
object (Position) | |
object (Position) | |
duration | integer Duration in second of the trip |
distance | number <float> Distance in km of the trip |
startMileage | number <float> Vehicle mileage at the trip starting time. |
Array of objects (LiteEnergy) Vehicle energies levels and autonomies at the trip start time. | |
Array of objects (LiteEnergy) Vehicle energies levels and autonomies at the trip end time. | |
Array of objects (EnergyConsumption) The consumptions of different energies during this trip. | |
object Expresses the max and average vehicle speed during this trip. | |
Array of objects (TripSegment) The parts of the trip crossed for each type of propulsion. | |
done | boolean Determines either this trip is finished or not. |
Array of objects Faults of this finished or in progress trip. This means that we lacked data from the vehicle to complete the trip description during one of its step (starting, progressing, or finishing). |
Response samples
- 200
- default
{- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "waypoints": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "alerts": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "collisions": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "id": "string",
- "vin": "VF3ABCDE0FG123456",
- "startedAt": "2019-08-24T14:15:22Z",
- "stoppedAt": "2019-08-24T14:15:22Z",
- "startPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "stopPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "duration": 0,
- "distance": 0.1,
- "startMileage": 0.1,
- "startEnergies": [
- {
- "type": "Fuel",
- "subType": "FossilEnergy",
- "level": 100,
- "autonomy": 0
}
], - "endEnergies": [
- {
- "type": "Fuel",
- "subType": "FossilEnergy",
- "level": 100,
- "autonomy": 0
}
], - "energyConsumptions": [
- {
- "consumption": 0.1,
- "avgConsumption": 0.1,
- "type": "Fuel",
- "subType": "FossilEnergy"
}
], - "kinetic": {
- "avgSpeed": 0.1,
- "maxSpeed": 0.1
}, - "segments": [
- {
- "propulsion": "Thermal",
- "percent": 0.1,
- "distance": 0.1
}
], - "done": true,
- "faults": [
- {
- "fault": "Unstarted",
- "cause": "GeoPrivacy"
}
]
}
Vehicle's trip collision list.
Returns the list of Collisions of a vehicle that occurred during a trip and bounded (optional) by a timestamp ranges and an index range.
Authorizations:
path Parameters
vid required | string Resource is related to this Vehicle ID only. |
fid required | string Resource is related to this fleet ID only. |
tid required | string The ID {tid} of Trip |
query Parameters
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
timestamps | Array of strings [ 1 .. 10 ] items [ items\w?/\w? ] Array of "timestamp" ranges. Results will contain results whose
timestamps are included in those date-time ranges (see timestamp
data model)."timestamp" items should be expressed as in
'RFC3339'. Each element of the array
expresses a time range (with the pattern
|
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "Collisions": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "details": [
- {
- "side": "Lateral",
- "severity": "Minor"
}
], - "id": "055d8f0a0089d7b9226989ce2db42511e2e19df8cc106a7fb7d0c7fb92ab2320c0720e94be1ee517b3172da70dd05446a934cccca524172d9add54d8dbce51b14",
- "vin": "VF3ABCDE0FG123456",
- "tippedOver": true,
- "pedestrian": false,
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trip": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}
}
]
}
}
Vehicle's trip alert list.
Returns the alert message list for a given vehicle.
Authorizations:
path Parameters
vid required | string Resource is related to this Vehicle ID only. |
tid required | string The ID {tid} of Trip |
fid required | string Resource is related to this fleet ID only. |
query Parameters
timestamps | Array of strings [ 1 .. 10 ] items [ items\w?/\w? ] Array of "timestamp" ranges. Results will contain results whose
timestamps are included in those date-time ranges (see timestamp
data model)."timestamp" items should be expressed as in
'RFC3339'. Each element of the array
expresses a time range (with the pattern
|
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "alerts": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "position": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trips": [
- {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
]
}, - "id": "0a9de72cc3803b12a74418acd20dcd66634fa82e44b2ec7060bca91462dc5772199559905caefe168812918d47f67253f33d477b645bb59afdd1268b81e382999",
- "vin": "VF3ABCDE0FG123456",
- "active": true,
- "type": "AbsBrakingSystemFault",
- "severity": "Information",
- "startedAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "startPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "endPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}
}
]
}
}
Vehicle's trip specific alert.
Returns the alert message list for a given vehicle that occure during a trip.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
tid required | string The ID {tid} of Trip |
aid required | string id of the alert. |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
Responses
Response Schema: application/hal+json
createdAt required | string <date-time> Date when the resource has been created. | ||||||||
updatedAt | string <date-time> Date when the resource has been updated. | ||||||||
required | object | ||||||||
id required | string | ||||||||
vin required | string (Vin) Identifier of a vehicle. Set when retrieving resource in batch mode. | ||||||||
active required | boolean | ||||||||
type required | string (AlertMsgEnum) Enum: "AbsBrakingSystemFault" "ActiveSpoilerFault" "AdBlueFault" "AdBlueFaultStartingImpossible" "AdBlueFaultStartingImpossibleSoon" "AddWasherFluid" "AirbagOrSeatBeltPretensionerOrActiveHoodFailure" "AssistanceButtonFault" "AutomaticBrakingDeactivated" "AutomaticHeadlightAdjustmentFault" "BatteryChargeOrElectricalCircuitSystemFailure" "BrakingSystemFailure" "ChargingFailure" "CheckTheCenterBrakeLamp" "CollisionDetectionSystemFault" "CollisionMitigationSystemFault" "CoolantLevellow" "DrivingAssistanceSensorBlind" "ElectricTractionSystemFailureLimitSpeed" "ElectricTractionSystemFailureStopVehicle" "ElectricTractionSystemFault" "ElectronicImmobiliserFault" "EmissionSystemOrAdBlueQualityFailueStartingImpossible" "EmissionSystemOrAdBlueQualityFailueStartingImpossibleSoon" "EmissionSystemOrAdBlueQualityFailure" "EngineFailure" "EngineFault" "EngineMisfiringFuel" "EngineOilPressureFailure" "EngineTemperatureFailure" "EspAsrSystemFault" "FrontLeftFlashingIndicatorFault" "FrontLeftFogLampsFault" "FrontLeftParkingLampsFault" "FrontRightFlashingIndicatorFault" "FrontRightFogLampsFault" "FrontRightParkingLampsFault" "FuelLevelLow" "GearboxFault" "HeadlightsFault" "InstalledSpareWheelFault" "InterVehicleTimeMeasurementFault" "LaneChangeAssistanceFault" "LaneDepartureWarningSystemFault" "LeftBrakeLampFault" "LeftFrontDoorOpen" "LeftFrontDoorOpenLowSpeed" "LeftFrontTirePressurSensorFault" "LeftFrontTirePuncture" "LeftFrontTireUnderInflated" "LeftRearDoorOpen" "LeftRearDoorOpenLowSpeed" "LeftRearTirePressurSensorFault" "LeftRearTirePuncture" "LeftRearTireUnderInflated" "LeftReverseLampFault" "OilLevelLow" "ParkAssistSystemFault" "ParkingBrakeOrHillStartSystemFailure" "ParticleFilterAdditiveLevelTooLow" "ParticleFilterFull" "ParticleFilterRegenerating" "PowerSteeringFailure" "PowerSteeringFault" "PreheatingPreventilationDeactivatedBatteryLow" "PreheatingPreventilationDeactivatedClockUnset" "PreheatingPreventilationDeactivatedFuelLevelLow" "RearLeftFlashingIndicatorFault" "RearLeftFogLampsFault" "RearLeftParkingLampsFault" "RearRightFlashingIndicatorFault" "RearRightFogLampsFault" "RearRightParkingLampsFault" "RearWindowOpen" "RearWindowOpenLowSpeed" "ReplaceBrakePads" "ReplaceTheRemoteControlBattery" "RetractableRoofMechanismFault" "RightBrakeLampFault" "RightFrontDoorOpenLowSpeed" "RightFrontDoorOpen" "RightFrontTirePressurSensorFault" "RightFrontTirePuncture" "RightFrontTireUnderInflated" "RightRearDoorOpen" "RightRearDoorOpenLowSpeed" "RightRearTirePressurSensorFault" "RightRearTirePuncture" "RightRearTireUnderInflated" "RightReverseLampFault" "RiskOfIce" "RoofOperationNotPossibleSpeedUnknown" "RoofOperationNotPossibleTooHighTemp" "ShiftToPark" "SteeringLockFault" "SuspensionFault" "SuspensionFaultLimitSpeed" "SuspensionFaultRepaireVehicle" "TireUnderInflationDetectionSystemFault" "TooManyRoofOperation" "TrailerConnectionFault" "TrunkOrHoodOpen" "TrunkOrHoodOpenLowSpeed" "WaterInTheDieselFuelFilter" MPH alert list | ||||||||
severity | string Enum: "Information" "Warning" "Critical" Alert severity level.
| ||||||||
startedAt required | string <date-time> | ||||||||
endAt | string <date-time> | ||||||||
object (Position) The position (last vehicle known one) where the alert appears. | |||||||||
object (Position) The position (last vehicle known one) where the alert disappears. |
Response samples
- 200
- default
{- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "position": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trips": [
- {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
]
}, - "id": "0a9de72cc3803b12a74418acd20dcd66634fa82e44b2ec7060bca91462dc5772199559905caefe168812918d47f67253f33d477b645bb59afdd1268b81e382999",
- "vin": "VF3ABCDE0FG123456",
- "active": true,
- "type": "AbsBrakingSystemFault",
- "severity": "Information",
- "startedAt": "2019-08-24T14:15:22Z",
- "endAt": "2019-08-24T14:15:22Z",
- "startPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "endPosition": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}
}
Vehicle's trip waypoints.
Gives the Vehicle's wayPoints for a specified Trip.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
tid required | string The ID {tid} of Trip |
query Parameters
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
timestamps | Array of strings [ 1 .. 10 ] items [ items\w?/\w? ] Array of "timestamp" ranges. Results will contain results whose
timestamps are included in those date-time ranges (see timestamp
data model)."timestamp" items should be expressed as in
'RFC3339'. Each element of the array
expresses a time range (with the pattern
|
tolerance | number <float> Tolerance factor is expressed in length km unit and is used to simplify path by reducing the total number of points by is using Douglas-Peucker algorithm to find a similar curve with fewer points (find more info here: Ramer_Douglas_Peucker_algorithm ). |
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
pageSize | integer [ 1 .. 2000 ] Default: 60 The maximum number of results (for a collection results response) to return per page for high frequency data upload. When not set, at most 60 results will be returned. The range for this parameter is [1...2000] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "positions": [
- {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}
]
}
}
Vehicle's trip telemetry.
Returns the set of Telemetry values that occurred for a given vehicle (id) and a speific Trip (tid) during the timestamp ranges and bounded by an index range.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
tid required | string The ID {tid} of Trip |
query Parameters
profile | string (DataProfile) Enum: "fleet" "endUser" Results will contain a relative view of the data depending on the selected profile. Indeed,
|
timestamps | Array of strings [ 1 .. 10 ] items [ items\w?/\w? ] Array of "timestamp" ranges. Results will contain results whose
timestamps are included in those date-time ranges (see timestamp
data model)."timestamp" items should be expressed as in
'RFC3339'. Each element of the array
expresses a time range (with the pattern
|
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 2000 ] Default: 60 The maximum number of results (for a collection results response) to return per page for high frequency data upload. When not set, at most 60 results will be returned. The range for this parameter is [1...2000] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
type | Array of strings (TelemetryEnum) [ 1 .. 17 ] items Items Enum: "environment" "privacy" "vehicle" "vehicle.adas" "vehicle.battery" "vehicle.doorsState" "vehicle.energies" "vehicle.engines" "vehicle.ignition" "vehicle.lighting" "vehicle.lightingSystem" "vehicle.safety" "vehicle.transmission" "vehicle.drivingBehavior" "vehicle.alarm.status" "vehicle.alarm.trigger" "vehicle.wipingBlades" Results will only contain Telemetry messages of this kind. You can add more than one message type. By default, if no type is selected then all telemetries will be taken
|
extension | Array of strings (TelemetryExtensionType) [ 1 .. 2 ] items Items Enum: "location" "maintenance" Additional data set that will be included in embedded field |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "telemetries": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "vehicle": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "trip": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "privacy": {
- "state": "None"
}, - "vehicle": {
- "engines": [
- {
- "type": "Thermic",
- "speed": 0.1,
- "gmpStatus": "NotRunning",
- "extension": {
- "thermic": {
- "coolant": {
- "level": null,
- "temp": null
}, - "oil": {
- "level": null,
- "temp": null
}, - "air": {
- "temp": null
}
}
}
}
], - "energies": [
- {
- "type": "Fuel",
- "subType": "FossilEnergy",
- "level": 100,
- "autonomy": 0,
- "extension": {
- "fuel": {
- "consumptions": {
- "total": null,
- "instant": null
}
}, - "electric": {
- "battery": {
- "load": null,
- "health": null
}, - "charging": {
- "plugged": null,
- "status": null,
- "remainingTime": null,
- "chargingRate": null,
- "chargingPowerLevel": null,
- "chargingMode": null,
- "nextDelayedTime": null,
- "schedule": { },
- "type": null
}
}
}
}
], - "transmission": {
- "gearbox": {
- "mode": {
- "automatic": true,
- "sport": true,
- "snow": true,
- "sequential": true,
- "semiManual": true
}, - "ratio": "Ratio1"
}
}, - "powertrain": {
- "status": "NotRunning"
}, - "adas": {
- "parkAssist": {
- "front": [
- "Fault"
], - "rear": [
- "Fault"
]
}, - "accr": "Activated",
- "lvv": true,
- "rvv": "Off",
- "aebs": "Off",
- "afil": "FlashingFault",
- "artiv": "NotSelected",
- "bsm": "Active",
- "esp": true,
- "abs": true,
- "fse": true,
- "sli": 0,
- "rlka": "Authorized",
- "llka": "Authorized",
- "rgi": "None"
}, - "lighting": {
- "turn": [
- "Left"
], - "light": [
- "Front"
], - "status": [
- "On"
]
}, - "lightingSystem": {
- "turn": [
- {
- "direction": "Left",
- "position": "Front",
- "status": "Off"
}
], - "fog": [
- {
- "direction": "Left",
- "position": "Front",
- "status": "Off"
}
]
}, - "ignition": {
- "type": "Start"
}, - "doorsState": {
- "lockedStates": [
- "Unlocked"
], - "opening": [
- {
- "identifier": "Driver",
- "state": "Open"
}
]
}, - "battery": {
- "voltage": 0.1
}, - "safety": {
- "beltStatus": [
- {
- "belt": "Omission",
- "id": "Passenger"
}
], - "autoECallTriggering": "NotDetected"
}, - "wipingBlades": {
- "createdAt": "2019-08-24T14:15:22Z",
- "active": true,
- "speed": "Low"
}, - "odometer": {
- "mileage": 0.1
}, - "alarm": {
- "status": {
- "activation": "Inactive"
}, - "trigger": {
- "type": "NoBreakIn",
- "position": {
- "type": "Feature",
- "geometry": {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}, - "properties": {
- "createdAt": "2019-08-24T14:15:22Z",
- "vin": "VF3ABCDE0FG123456",
- "heading": 360,
- "signalQuality": 0,
- "type": "Estimated",
- "fixStatus": "2D"
}
}, - "startAt": "2019-08-24T14:15:22Z"
}
}, - "kinetic": {
- "acceleration": 0.1,
- "speed": 0.1,
- "moving": true
}, - "drivingBehavior": {
- "mode": "Normal"
}
}, - "environment": {
- "luminosity": {
- "day": true
}, - "air": {
- "temp": 0.1
}
}, - "_embedded": {
- "extension": null
}
}
]
}
}
Get all monitors of the fleet.
Returns the list of subscribed Monitors of the fleet.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
query Parameters
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "monitors": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "monitorId": "string",
- "monitor": {
- "label": "string",
- "subscribeParam": {
- "retryPolicy": {
- "policy": "None",
- "retryNumber": 10,
- "retryDelay": 60
}, - "batchNotify": {
- "size": 0,
- "timeWindow": 60
}, - "callback": {
- "webhook": {
- "name": "My_Webhook",
- "attributes": [
- {
- "type": "Header",
- "key": "X-Vehicle_Id",
- "value": "$vin"
}
]
}
}, - "refreshEvent": 120
}, - "extendedEventParam": [
- "vehicle.doorsState"
], - "triggerParam": {
- "triggers": [
- {
- "name": "\"a\"",
- "zone": {
- "transition": "Out",
- "place": {
- "radius": 20,
- "center": {
- "longitude": 2.333333,
- "latitude": 48.866667
}
}
}, - "time": {
- "times": [
- null
], - "timeZone": "Europe/Paris"
}, - "data": {
- "data": "vehicle.energy.electric.level",
- "op": "greaterThan",
- "value": [
- "75"
]
}
}
], - "boolExp": "((z1 & t1) | (z2 & !t1) | (f & z1) | (a & (z1|t)) | (o & (z1 | z2)))"
}
}, - "status": "Running"
}
]
}
}
Create a new Monitor.
Create a Monitor for all Vehicles of the fleet. This is a kind of vehicle monitor that generates an event following the transition state of one of the (monitored) data of the vehicles. As for example the fuel level, the moving out of a defined geographical area.
When the trigger occurs, the built event expressed as a JSON object will be sent over the subscribed callback.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
Request Body schema: application/json
label required | string Monitor label (usually its name). | ||||||||||||||||||||||||||||||
required | object (MonitorCallbackSubscribe) Callback subscription parameters. | ||||||||||||||||||||||||||||||
extendedEventParam | Array of any Items Enum: "vehicle.doorsState" "vehicle.status" "vehicle.maintenance" "vehicle.position" "vehicle.telemetry" "vehicle.alerts" "vehicle.collisions" "vehicle.trip" "vehicle.stolen" Allow to set extra vehicle data (defined in data model) to add to the monitor event when publishing. The possible values are :
| ||||||||||||||||||||||||||||||
required | object Monitor trigger-param that allows to compound triggers by applying a boolean expression to evaluate them. |
Responses
Response Schema: application/hal+json
createdAt required | string <date-time> Date when the resource has been created. |
updatedAt required | string <date-time> |
object | |
monitorId required | string (MonitorId) Uniq monitor ID returned when the monitor was created succefully. |
status required | string (MonitorStatus) Enum: "Running" "Paused" "Failed" |
Request samples
- Payload
{- "label": "string",
- "subscribeParam": {
- "retryPolicy": {
- "policy": "None",
- "retryNumber": 10,
- "retryDelay": 60
}, - "batchNotify": {
- "size": 0,
- "timeWindow": 60
}, - "callback": {
- "webhook": {
- "name": "My_Webhook",
- "attributes": [
- {
- "type": "Header",
- "key": "X-Vehicle_Id",
- "value": "$vin"
}
]
}
}, - "refreshEvent": 120
}, - "extendedEventParam": [
- "vehicle.doorsState"
], - "triggerParam": {
- "triggers": [
- {
- "name": "\"a\"",
- "zone": {
- "transition": "Out",
- "place": {
- "radius": 20,
- "center": {
- "longitude": 2.333333,
- "latitude": 48.866667
}
}
}, - "time": {
- "times": [
- {
- "recurrence": "Daily",
- "start": "PT8H30M",
- "occurence": [
- "Mon",
- "Tue",
- "Thu",
- "Fri"
], - "duration": "PT7H30M"
}
], - "timeZone": "Europe/Paris"
}, - "data": {
- "data": "vehicle.energy.electric.level",
- "op": "greaterThan",
- "value": [
- "75"
]
}
}
], - "boolExp": "((z1 & t1) | (z2 & !t1) | (f & z1) | (a & (z1|t)) | (o & (z1 | z2)))"
}
}
Response samples
- 202
- default
{- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "monitor": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "monitorId": "string",
- "status": "Running"
}
Update an existing Monitor.
Update an existing Monitor
that has been posted (and accepted previously) for this fleet. The monitor object (body) provided should be complete because the aggregation is not supported for the update of the monitor
. You can first retrieve this object using the GET /monitor/{mid}
API, then modify it and finally publish it (via this PUT API
).
Authorizations:
path Parameters
mid required | string id of the monitor. |
fid required | string Resource is related to this fleet ID only. |
Request Body schema: application/json
label required | string Monitor label (usually its name). | ||||||||||||||||||||||||||||||
required | object (MonitorCallbackSubscribe) Callback subscription parameters. | ||||||||||||||||||||||||||||||
extendedEventParam | Array of any Items Enum: "vehicle.doorsState" "vehicle.status" "vehicle.maintenance" "vehicle.position" "vehicle.telemetry" "vehicle.alerts" "vehicle.collisions" "vehicle.trip" "vehicle.stolen" Allow to set extra vehicle data (defined in data model) to add to the monitor event when publishing. The possible values are :
| ||||||||||||||||||||||||||||||
required | object Monitor trigger-param that allows to compound triggers by applying a boolean expression to evaluate them. |
Responses
Response Schema: application/hal+json
createdAt required | string <date-time> Date when the resource has been created. |
updatedAt required | string <date-time> |
object | |
monitorId required | string (MonitorId) Uniq monitor ID returned when the monitor was created succefully. |
status required | string (MonitorStatus) Enum: "Running" "Paused" "Failed" |
Request samples
- Payload
{- "label": "string",
- "subscribeParam": {
- "retryPolicy": {
- "policy": "None",
- "retryNumber": 10,
- "retryDelay": 60
}, - "batchNotify": {
- "size": 0,
- "timeWindow": 60
}, - "callback": {
- "webhook": {
- "name": "My_Webhook",
- "attributes": [
- {
- "type": "Header",
- "key": "X-Vehicle_Id",
- "value": "$vin"
}
]
}
}, - "refreshEvent": 120
}, - "extendedEventParam": [
- "vehicle.doorsState"
], - "triggerParam": {
- "triggers": [
- {
- "name": "\"a\"",
- "zone": {
- "transition": "Out",
- "place": {
- "radius": 20,
- "center": {
- "longitude": 2.333333,
- "latitude": 48.866667
}
}
}, - "time": {
- "times": [
- {
- "recurrence": "Daily",
- "start": "PT8H30M",
- "occurence": [
- "Mon",
- "Tue",
- "Thu",
- "Fri"
], - "duration": "PT7H30M"
}
], - "timeZone": "Europe/Paris"
}, - "data": {
- "data": "vehicle.energy.electric.level",
- "op": "greaterThan",
- "value": [
- "75"
]
}
}
], - "boolExp": "((z1 & t1) | (z2 & !t1) | (f & z1) | (a & (z1|t)) | (o & (z1 | z2)))"
}
}
Response samples
- 202
- default
{- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "monitor": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "monitorId": "string",
- "status": "Running"
}
Get the monitor by monitor Id.
Returns information about a specific Monitor for a given fleet.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
mid required | string id of the monitor. |
Responses
Response Schema: application/hal+json
createdAt required | string <date-time> Date when the resource has been created. |
updatedAt required | string <date-time> |
required | object |
monitorId required | string (MonitorId) Uniq monitor ID returned when the monitor was created succefully. |
required | object (MonitorParameter) MonitorParameter |
status required | string (MonitorStatus) Enum: "Running" "Paused" "Failed" |
Response samples
- 200
- default
{- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "monitorId": "string",
- "monitor": {
- "label": "string",
- "subscribeParam": {
- "retryPolicy": {
- "policy": "None",
- "retryNumber": 10,
- "retryDelay": 60
}, - "batchNotify": {
- "size": 0,
- "timeWindow": 60
}, - "callback": {
- "webhook": {
- "name": "My_Webhook",
- "attributes": [
- {
- "type": "Header",
- "key": "X-Vehicle_Id",
- "value": "$vin"
}
]
}
}, - "refreshEvent": 120
}, - "extendedEventParam": [
- "vehicle.doorsState"
], - "triggerParam": {
- "triggers": [
- {
- "name": "\"a\"",
- "zone": {
- "transition": "Out",
- "place": {
- "radius": 20,
- "center": {
- "longitude": 2.333333,
- "latitude": 48.866667
}
}
}, - "time": {
- "times": [
- {
- "recurrence": "Daily",
- "start": "PT8H30M",
- "occurence": [
- "Mon",
- "Tue",
- "Thu",
- "Fri"
], - "duration": "PT7H30M"
}
], - "timeZone": "Europe/Paris"
}, - "data": {
- "data": "vehicle.energy.electric.level",
- "op": "greaterThan",
- "value": [
- "75"
]
}
}
], - "boolExp": "((z1 & t1) | (z2 & !t1) | (f & z1) | (a & (z1|t)) | (o & (z1 | z2)))"
}
}, - "status": "Running"
}
Set a new monitor status.
Set monitor status.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
mid required | string id of the monitor. |
Request Body schema: application/json
status required | string Enum: "Running" "Paused" |
Responses
Response Schema: application/hal+json
createdAt required | string <date-time> Date when the resource has been created. |
updatedAt required | string <date-time> |
object | |
monitorId required | string (MonitorId) Uniq monitor ID returned when the monitor was created succefully. |
status required | string (MonitorStatus) Enum: "Running" "Paused" "Failed" |
Request samples
- Payload
{- "status": "Paused"
}
Response samples
- 202
- default
{- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "_links": {
- "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "monitor": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "monitorId": "string",
- "status": "Running"
}
Get all remote callbacks of a fleet.
Returns the list of subscribed remote callback of the fleet.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
query Parameters
types | Array of strings (RemoteTypes) Items Enum: "ThermalPreconditioning" "ElectricBatteryChargingRequest" "Horn" "Doors" "Lights" "Immobilization" "Stolen" "WakeUp" "Navigation" Example: types=Doors Results will contain only the Remote-Callbacks of these types. If not specified then the whole callbacks are retrieved. |
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "callbacks": [
- {
- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "remotes": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "id": "string",
- "subscribe": {
- "retryPolicy": {
- "policy": "None",
- "retryNumber": 10,
- "retryDelay": 60
}, - "batchNotify": {
- "size": 0,
- "timeWindow": 60
}, - "callback": {
- "webhook": {
- "name": "My_Webhook",
- "attributes": [
- {
- "type": "Header",
- "key": "X-Vehicle_Id",
- "value": "$vin"
}, - {
- "type": "Query",
- "key": "X-RemoteType",
- "value": "$remoteType"
}
]
}
}, - "label": "string",
- "remoteTypes": [
- "Doors"
]
}, - "status": "Running"
}
]
}
}
Register a new reusable remote callback.
Create a new reusable callback.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
Request Body schema: application/json
object The retry policy to apply when notification failed. | |
object Notification batch of events defined by a time window and batch size. If this field is not set, the callback will post only one event by call.
| |
required | object |
label | string |
remoteTypes required | Array of strings (RemoteTypes) Items Enum: "ThermalPreconditioning" "ElectricBatteryChargingRequest" "Horn" "Doors" "Lights" "Immobilization" "Stolen" "WakeUp" "Navigation" |
Responses
Response Schema: application/hal+json
object | |
callbackId | string (RemoteCallbackId) Uniq remote callback ID returned when the callback was subscribed (created) succefuly. |
status | string (CallbackStatus) Enum: "Running" "Paused" "Failed" |
Request samples
- Payload
{- "retryPolicy": {
- "policy": "None",
- "retryNumber": 10,
- "retryDelay": 60
}, - "batchNotify": {
- "size": 0,
- "timeWindow": 60
}, - "callback": {
- "webhook": {
- "name": "My_Webhook",
- "attributes": [
- {
- "type": "Header",
- "key": "X-Vehicle_Id",
- "value": "$vin"
}, - {
- "type": "Query",
- "key": "X-RemoteType",
- "value": "$remoteType"
}
]
}
}, - "label": "string",
- "remoteTypes": [
- "Doors"
]
}
Response samples
- 200
- default
{- "_links": {
- "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "callback": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "callbackId": "string",
- "status": "Running"
}
Update an existing remote callback.
Update an existing Callback
that has been posted (and accepted previously) for this fleet. The callback object (body) provided should be complete (aggregation is not supported for the update). This object can be retrieved using the GET /fleets/{fid}/remote/callbacks/{cbid}
API then modify it and finally publish it (via this PUT API
)
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
cbid required | string([0-9a-fA-F]|-|_)* The remote callback ID. |
Request Body schema: application/json
object The retry policy to apply when notification failed. | |
object Notification batch of events defined by a time window and batch size. If this field is not set, the callback will post only one event by call.
| |
required | object |
label | string |
remoteTypes required | Array of strings (RemoteTypes) Items Enum: "ThermalPreconditioning" "ElectricBatteryChargingRequest" "Horn" "Doors" "Lights" "Immobilization" "Stolen" "WakeUp" "Navigation" |
Responses
Response Schema: application/hal+json
object | |
callbackId | string (RemoteCallbackId) Uniq remote callback ID returned when the callback was subscribed (created) succefuly. |
status | string (CallbackStatus) Enum: "Running" "Paused" "Failed" |
Request samples
- Payload
{- "retryPolicy": {
- "policy": "None",
- "retryNumber": 10,
- "retryDelay": 60
}, - "batchNotify": {
- "size": 0,
- "timeWindow": 60
}, - "callback": {
- "webhook": {
- "name": "My_Webhook",
- "attributes": [
- {
- "type": "Header",
- "key": "X-Vehicle_Id",
- "value": "$vin"
}, - {
- "type": "Query",
- "key": "X-RemoteType",
- "value": "$remoteType"
}
]
}
}, - "label": "string",
- "remoteTypes": [
- "Doors"
]
}
Response samples
- 202
- default
{- "_links": {
- "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "callback": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "callbackId": "string",
- "status": "Running"
}
Get a remote callbacks of a fleet.
Returns a subscribed remote callback of the fleet by subscribe ID.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
cbid required | string([0-9a-fA-F]|-|_)* The remote callback ID. |
Responses
Response Schema: application/hal+json
required | object Note: |
id required | string (RemoteCallbackId) Uniq remote callback ID returned when the callback was subscribed (created) succefuly. |
required | object (RemoteCallbackSubscribe) Callback subscription parameters. |
status required | string (CallbackStatus) Enum: "Running" "Paused" "Failed" |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "remotes": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "id": "string",
- "subscribe": {
- "retryPolicy": {
- "policy": "None",
- "retryNumber": 10,
- "retryDelay": 60
}, - "batchNotify": {
- "size": 0,
- "timeWindow": 60
}, - "callback": {
- "webhook": {
- "name": "My_Webhook",
- "attributes": [
- {
- "type": "Header",
- "key": "X-Vehicle_Id",
- "value": "$vin"
}, - {
- "type": "Query",
- "key": "X-RemoteType",
- "value": "$remoteType"
}
]
}
}, - "label": "string",
- "remoteTypes": [
- "Doors"
]
}, - "status": "Running"
}
Set a remote callback new status.
Set the remote callback status.Paused
means that the callback will not post any event.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
cbid required | string([0-9a-fA-F]|-|_)* The remote callback ID. |
Request Body schema: application/json
status required | string Enum: "Running" "Paused" |
Responses
Response Schema: application/hal+json
object | |
callbackId | string (RemoteCallbackId) Uniq remote callback ID returned when the callback was subscribed (created) succefuly. |
status | string (CallbackStatus) Enum: "Running" "Paused" "Failed" |
Request samples
- Payload
{- "status": "Running"
}
Response samples
- 202
- default
{- "_links": {
- "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "callback": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "callbackId": "string",
- "status": "Running"
}
Send a remote action to a vehicle.
Create a new asynchrone vehicle remote action and request it.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
cbid required | string([0-9a-fA-F]|-|_)* The remote callback ID. |
Request Body schema: application/json
label | string |
object (RemotePreconditioning) Remote preconditioning the vehicle. | |
object (RemoteSetImmobilization) Requesting the vehicle for immobilization. | |
object (RemoteDoorsState) Remote vehicle door (lock/unlock) state. Disclaimer : "Forced" parameter is only applicable to lock the doors and is now deprecated because not applicable to all vehicles. It will be ignored to unlock the doors if set. Some additionnal details will be added in the callback when this parameter is considered. | |
object (RemoteHorn) Remote vehicle horn activation. | |
object (RemoteCharging) Remote electric battery charging action.
| |
object (RemoteStolen) Remote operation to update stolen state, immobilization and configuration information. Only one attribute can be used at a time. | |
object (RemoteLights) Remote to swith on / off lights. | |
object (RemoteWakeUp) Remote to wake up a vehicle (so it can update its data). | |
object (RemoteNavigation) A remote to share GPS positions with the vehicle so it can navigate through those positions by driving from start (1st) to end (last) position. It can include only 9 points + the destination. |
Responses
Response Schema: application/hal+json
object | |
remoteActionId | string (RemoteActionId) The uniq remote action ID returned when the remote action was posted and accepted. |
type | string (RemoteType) Enum: "ThermalPreconditioning" "ElectricBatteryChargingRequest" "Horn" "Doors" "Lights" "Immobilization" "Stolen" "WakeUp" "Navigation" |
Request samples
- Payload
{- "label": "string",
- "preconditioning": {
- "airConditioning": {
- "immediate": false,
- "programs": [
- {
- "recurrence": "None",
- "start": "PT14H30M",
- "occurence": {
- "day": [
- "Mon"
]
}, - "slot": 1,
- "enabled": true,
- "actionsType": "Delete"
}
]
}
}, - "immobilization": {
- "activate": true
}, - "door": {
- "state": "Unlocked",
- "forced": true
}, - "horn": {
- "state": "Activated"
}, - "charging": {
- "nextDelayedTime": "string",
- "schedule": {
- "nextDelayedTime": "string",
- "programs": [
- {
- "start": "PT14H30M",
- "occurence": {
- "day": [
- "Mon"
]
}, - "enabled": true,
- "slot": 1,
- "end": "PT14H30M"
}
]
}, - "immediate": true,
- "preferences": {
- "level": "Level1",
- "type": "Partial"
}
}, - "stolen": {
- "stolen": true,
- "trackingPeriod": {
- "running": 30,
- "shutdown": 120
}, - "immobilization": {
- "activate": true
}
}, - "lights": {
- "on": true
}, - "wakeUp": {
- "action": "WakeUp"
}, - "navigation": {
- "driverApproval": false,
- "positions": [
- {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}
]
}
}
Response samples
- 202
- default
{- "_links": {
- "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "callback": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "remote": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "remoteActionId": "string",
- "type": "Doors"
}
Get all remote action of vehicle and callback.
Returns the list of action remote requested for vehicle.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
cbid required | string([0-9a-fA-F]|-|_)* The remote callback ID. |
query Parameters
indexRange | string (indexRange) \d+-\d* Default: "0-" Results indexes will be included in this range (see indexRange model). default: 0- example: 0-, 0-5 |
pageSize | integer [ 1 .. 60 ] Default: 60 The maximum number of results (for a collection results response) to return per page. When not set, at most 60 results will be returned. The range for this parameter is [1...60] |
pageToken | string Start-Page marker, this token is used (by the backend) for continuing serving from the previous results page to the next one. (Disclaimer: It is built and used only by the server). |
Responses
Response Schema: application/hal+json
required | object (Tab_Links) HAL (Hypertext Application Language) link collection |
total required | integer |
totalPage required | integer |
currentPage required | integer |
required | object |
Response samples
- 200
- default
{- "_links": {
- "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "first": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "next": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "prev": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "last": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "total": 0,
- "totalPage": 0,
- "currentPage": 0,
- "_embedded": {
- "remoteActions": [
- {
- "remoteActionId": "string",
- "status": "Accepted",
- "type": "Doors",
- "_links": {
- "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "callback": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "remote": {
- "label": "string",
- "preconditioning": {
- "airConditioning": {
- "immediate": false,
- "programs": [
- {
- "recurrence": "None",
- "start": "PT14H30M",
- "occurence": {
- "day": [ ]
}, - "slot": 1,
- "enabled": true,
- "actionsType": "Delete"
}
]
}
}, - "immobilization": {
- "activate": true
}, - "door": {
- "state": "Unlocked",
- "forced": true
}, - "horn": {
- "state": "Activated"
}, - "charging": {
- "nextDelayedTime": "string",
- "schedule": {
- "nextDelayedTime": "string",
- "programs": [
- {
- "start": "PT14H30M",
- "occurence": {
- "day": [ ]
}, - "enabled": true,
- "slot": 1,
- "end": "PT14H30M"
}
]
}, - "immediate": true,
- "preferences": {
- "level": "Level1",
- "type": "Partial"
}
}, - "stolen": {
- "stolen": true,
- "trackingPeriod": {
- "running": 30,
- "shutdown": 120
}, - "immobilization": {
- "activate": true
}
}, - "lights": {
- "on": true
}, - "wakeUp": {
- "action": "WakeUp"
}, - "navigation": {
- "driverApproval": false,
- "positions": [
- {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}
]
}
}, - "failureCause": "GeneralError",
- "feedbackDetail": "NoCIDBlacklisted"
}
]
}
}
Get remote action by id.
Returns the remote action requested for vehicle by ID.
Authorizations:
path Parameters
fid required | string Resource is related to this fleet ID only. |
vid required | string Resource is related to this Vehicle ID only. |
cbid required | string([0-9a-fA-F]|-|_)* The remote callback ID. |
rid required | string([0-9a-fA-F]|-|_)* The remote action ID. |
Responses
Response Schema: application/hal+json
remoteActionId | string The uniq remote action ID returned when the remote action was posted and accepted. | ||||||
status | string Enum: "Accepted" "Failed" "Success" "AlreadyDone" "WakingUpVehicle" "CheckingVehicle" "SentToVehicle" "VehicleBatteryChargeTooLow" "TooManyWakeUpsOverMonth" | ||||||
type | string (RemoteType) Enum: "ThermalPreconditioning" "ElectricBatteryChargingRequest" "Horn" "Doors" "Lights" "Immobilization" "Stolen" "WakeUp" "Navigation" | ||||||
required | object | ||||||
object (Remote) Remote vehicle activation. | |||||||
failureCause | string (RemoteFailedEventStatus) Enum: "GeneralError" "VehicleError" "WrongCommand" "VehicleConnectionTimeout" "MissingRights" "NotPossibleDueToVehicleBatteryLevel" "NotPossibleDueToVehiclePrivacyLevel" "TooManyWakeUpsOverMonth" "TooManyRequestInShortTime" "SameActionInProgress" "NotPossibleDueToVehicleStolenState" "VehicleInUse" "TooManyRequestSent" "DoorsOpen" "VehicleErrorOrCidInside" "CidInside" "ExternalChargingSystemError" "VehicleChargingSystemError" "VehicleIsNotLocked" "CanceledByDriver" The failure cause for event with failed status. This field is filled only is failure state. | ||||||
feedbackDetail | string (RemoteEventFeedbackDetail) Enum: "NoCIDBlacklisted" "CIDBlacklisted" Additionnal detail in case of success on some specific behavior :
|
Response samples
- 200
- default
{- "remoteActionId": "string",
- "status": "Accepted",
- "type": "Doors",
- "_links": {
- "fleet": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "callback": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}, - "self": {
- "templated": true,
- "type": "string",
- "deprecation": "string",
- "name": "string",
- "title": "string",
- "profile": "string",
- "hreflang": "string"
}
}, - "remote": {
- "label": "string",
- "preconditioning": {
- "airConditioning": {
- "immediate": false,
- "programs": [
- {
- "recurrence": "None",
- "start": "PT14H30M",
- "occurence": {
- "day": [
- "Mon"
]
}, - "slot": 1,
- "enabled": true,
- "actionsType": "Delete"
}
]
}
}, - "immobilization": {
- "activate": true
}, - "door": {
- "state": "Unlocked",
- "forced": true
}, - "horn": {
- "state": "Activated"
}, - "charging": {
- "nextDelayedTime": "string",
- "schedule": {
- "nextDelayedTime": "string",
- "programs": [
- {
- "start": "PT14H30M",
- "occurence": {
- "day": [
- "Mon"
]
}, - "enabled": true,
- "slot": 1,
- "end": "PT14H30M"
}
]
}, - "immediate": true,
- "preferences": {
- "level": "Level1",
- "type": "Partial"
}
}, - "stolen": {
- "stolen": true,
- "trackingPeriod": {
- "running": 30,
- "shutdown": 120
}, - "immobilization": {
- "activate": true
}
}, - "lights": {
- "on": true
}, - "wakeUp": {
- "action": "WakeUp"
}, - "navigation": {
- "driverApproval": false,
- "positions": [
- {
- "coordinates": [
- 5.970338,
- -62.536239
], - "type": "Point"
}
]
}
}, - "failureCause": "GeneralError",
- "feedbackDetail": "NoCIDBlacklisted"
}