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
NameTypeRequiredDescription
Tokenstring(16)YesAlliance cloud security token.
Datestring(10)YesShipment date.
EXAMPLE
{
    “Token”: “XXXXXXXXXXXXXX”,
    “Date”: “2022-06-23”
  }
Response

 

Output Success

 

BODY

NameTypeDescription
warehouseCodestring(5)Warehouse code, required for PostType = LOCAL, use DGG. Not required for PostType = FINAL.
shipDateDate(dd/MM/yyyy) 
shipperAccountNamestring(150) 
consigneeAccountNamestring(150) 
palletCodestring(10) 
unitIdstring(11) 
damagedstring(10) 
temperaturestring(10) 
receivedTimeDateTime(dd/MM/yyyy HH:mm) 
loadedTimeDateTime(dd/MM/yyyy HH:mm) 
statusstring(50) 
labelPrintedstring(10) 
trailerstring(10) 
activeboolean 

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

NameTypeRequiredDescription
mensajestring(150)YesIn 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

 

[]