2.5.1 Apply Coverage

Updated at: 3/3/2022 5:22:58 AM

Url

/api/v2/{fleet_token}/contractors/{contractor_id}/units/{unit_id}/coverages/apply

Method

Post

Body

```json { "ProductToken": "<product_token>", "InceptionDate": "<inception_date>", "InactivationDate": "<date:Date>", "CustomFields": { "CustomFields1": "", "CustomFields2": "" } } ```

Parameters

- `ProductToken` Required. - `InceptionDate` Required. - `InactivationDate` Optional. - `CustomFields` Optional.

Response

```json { "Success": "<true|false>", "Message": "<message>", "Data": { "ID": "", "Description": "", "ProductToken": "" "InceptionDate": "", "InactivationDate": "", "Unit": { "ID": "<unit_id>", "Number": "<unit_number>", "Year": "", "Make": "", "Vin": "", "StatedValue": "", "EquipmentType": "", "Model": "" } } } ```

Returns

- The added coverage along with the unit is returned in the response.

Notes

- The request fails if the motor carrier cannot be located by `fleet_token`. - The request fails if the unit cannot be located by `unit_id`.
In this article