Filter the list of handling-units linked to a shipment.
Sample request :
GET /handling-units/search?documentReference=3714238101
Query parameters
-
Announcement document reference.
-
Type of flow.
Values are
Unknown
,Import
,Export
,Transhipment
, orTransit
. -
Agent code of shipping company.
Default value is empty.
-
Boolean that indicates the sort order. If it is set to true, results will be sorted by descending order.
Default value is
false
. -
Number of results to be returned. Max value is 10.
Default value is
5
. -
Index of the first returned result.
Default value is
0
.
GET
/handling-units/search
curl \
-X GET https://soget-api-integration.azure-api.net/api-tracing-libelle-in-mass/v1/handling-units/search?documentReference=string \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Ocp-Apim-Subscription-Key: $API_KEY"
Response examples (200)
{
"total": 42,
"returned": 42,
"first": 42,
"items": [
{
"freightFamily": "Container",
"customsFlag": "Unknown",
"reference": "string",
"pswId": "string",
"sizeType": {
"code": "string",
"description": "string"
},
"packagingCode": {
"code": "string",
"description": "string"
},
"measures": {
"quantity": 42,
"weight": {
"tare": {
"value": 42.0,
"unit": "string"
},
"grossWeight": {
"value": 42.0,
"unit": "string"
},
"netWeight": {
"value": 42.0,
"unit": "string"
}
},
"volume": {
"value": 42.0,
"unit": "string"
},
"remainingQuantity": 42,
"availableQuantity": 42,
"reportedQuantity": 42,
"remainingWeight": {
"value": 42.0,
"unit": "string"
}
},
"indicators": {
"hazardous": true,
"empty": true,
"reefer": true,
"pollutant": true,
"fumigation": true,
"quarantine": true,
"outOfGauge": true
},
"references": [
{
"type": "Rank",
"value": "string"
}
],
"huLocation": {
"place": {
"code": "string",
"name": "string"
},
"location": {
"code": "string",
"name": "string"
}
},
"actors": {
"freightAgent": {
"code": "string",
"name": "string"
},
"freightForwarder": {
"code": "string",
"name": "string"
}
},
"temperatures": {
"setPoint": 42.0,
"rangeMin": 42.0,
"rangeMax": 42.0
},
"shipments": [
{
"processingIndicator": "Unknown",
"documentReference": "string",
"documentId": "string",
"documentType": {
"code": 42.0,
"name": "string"
},
"documentDate": "2024-05-04T09:42:00+00:00",
"originLocation": {
"code": "string",
"name": "string"
},
"destinationLocation": {
"code": "string",
"name": "string"
},
"merchantHaulage": true
}
],
"transport": {
"meansName": "string",
"voyageId": "string",
"mode": {
"code": 42.0,
"name": "string"
},
"meansNationality": {
"name": "string",
"alphaCode3": "string"
},
"voyageDates": {
"eta": "2024-05-04T09:42:00+00:00",
"etd": "2024-05-04T09:42:00+00:00",
"ata": "2024-05-04T09:42:00+00:00",
"atd": "2024-05-04T09:42:00+00:00"
},
"schedulePlace": {
"code": "string",
"name": "string"
},
"transportMeansType": {
"code": "string",
"name": "vehicle carrier"
},
"meansId": [
{
"type": "IMONumber",
"name": "string"
}
],
"arrivalScheduleReference": "string",
"departureScheduleReference": "string"
},
"events": [
{
"eventWay": "In",
"eventType": {
"code": "string",
"name": "string"
},
"eventDate": "2024-05-04T09:42:00+00:00",
"eventPlace": {
"code": "string",
"name": "string"
},
"eventLocation": {
"code": "string",
"name": "string"
},
"eventTransportMode": {
"code": 42.0,
"name": "string"
}
}
],
"hazardousItems": [
{
"imoClass": {
"code": "string",
"description": "string"
},
"limitedQuantity": true
}
],
"emptyReturn": {
"dueDate": "2024-05-04T09:42:00+00:00",
"finishDateEarliest": "2024-05-04T09:42:00+00:00",
"finishDateLatest": "2024-05-04T09:42:00+00:00"
}
}
]
}
Response examples (400)
{
"status": "string",
"timestamp": "2024-05-04T09:42:00+00:00",
"code": "string",
"message": "string"
}
Response examples (404)
{
"status": "string",
"timestamp": "2024-05-04T09:42:00+00:00",
"code": "string",
"message": "string"
}