WS316 Point out occurrences in transfer route
Click here to see version history
| Update date | Service publication date | Changes |
|---|---|---|
| 03/22/2021 | 03/25/2021 | Creation of the webservice |
Objective
This integration aims to send incidents to awbs.
Warning
This is documentation of a beta service that is subject to field and url changes before its final publication.
Authentication
- Calls will have transport-level authentication (Basic Authentication);
- Request
user/passwordfrom the account administrator.
Features
-
URL
<https://entregas-api.comprovei.com/v1/awbs/send> -
Method:
POST
Parameters
Example
{
"00000111112222233333444455556666777788889999" : {
"code" : "landing",
"start_date" : "2021-03-23 16:09:00",
"end_date" : "2021-03-23 16:37:00",
"coordinates" : {
"latitude" : 0,
"longitude" : 0
}
}
}
| Property | Type | Description |
|---|---|---|
| Access key | JSON | Document access key to download |
JSON Access Key
| Parameter | Type | Description |
|---|---|---|
| code | Alphanumeric | Occurrence code for discharge. Must be registered with Comprovei (required) |
| start_date | Date and time | Date and time of the start of the occurrence (required) |
| end_date | Date and time | Date and time of completion of the incident (mandatory) |
| coordinates | JSON | Location |
JSON Coordinates
| Parameter | Type | Description |
|---|---|---|
| latitude | decimal | Document Latitude |
| longitude | decimal | Document length |