1.5.1 Apply Coverage
Updated at: 3/3/2022 5:22:58 AM
Url
/api/v2/{fleet_token}/contractors/{contractor_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": "",
"Contractor":
{
"ID": "<contractor_id>",
"Number": "<contractor_number>",
"Name": "",
"FirstName": "<first_name>",
"MiddleName": "<middle_name>",
"LastName": "<last_name>",
"Dob": "<dob:Date>",
"Email": "<email>",
"PhoneNumber" :"<phone_number>",
"CellNumber": "<cell_number>",
"Address": "<address>",
"Address2":"<address2>",
"City":"<city>",
"State":"<state>",
"Zip":"<zip>",
"License": "<license>",
"LicenseState": "<license_state>"
}
}
}
```
Returns
- The added coverage along with the contractor is returned in the response.
Notes
- The request fails if the motor carrier cannot be located by `fleet_token`.
In this article