Vehicles
Last position identified
Returns the latest GPS Position of the Vehicle.
get/fleets/{fid}/vehicles/{vid}/lastPosition
Request
- Base URLhttps://api-cert.groupe-psa.com/connectedcar/v3
- AuthHTTP basic and API key in query parameter client_id
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fidstring required
Resource is related to this fleet ID only.
vidstring required
Resource is related to this Vehicle ID only.
Query parameters
profile'fleet' | 'endUser'
Results will contain a relative view of the data depending on the selected profile. Indeed, endUser will expose only the data available to the end-user as if there were no intermediaries between him and the vehicle (case of B-2-B-2-C). If not specified, this parameter will be set tofleetvalue (deault value).
- Disclaimer: Since thefleetprofile has a larger data scope, selectingendUserprofile will potentially result in not found status depending on its granted rights and privacy level.
Response
Position response
Example response
{
"geometry": {
"type": "Point",
"coordinates": [
5.970338,
-62.536239
]
},
"properties": {
"vin": "VF3ABCDE0FG123456"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.