Pieces Dispatched to a Carrier


DESCRIPTION

Web Service that returns information on pieces dispatched on a specific date.
Request

Method: GET

Content-Type: application/json

URL:

Test Environment: https://training.logiztikalliance.com:5005/logCloudWSSprint/api/ClientesExternosA/ListarCodigosDeBarraDespachadosFecha/{CUSTOMERCODE}/{TOKEN}/{YYYY-MM-DD}
Production Environment: https://cloud.logiztikalliance.com:5005/logCloudWS/api/ClientesExternosA/ListarCodigosDeBarraDespachadosFecha/{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 Shipping date.
Response

 

Output Success

 

BODY

Name Type Description
ordenNumber string(16) Order number.
barcode string(11) Barcode number that was dispatched from our Miami warehouse on a specific date.
shippingDate DateTime(yyyy-MM-dd HH:mm:ss) Shipping date.

EXAMPLE

[
    {
        “ordenNumber”: null,
        “barcode”: “12202575971”,
        “shippingDate”: “2022-09-01T00:00:00”
    }
]
 
Output Error

 

BODY

Name Type Description
mensaje string(400) In case of an error, we return the error message in this field.

EXAMPLE

{
    “mensaje”: “Error in database connection.”
}
 
ERRORS MESSAGES

 

ERROR IN DATABASE CONNECTION

 

{
    “mensaje”: “Error in database connection.”
}
WRONG TOKEN

 

[]
ERROR IN CUSTOMER CODE

 

[]
DATE FORMATE ERROR
{
    “mensaje”: “Error in database connection.”
}
MISSING PARAMETERS

(Empty string)