Shipment Information
DESCRIPTION
Web Service that returns shipment information for a specific shipment date.
Request
Method: GET
Content-Type: application/json
URL:
Test Environment: | https://training.logiztikalliance.com:5005/logCloudWSSprint/api/ClientesExternosA/ListarTotalesGuiasPorCliente/{CUSTOMERCODE}/{TOKEN}/{YYYY-MM-DD} |
Production Environment: | https://cloud.logiztikalliance.com:5005/logCloudWS/api/ClientesExternosA/ListarTotalesGuiasPorCliente/{CUSTOMERCODE}/{TOKEN}/{YYYY-MM-DD} |
INPUT PARAMETERS
Name | Type | Required | Description |
CustomerCode | string(50) | Yes | Customer code. |
AuthenticationToken | string(50) | Yes | Alliance cloud security token. |
Date | Date(yyyy-MM-dd) | Yes | Shipment date. |
Response
Output Success
BODY
Name | Type | Description |
awb | string(32) | Shipment number. |
shipmentDate | DateTime(yyyy-MM-dd HH:mm:ss) | Shipment date. |
portCode | string(16) | Origin airport IATA code. |
portName | string(16) | Origin airport IATA code. |
pieces | int(4) | Number of pieces of the customer in the shipment. |
fb | decimal(9,3) | Number of FBE of the customer in the shipment. |
EXAMPLE
[
{
“awb”: “07144112961”,
“shipmentDate”: “2022-02-01T00:00:00”,
“portCode”: “UIO”,
“portName”: “UIO”,
“pieces”: 5,
“fb”: 1.50
}
]
Output Error
BODY
Name | Type | Description |
mensaje | string(400) | In case of an error, we return the error message in this fields. |
EXAMPLE
{
“mensaje”: “Error in database connection.”
}
ERRORS MESSAGES
DATE FORMATE ERROR
{
“mensaje”: “Error in database connection.”
}
ERROR IN DATABASE CONNECTION
{
“mensaje”: “Error in database connection.”
}
WRONG TOKEN
[]
ERROR IN CUSTOMER CODE
[]
MISSING PARAMETERS
(Empty string)