2.5.2 Close Coverage

Updated at: 2/1/2023 8:44:31 PM

Url

/api/v2/{fleet_token}/contractors/{contractor_id}/units/{unit_id}/coverages/close/{id}

Method

Post

Body

```json { "EffectiveDate": "<date:Date>" } ```

Parameters

- `EffectiveDate`. Required.

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 closed coverage will be returned in the response.

Notes

- The request would fail if the given coverage is already closed in CBA. - The request would fail if it fails to locate the motor carrier by `fleet_token`.
In this article