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

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

createdAtstring date-time required

Date when the resource has been created.

idstring required
vinstring required

Identifier of a vehicle. Set when retrieving resource in batch mode.

tippedOverboolean

Indicates if the car tipped over during the collision. Warning : This information is applicable only on vehicles equipped with dedicated sensor and is optionnal.

pedestrianboolean

Indicates if the collision involve a pedestrian. Warning : This information is applicable only on vehicles equipped with dedicated sensor and is optionnal

updatedAtstring date-time

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.