Received boxes by supplier


 DESCRIPTION

Web Service for Insert supplier API for received boxes.

Request

Method: POST

Content-Type: application/json

URL:

Test Environment: https://training.logiztikalliance.com:5005/externalSprint/api/ReceivingInfo/GetSuppliersWithReceiptDate
Production Environment: https://cloudus.logiztikalliance.com:5005/external/api/ReceivingInfo/GetSuppliersWithReceiptDate
INPUT PARAMETERS

 

Body
Name Type Required Description
Token string(16) Yes Alliance cloud security token.
Date string(10) Yes Shipment date.
EXAMPLE
{
    “Token”: “XXXXXXXXXXXXXX”,
    “Date”: “2022-06-23”
  }
Response

 

Output Success

 

BODY

Name Type Description
warehouseCode string(5) Warehouse code, required for PostType = LOCAL, use DGG. Not required for PostType = FINAL.
shipDate Date(dd/MM/yyyy)  
shipperAccountName string(150)  
consigneeAccountName string(150)  
palletCode string(10)  
unitId string(11)  
damaged string(10)  
temperature string(10)  
receivedTime DateTime(dd/MM/yyyy HH:mm)  
loadedTime DateTime(dd/MM/yyyy HH:mm)  
status string(50)  
labelPrinted string(10)  
trailer string(10)  
active boolean  

EXAMPLE

[
    {
        “warehouseCode”: “DGG”,
        “shipDate”: “09/03/2022”,
        “shipperAccountName”: “FRESCA FARMS – EXP051558”,
        “consigneeAccountName”: “FLOWER LINK LLC LOUSIANA – TCL-2277”,
        “palletCode”: “”,
        “unitId”: “62203203253”,
        “damaged”: “null”,
        “temperature”: “null”,
        “receivedTime”: “09/02/2022 18:44”,
        “loadedTime”: “09/06/2022 16:55”,
        “status”: “DISPATCHED WH”,
        “labelPrinted”: “null”,
        “trailer”: “null”,
        “active”: true
    }
]
 
Output Error

 

BODY

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

EXAMPLE

{
    “mensaje”: “The token does not have autorization to use this API”
}
 
ERRORS MESSAGES

 

UNAUTHORIZED

 

{
    “mensaje”: “The token does not have autorization to use this API”
}
DATE FORMATE ERROR

 

{
    “mensaje”: “String ‘2022-09-022’ was not recognized as a valid DateTime.”
}
INVALID TOKEN

 

{
    “mensaje”: “Invalid Token”
}
EMPTY TOKEN

 

{
    “mensaje”: “The token does not have autorization to use this API”
}
INFORMATION NOT FOUND

 

[]
EMPTY DATE

 

[]