Barcode Information
DESCRIPTION
The customer can use this API to get detailed information on each box.
Request
Method: GET
Content-Type: application/json
URL:
Test Environment: | https://training.logiztikalliance.com:5005/logCloudWSPre/api/v2/ClientesExternosA/ListarCodigosDeBarraPorCliente/{CUSTOMERCODE}/{SHIPMENTNR} |
Production Environment: | https://cloud.logiztikalliance.com:5005/logCloudWS/api/v2/ClientesExternosA/ListarCodigosDeBarraPorCliente/{CUSTOMERCODE}/{SHIPMENTNR} |
INPUT PARAMETERS
Name | Type | Required | Description |
customerCode | String (50) | Yes | Customer code. |
shipmentNr | String (50) | Yes | Shipment number. |
authenticationToken | String (128) | Yes | Alliance cloud security token (Api Key). |
RESPONSE
BODY
Name | Type | Required | Description |
barcode | string (16) | Yes | Barcode number that was shipped on the specific shipment. |
length | decimal(9,3) | No | Length of the piece. |
width | decimal(9,3) | No | Width of the piece. |
height | decimal(9,3) | No | Height of the piece. |
unitOfMeasurement | string (16) | Yes | Unit of measure for the dimensions, CM or INCH. |
grossWeight | decimal(9,3) | No | Gross weight of the piece. |
volumeWeight | decimal(9,3) | No | Volume weight of the piece. |
shipmentMeasureVolume | boolean | Yes | True if the shipment was charged by volume weight, false if the shipment was charged by gross weight. |
productCode | string(32) | No | Product category code (ex. ROS for roses). |
productDescription | string(128) | No | Product variety, whatever text the customer or the supplier sent us. |
packing | int | No | Number of units in the box. |
piecePrice | decimal(9,3) | No | Supplier price of the box. |
supplierDeliveryDate | datetime(yyyy-MM-dd HH:mm:ss) | No | Supplier delivery date and time. |
EXAMPLE
[
{
“barcode”: “12202603312”,
“length”: “103.000”,
“width”: “30.000”,
“height”: “13.000”,
“unitOfMeasurement”: “CM”,
“grossWeight”: “6.695”,
“volumeWeight”: “7.695”,
“ShipmentMeasureVolume”: “true”,
“productCode”: “ROS”,
“productDescription”: “IMPACT 50CM X2 25ST FL”,
“packing”: “120”,
“piecePrice”: “10.300”
“supplierDeliveryDate”: “2024-10-07 12:56:47.967”
},
{
“barcode”: “12202603313”,
“length”: “113.000”,
“width”: “35.000”,
“height”: “16.000”,
“unitOfMeasurement”: “CM”,
“grossWeight”: “6.955”,
“volumeWeight”: “6.695”,
“ShipmentMeasureVolume”: “true”,
“productCode”: “ROS”,
“productDescription”: “IMPACT 60CM X2 25ST FL”,
“packing”: “120”,
“piecePrice”: “11.300”
“supplierDeliveryDate”: “2024-10-07 12:56:47.967”
}
]
OUTPUT ERROR MESSAGES
Wrong token:
“Unauthorized”
Error in customer code:
{
“error”: “The ApiKey does not have access to that customer code”
}
Error in shipment number:
{
“error”: “The shipment number does not contain pieces of the customer.”
}
Missing parameters:
{
“error”: “Missing input parameters. Please send Authentication Token, Shipment Number and Customer Code. ”
}