Fleet
An identified collision that occurred on a fleet.
Returns the Collision that matches the fleet id and the Collision cid.
get/fleets/{fid}/collisions/{cid}
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.
cidstring required
Results will only contain the Collision related to this Collision ID.
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
Collision response
Example response
{
"details": [
{
"side": "Lateral",
"severity": "Minor"
}
],
"id": "055d8f0a0089d7b9226989ce2db42511e2e19df8cc106a7fb7d0c7fb92ab2320c0720e94be1ee517b3172da70dd05446a934cccca524172d9add54d8dbce51b14",
"vin": "VF3ABCDE0FG123456",
"_links": {
"self": {
"href": "http://example.com",
"deprecation": "http://example.com"
},
"vehicle": {
"href": "http://example.com",
"deprecation": "http://example.com"
},
"trip": {
"href": "http://example.com",
"deprecation": "http://example.com"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.