Consignments
Creation of a consignment with all its contents (batch) or with its first content (interactive), and retrieval and deletion of consignments
Create a consignment in batch or start an interactive consignment
Creates a new consignment with its first contents: at least one product or overpack is required, and in interactive workflows more contents can be added afterwards. Overpacks in the body are processed for every regulation (ADR, IMDG and IATA). In batch processing, when a line aborts the transaction of the batch, every remaining line is reported as not added, with its position in the list, starting at 0. newItemId is the consignmentId of the new consignment.
Authorizations:
basicAuth or bearerAuth
HTTP: basicAuth
basicHTTP: bearerAuth
OAuth2 access token obtained from POST /oauth2/token using the client_credentials grant. Send it as Authorization: Bearer <access_token>. The token is opaque: it must not be parsed by the client. It is an alternative transport for the same identity as HTTP Basic, with the same roles and the same licensing, so any operation accepts either scheme.
bearerquery Parameters
| requestGuid | string <= 36 characters Identifier of the request, up to 36 characters, used to trace it and returned in the response. |
Request Body schema: application/jsonrequired
participants (shipper, carrier, loader ...) and goods
| consignmentType required | string Enum: "PackagesAndReceptacles" "Tank" "Bulk" Type of consignment by load configuration: PackagesAndReceptacles, Tank or Bulk. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| workPlaceCode required | string Code of the workplace issuing the consignment. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| date required | string <date> Issue date of the consignment, in ISO 8601 format. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| regulation required | string Enum: "Adr" "Imdg" "Iata" "Cfr49" Dangerous goods regulation applicable to the consignment: Adr, Imdg, Iata or Cfr49. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| predefinedShipperCode | string Code of an existent Shipper. Either | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Shipper participant data provided directly without using a predefined record. Either | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| predefinedConsigneeCode | string Code of an existent Consignee. Either | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Consignee participant data provided directly without using a predefined record. Either | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (SimpleProductTransportMode) List of predefined simple products to include in the consignment. At least one product or overpack is required in | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array [
] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (SimpleProductTransportModeOnTheFly) List of simple products fully described in the request, without predefined record. At least one product or overpack is required in | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array [
] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (MixedPackingProductTransportMode) List of predefined mixed packing products to include in the consignment. At least one product or overpack is required in | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array [
] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (MixedPackingProductTransportModeOnTheFly) List of mixed packing products fully described in the request, without predefined record. At least one product or overpack is required in | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array [
] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (Overpack) Overpacks of the consignment. Processed for every regulation (ADR 5.1.2, IMDG 5.1.2, IATA 5.0.1.5). Up to version 2.7.2 they were only applied to air consignments and silently ignored otherwise. At least one product or overpack is required in | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array [
] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| predefinedLoaderCode | string Code of an existent Loader | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Loader participant data provided directly without using a predefined record. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| predefinedCarrierCode | string Code of an existent Carrier | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object Carrier participant data provided directly without using a predefined record. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| driver | string Full name of the driver in charge of the transport. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| vehicleRegistration | string Registration plate of the vehicle. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| trailerRegistration | string Registration plate of the trailer, if applicable. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| deliveryNoteNumber | string Reference number of the delivery note associated with the consignment. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| emergencyPhone | string Emergency telephone number available during transport. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| shipperReferenceNumber | string Reference number assigned to the consignment by the shipper. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| freightForwarderReference | string Reference number assigned to the consignment by the freight forwarder. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| additionalInformation | string Additional information of the consignment. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| isExclusiveUseShipment | boolean True when the consignment travels under exclusive use. Cross-modal header-level flag: renders the 'EXCLUSIVE USE SHIPMENT' mention on every Class 7 item for the three regulatory documents (ADR 5.4.1.2.5.1, IMDG 5.4.1.5.7.1.7, IATA DGR 10.8.3.9). If the property is omitted (null) the existing header value is preserved. It must be true when a Class 7 package has a transport index above 10 or a maximum radiation level above 2 mSv/h at its external surface. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object IATA-specific data of the consignment, when the mode of transport is air. It is used only when | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object IMDG-specific data of the consignment, when the mode of transport is sea. It is used only when | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object ADR-specific data of the consignment, when the mode of transport is road: the data that only Spain requires, such as the administrative control document. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| specialFeatures | Array of strings (ConsignmentSpecialFeature) Items Enum: "ShowRedStripes" "ShowBlueStripes" "ShowMarksForAllPackages" "ShowLabelsForAllPackages" "ShowMultimodalIataDeclaration" "DuplicateIataIdentification" "AdministrativeControlDocument" Optional features of the consignment. Each one enables a specific behaviour or document and applies only to certain regulations; a feature that does not apply to the regulation of the consignment is rejected. When the field is omitted, the applicable defaults are applied. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Responses
201 Created
Created
Response Schema: application/json
| newItemId | integer <int64> Identifier assigned to the newly created item. | ||||||||||||||||||||||||||||||||||||||
| newItemIsValid | boolean Indicates whether the newly created item passed regulatory validation. | ||||||||||||||||||||||||||||||||||||||
| success | boolean Indicates whether the item creation completed successfully. | ||||||||||||||||||||||||||||||||||||||
| httpStatusCode | integer <int32> HTTP status code returned by the operation. | ||||||||||||||||||||||||||||||||||||||
| message | string Human-readable message describing the item creation result. | ||||||||||||||||||||||||||||||||||||||
| messageType | string Enum: "Information" "Warning" Severity classification of the message. | ||||||||||||||||||||||||||||||||||||||
| requestGuid | string Unique identifier of the request, returned for tracing purposes. | ||||||||||||||||||||||||||||||||||||||
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. A warning does not prevent the operation. Omitted when there is no warning. | |||||||||||||||||||||||||||||||||||||||
Array [
] | |||||||||||||||||||||||||||||||||||||||
400 Bad request: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.
Bad request: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.
Response Schema: application/json
| success | boolean Indicates that the operation did not complete successfully. |
| httpStatusCode | integer <int32> HTTP status code returned by the operation. |
| message | string Human-readable message describing the validation error. |
| messageType | string Enum: "Error" "Warning" "Information" Severity classification of the message. |
| parameter | string Aggregated list of the |
| parameterValue | string Aggregated list of the |
| parameterPosition | string Aggregated list of the |
| requestGuid | string Unique identifier of the request, returned for tracing purposes. |
Array of objects (ApiIssue) Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry. | |
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning. | |
401 Unauthorized
Unauthorized
Response Schema: application/json
| success | boolean Indicates that the operation did not complete successfully. |
| httpStatusCode | integer <int32> HTTP status code returned by the operation. |
| message | string Human-readable message describing the authentication error. |
| messageType | string Enum: "Error" "Warning" "Information" Severity classification of the message. |
| parameter | string Aggregated list of the |
| parameterValue | string Aggregated list of the |
| parameterPosition | string Aggregated list of the |
| requestGuid | string Unique identifier of the request, returned for tracing purposes. |
Array of objects (ApiIssue) The authentication error, with its stable code. | |
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning. | |
403 Forbidden
Forbidden
Response Schema: application/json
| success | boolean Indicates that the operation did not complete successfully. |
| httpStatusCode | integer <int32> HTTP status code returned by the operation. |
| message | string Human-readable message describing why the request is forbidden. |
| messageType | string Enum: "Error" "Warning" "Information" Severity classification of the message. |
| parameter | string Aggregated list of the |
| parameterValue | string Aggregated list of the |
| parameterPosition | string Aggregated list of the |
| requestGuid | string Unique identifier of the request, returned for tracing purposes. |
Array of objects (ApiIssue) Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry. | |
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning. | |
500 Unexpected Error
Unexpected Error
Response Schema: application/json
| success | boolean Indicates that the operation did not complete successfully. |
| httpStatusCode | integer <int32> HTTP status code returned by the operation. |
| message | string Human-readable message describing the unexpected server error. |
| messageType | string Value: "Error" Severity classification of the message. |
| parameter | string Aggregated list of the |
| parameterValue | string Aggregated list of the |
| parameterPosition | string Aggregated list of the |
| requestGuid | string Unique identifier of the request, returned for tracing purposes. |
Array of objects (ApiIssue) Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry. | |
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning. | |
post/consignment
Request samples
{- "consignmentType": "PackagesAndReceptacles",
- "regulation": "Adr",
- "date": "2020-12-31",
- "workPlaceCode": "WP001",
- "predefinedShipperCode": "SHI001",
"onTheFlyShipper": {
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryCode": "GB",
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "Shipping manager"
},- "predefinedConsigneeCode": "CON001",
"onTheFlyConsignee": {
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryCode": "GB",
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "Shipping manager"
},"predefinedSimpleProducts": [
{
- "reference": "PROMOD001",
- "numberOfPackages": 3,
- "unitaryQuantity": 1.2,
- "unitaryGrossQuantity": 2,
- "unitaryQuantityExplosive": 0,
- "fillingDegree": 100,
- "authorizations": "Auth 0001",
- "innerPackagesNumber": 0,
- "innerPackageQuantity": 0,
- "innerPackageCapacity": 0.5,
- "innerPackageQuantityExplosive": 0,
"radiological": {
"nuclides": [
{
- "radionuclideCode": "Co-60",
- "activityBq": 50000000
}
],- "packageType": "Excepted",
- "isSpecialForm": false,
- "isFissile": false,
- "category": "IWhite",
- "transportIndex": 0,
- "certificateRef": "",
- "physicoChemical": "Sealed source, solid",
- "surfaceDoseRate": 0.05,
- "packageDimensions": "string"
},- "consignmentItemCode": "ITEM-9515-4013-AA46"
}
],"onTheFlySimpleProducts": [
{
- "productName": "PRONAM001",
- "productCode": "PROCOD001",
- "isDangerousGood": true,
- "dangerousGoodId": 2301,
- "isEnvironmentallyHazardous": false,
- "isEmpty": false,
- "physicalState": "Liquid",
- "measureUnit": "kg",
- "pureMixOrSolution": "Pure",
- "mixOrSolutionPercentage": 0,
- "flashPoint": 30.2,
- "controlTemperature": 15,
- "emergencyTemperature": 20,
- "density": 1,
- "numberOfPackages": 3,
- "packageId": 14,
- "packageHomologationId": 43,
- "packingInstructionId": 0,
- "strictPackingInstructionCheck": true,
- "imdgSegregationGroupId": 0,
- "englishTechnicalName": "XYLENE AND BENZENE",
- "countryOfOriginLanguageTechnicalName": "XILENO Y BENCENO",
- "adrPrincipalLanguageTechnicalName": "XYLOL UND BENZOL",
- "hasInnerPackages": false,
- "unitaryQuantity": 1.2,
- "unitaryGrossQuantity": 2,
- "unitaryQuantityExplosive": 0,
- "fillingDegree": 100,
- "authorizations": "Auth 0001",
- "innerPackageMaterialId": 0,
- "innerPackagesNumber": 0,
- "innerPackageQuantity": 0,
- "innerPackageCapacity": 0.5,
- "innerPackageQuantityExplosive": 0,
"radiological": {
"nuclides": [
{
- "radionuclideCode": "Co-60",
- "activityBq": 50000000
}
],- "packageType": "Excepted",
- "isSpecialForm": false,
- "isFissile": false,
- "category": "IWhite",
- "transportIndex": 0,
- "certificateRef": "",
- "physicoChemical": "Sealed source, solid",
- "surfaceDoseRate": 0.05,
- "packageDimensions": "string"
},- "specialFeatures": "IsExtraViscousAccordingAdr",
- "consignmentItemCode": "ITEM-9515-4013-AA46"
}
],"predefinedMixedPackingProducts": [
{
- "reference": "MIXPACMOD001",
- "numberOfPackages": 3,
- "unitaryGrossQuantity": 21,
- "consignmentItemCode": "ITEM-9515-4013-AA46"
}
],"onTheFlyMixedPackingProducts": [
{
- "productName": "MIXPACNAM001",
- "productCode": "MIXPACCOD001",
- "numberOfPackages": 3,
- "unitaryGrossQuantity": 21,
- "outerPackageId": 14,
- "outerPackageHomologationId": 43,
"contents": [
{
- "dangerousGoodId": 2301,
- "isEnvironmentallyHazardous": false,
- "physicalState": "Liquid",
- "measureUnit": "kg",
- "pureMixOrSolution": "Pure",
- "mixOrSolutionPercentage": 0,
- "flashPoint": 30.2,
- "density": 1,
- "imdgSegregationGroupId": 0,
- "englishTechnicalName": "XYLENE AND BENZENE",
- "countryOfOriginLanguageTechnicalName": "XILENO Y BENCENO",
- "adrPrincipalLanguageTechnicalName": "XYLOL UND BENZOL",
- "authorizations": "Auth 0001",
- "innerPackageMaterialId": 1,
- "packingInstructionId": 0,
- "strictPackingInstructionCheck": true,
- "numberOfInnerPackages": 3,
- "innerPackageQuantity": 0.1,
- "innerPackageCapacity": 0.5,
- "innerPackageQuantityExplosive": 0,
- "consignmentItemCode": "ITEM-9515-4013-AA46"
}
],- "consignmentItemCode": "ITEM-9515-4013-AA46"
}
],"overpacks": [
{
- "numberOfOverpacks": 2,
"identifiersOfOverpacks": [
- "#OV1",
- "#OV2"
],"predefinedSimpleProducts": [
{
- "reference": "PROMOD001",
- "numberOfPackages": 3,
- "unitaryQuantity": 1.2,
- "unitaryGrossQuantity": 2,
- "unitaryQuantityExplosive": 0,
- "fillingDegree": 100,
- "authorizations": "Auth 0001",
- "innerPackagesNumber": 0,
- "innerPackageQuantity": 0,
- "innerPackageCapacity": 0.5,
- "innerPackageQuantityExplosive": 0,
"radiological": {
"nuclides": [
{
- "radionuclideCode": "Co-60",
- "activityBq": 50000000
}
],- "packageType": "Excepted",
- "isSpecialForm": false,
- "isFissile": false,
- "category": "IWhite",
- "transportIndex": 0,
- "certificateRef": "",
- "physicoChemical": "Sealed source, solid",
- "surfaceDoseRate": 0.05,
- "packageDimensions": "string"
},- "consignmentItemCode": "ITEM-9515-4013-AA46"
}
],"onTheFlySimpleProducts": [
{
- "productName": "PRONAM001",
- "productCode": "PROCOD001",
- "isDangerousGood": true,
- "dangerousGoodId": 2301,
- "isEnvironmentallyHazardous": false,
- "isEmpty": false,
- "physicalState": "Liquid",
- "measureUnit": "kg",
- "pureMixOrSolution": "Pure",
- "mixOrSolutionPercentage": 0,
- "flashPoint": 30.2,
- "controlTemperature": 15,
- "emergencyTemperature": 20,
- "density": 1,
- "numberOfPackages": 3,
- "packageId": 14,
- "packageHomologationId": 43,
- "packingInstructionId": 0,
- "strictPackingInstructionCheck": true,
- "imdgSegregationGroupId": 0,
- "englishTechnicalName": "XYLENE AND BENZENE",
- "countryOfOriginLanguageTechnicalName": "XILENO Y BENCENO",
- "adrPrincipalLanguageTechnicalName": "XYLOL UND BENZOL",
- "hasInnerPackages": false,
- "unitaryQuantity": 1.2,
- "unitaryGrossQuantity": 2,
- "unitaryQuantityExplosive": 0,
- "fillingDegree": 100,
- "authorizations": "Auth 0001",
- "innerPackageMaterialId": 0,
- "innerPackagesNumber": 0,
- "innerPackageQuantity": 0,
- "innerPackageCapacity": 0.5,
- "innerPackageQuantityExplosive": 0,
"radiological": {
"nuclides": [
{
- "radionuclideCode": "Co-60",
- "activityBq": 50000000
}
],- "packageType": "Excepted",
- "isSpecialForm": false,
- "isFissile": false,
- "category": "IWhite",
- "transportIndex": 0,
- "certificateRef": "",
- "physicoChemical": "Sealed source, solid",
- "surfaceDoseRate": 0.05,
- "packageDimensions": "string"
},- "specialFeatures": "IsExtraViscousAccordingAdr",
- "consignmentItemCode": "ITEM-9515-4013-AA46"
}
],"predefinedMixedPackingProducts": [
{
- "reference": "MIXPACMOD001",
- "numberOfPackages": 3,
- "unitaryGrossQuantity": 21,
- "consignmentItemCode": "ITEM-9515-4013-AA46"
}
],"onTheFlyMixedPackingProducts": [
{
- "productName": "MIXPACNAM001",
- "productCode": "MIXPACCOD001",
- "numberOfPackages": 3,
- "unitaryGrossQuantity": 21,
- "outerPackageId": 14,
- "outerPackageHomologationId": 43,
"contents": [
{
- "dangerousGoodId": 2301,
- "isEnvironmentallyHazardous": false,
- "physicalState": "Liquid",
- "measureUnit": "kg",
- "pureMixOrSolution": "Pure",
- "mixOrSolutionPercentage": 0,
- "flashPoint": 30.2,
- "density": 1,
- "imdgSegregationGroupId": 0,
- "englishTechnicalName": "XYLENE AND BENZENE",
- "countryOfOriginLanguageTechnicalName": "XILENO Y BENCENO",
- "adrPrincipalLanguageTechnicalName": "XYLOL UND BENZOL",
- "authorizations": "Auth 0001",
- "innerPackageMaterialId": 1,
- "packingInstructionId": 0,
- "strictPackingInstructionCheck": true,
- "numberOfInnerPackages": 3,
- "innerPackageQuantity": 0.1,
- "innerPackageCapacity": 0.5,
- "innerPackageQuantityExplosive": 0,
- "consignmentItemCode": "ITEM-9515-4013-AA46"
}
],- "consignmentItemCode": "ITEM-9515-4013-AA46"
}
],- "consignmentItemCode": "ITEM-9515-4013-AA46"
}
],- "predefinedLoaderCode": "LOA001",
"onTheFlyLoader": {
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryCode": "GB",
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "Shipping manager"
},- "predefinedCarrierCode": "CAR001",
"onTheFlyCarrier": {
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryCode": "GB",
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "Shipping manager"
},- "driver": "David Martin",
- "vehicleRegistration": "VEHREG 8917",
- "trailerRegistration": "TRAREG 4885",
- "deliveryNoteNumber": "INV0001",
- "emergencyPhone": "+1 888 387 2848",
- "shipperReferenceNumber": "SRN001",
- "freightForwarderReference": "FFN001",
- "additionalInformation": "Contact person: John Smith",
- "isExclusiveUseShipment": false,
"iataData": {
- "airWaybillNumber": "WBN001",
- "airportOfDeparture": "Stewart International Airport",
- "airportOfDestination": "Heathrow",
- "signatureNameAndStatusOfDeclarant": "David Martin - Safety Adviser",
- "signatureDate": "2020-12-31",
- "signaturePlace": "New York"
},"imdgData": {
- "vessel": "VES003",
- "portOfDeparture": "Houston",
- "portOfDischarge": "Hamburg",
- "containerOrVehicleIdentification": "CONID001",
- "sealNumber": "SEALZHN",
- "sizeAndType": "",
- "tareMass": 1002.5,
- "totalGrossMass": 1092.5,
- "packingCertificateCompany": "Cert Comp",
- "packingCertificateNameAndStatusOfDeclarant": "Maria Johnson - Certification Manager",
- "packingCertificateDate": "2020-12-31",
- "packingCertificatePlace": "Houston",
- "signatureCompany": "TransOne Inc.",
- "signatureNameAndStatusOfDeclarant": "David Martin - Safety Adviser",
- "signatureDate": "2020-12-31",
- "signaturePlace": "Houston"
},"adrData": {
"spainData": {
"administrativeControlData": {
- "predefinedContractualShipperCode": "string",
"onTheFlyContractualShipper": {
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryCode": "GB",
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "Shipping manager"
},- "predefinedEffectiveCarrierCode": "string",
"onTheFlyEffectiveCarrier": {
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryCode": "GB",
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "Shipping manager"
},- "specialTransportAuthorization": "string",
- "shipperRemarks": "string",
- "carrierRemarks": "string"
}
}
},"specialFeatures": [
- "ShowRedStripes"
]
}Response samples
{- "newItemId": 23,
- "newItemIsValid": true,
- "success": true,
- "httpStatusCode": 201,
- "message": "Item Created OK",
- "messageType": "Information",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 400,
- "message": "Good not valid",
- "messageType": "Error",
- "parameter": "goods",
- "parameterValue": "GoodX",
- "parameterPosition": "3",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"errors": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
],"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Authentication failed: the credentials of the API user or the access token are not valid",
- "messageType": "Error",
- "parameter": "Authorization",
- "parameterValue": "Value ABC",
- "parameterPosition": "3",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"errors": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
],"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "The account does not have an active license for any dangerous goods regulation",
- "messageType": "Error",
- "parameter": "Regulation Licenses",
- "parameterValue": "string",
- "parameterPosition": "string",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"errors": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
],"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 500,
- "message": "Unexpected Error",
- "messageType": "Error",
- "parameter": "string",
- "parameterValue": "string",
- "parameterPosition": "string",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"errors": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
],"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Get a consignment
Returns the consignment header, participants, items and calculated regulatory data in JSON format. A consignment without products is returned with its header and participants and with an empty items collection.
Note on overpacks: for consignments of every regulation (ADR, IMDG and IATA), the items collection returns each overpack as an item of type Overpack, with the products that it contains nested in its contents. The products of an overpack are not returned as top-level items.
Authorizations:
basicAuth or bearerAuth
HTTP: basicAuth
basicHTTP: bearerAuth
OAuth2 access token obtained from POST /oauth2/token using the client_credentials grant. Send it as Authorization: Bearer <access_token>. The token is opaque: it must not be parsed by the client. It is an alternative transport for the same identity as HTTP Basic, with the same roles and the same licensing, so any operation accepts either scheme.
bearerpath Parameters
| consignmentId required | integer <int64> Example: 48213 Identifier of the consignment. |
query Parameters
| requestGuid | string <= 36 characters Identifier of the request, up to 36 characters, used to trace it and returned in the response. |
Responses
200 Successful request
Successful request
Response Schema: application/json
object (ConsignmentResponseData) Consignment with its participants, items and regulatory calculated data. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| success | boolean Indicates whether the operation completed successfully. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| httpStatusCode | integer <int32> HTTP status code returned by the operation. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| message | string Human-readable message describing the operation result. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| messageType | string Enum: "Information" "Warning" Severity classification of the message. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| requestGuid | string Unique identifier of the request, returned for tracing purposes. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. A warning does not prevent the operation. Omitted when there is no warning. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
400 Bad request: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.
Bad request: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.
Response Schema: application/json
| success | boolean Indicates that the operation did not complete successfully. |
| httpStatusCode | integer <int32> HTTP status code returned by the operation. |
| message | string Human-readable message describing the validation error. |
| messageType | string Enum: "Error" "Warning" "Information" Severity classification of the message. |
| parameter | string Aggregated list of the |
| parameterValue | string Aggregated list of the |
| parameterPosition | string Aggregated list of the |
| requestGuid | string Unique identifier of the request, returned for tracing purposes. |
Array of objects (ApiIssue) Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry. | |
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning. | |
401 Unauthorized
Unauthorized
Response Schema: application/json
| success | boolean Indicates that the operation did not complete successfully. |
| httpStatusCode | integer <int32> HTTP status code returned by the operation. |
| message | string Human-readable message describing the authentication error. |
| messageType | string Enum: "Error" "Warning" "Information" Severity classification of the message. |
| parameter | string Aggregated list of the |
| parameterValue | string Aggregated list of the |
| parameterPosition | string Aggregated list of the |
| requestGuid | string Unique identifier of the request, returned for tracing purposes. |
Array of objects (ApiIssue) The authentication error, with its stable code. | |
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning. | |
403 Forbidden
Forbidden
Response Schema: application/json
| success | boolean Indicates that the operation did not complete successfully. |
| httpStatusCode | integer <int32> HTTP status code returned by the operation. |
| message | string Human-readable message describing why the request is forbidden. |
| messageType | string Enum: "Error" "Warning" "Information" Severity classification of the message. |
| parameter | string Aggregated list of the |
| parameterValue | string Aggregated list of the |
| parameterPosition | string Aggregated list of the |
| requestGuid | string Unique identifier of the request, returned for tracing purposes. |
Array of objects (ApiIssue) Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry. | |
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning. | |
404 Consignment not found
Consignment not found
Response Schema: application/json
| success | boolean Indicates that the operation did not complete successfully. |
| httpStatusCode | integer <int32> HTTP status code returned by the operation. |
| message | string Human-readable message describing the not-found error. |
| messageType | string Enum: "Error" "Warning" "Information" Severity classification of the message. |
| parameter | string Aggregated list of the |
| parameterValue | string Aggregated list of the |
| parameterPosition | string Aggregated list of the |
| requestGuid | string Unique identifier of the request, returned for tracing purposes. |
Array of objects (ApiIssue) Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry. | |
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning. | |
500 Unexpected Error
Unexpected Error
Response Schema: application/json
| success | boolean Indicates that the operation did not complete successfully. |
| httpStatusCode | integer <int32> HTTP status code returned by the operation. |
| message | string Human-readable message describing the unexpected server error. |
| messageType | string Value: "Error" Severity classification of the message. |
| parameter | string Aggregated list of the |
| parameterValue | string Aggregated list of the |
| parameterPosition | string Aggregated list of the |
| requestGuid | string Unique identifier of the request, returned for tracing purposes. |
Array of objects (ApiIssue) Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry. | |
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning. | |
get/consignment/{consignmentId}
Response samples
{"consignmentResponse": {
- "consignmentType": "PackagesAndReceptacles",
- "regulation": "Adr",
- "date": "2020-12-31",
- "workPlaceCode": "WP001",
"shipper": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryCode": "GB",
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"consignee": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryCode": "GB",
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"loader": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryCode": "GB",
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"carrier": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryCode": "GB",
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},- "driver": "David Martin",
- "vehicleRegistration": "VEHREG 8917",
- "trailerRegistration": "TRAREG 4885",
- "deliveryNoteNumber": "INV0001",
- "emergencyPhone": "+1 888 387 2848",
- "shipperReferenceNumber": "SRN001",
- "freightForwarderReference": "FFN001",
- "additionalInformation": "Contact person: John Smith",
"commonDataResponse": {
- "hasDangerousGoods": true
},- "isExclusiveUseShipment": false,
"iataData": {
- "airWaybillNumber": "WBN001",
- "airportOfDeparture": "Stewart International Airport",
- "airportOfDestination": "Heathrow",
- "signatureNameAndStatusOfDeclarant": "David Martin - Safety Adviser",
- "signatureDate": "2020-12-31",
- "signaturePlace": "New York"
},"imdgData": {
- "vessel": "VES003",
- "portOfDeparture": "Houston",
- "portOfDischarge": "Hamburg",
- "containerOrVehicleIdentification": "CONID001",
- "sealNumber": "SEALZHN",
- "sizeAndType": "",
- "tareMass": 1002.5,
- "totalGrossMass": 1092.5,
- "packingCertificateCompany": "Cert Comp",
- "packingCertificateNameAndStatusOfDeclarant": "Maria Johnson - Certification Manager",
- "packingCertificateDate": "2020-12-31",
- "packingCertificatePlace": "Houston",
- "signatureCompany": "TransOne Inc.",
- "signatureNameAndStatusOfDeclarant": "David Martin - Safety Adviser",
- "signatureDate": "2020-12-31",
- "signaturePlace": "Houston"
},"iataDataResponse": {
- "shipmentLimitations": "PAX",
- "isCargoAircraftOnly": false,
- "isRadioactiveShipment": false,
"airWaybillStatements": {
"handlingInformation": [
- "Dangerous goods as per attached Shipper's Declaration"
],"natureAndQuantityOfGoods": [
- "UN 2910, RADIOACTIVE MATERIAL, EXCEPTED PACKAGE - LIMITED QUANTITY OF MATERIAL, Number of Packages: 1"
]
}
},"items": [
{
- "consignmentItemType": "SimpleProduct",
"simpleProduct": {
- "productId": 125431,
- "reference": "REF001",
- "productCode": "PROCOD001",
- "productName": "PRONAM001",
- "isDangerousGood": true,
- "dangerousGoodId": 2301,
- "isEmpty": false,
- "isEnvironmentallyHazardous": true,
- "physicalState": "Liquid",
- "measureUnit": "kg",
- "pureMixOrSolution": "Pure",
- "mixOrSolutionPercentage": 0,
- "flashPoint": 30.2,
- "controlTemperature": 15,
- "emergencyTemperature": 20,
- "density": 1,
- "numberOfPackages": 3,
- "packageId": 14,
- "packageHomologationId": 43,
- "packingInstructionId": 0,
- "imdgSegregationGroupId": 0,
- "technicalName": "XYLENE AND BENZENE",
"technicalNames": {
- "englishTechnicalName": "XYLENE AND BENZENE",
- "spanishTechnicalName": "XILENO Y BENCENO",
- "frenchTechnicalName": "XYLÈNE ET BENZÈNE",
- "germanTechnicalName": "XYLOL UND BENZOL",
- "portugueseTechnicalName": "XILENO E BENZENO",
- "russianTechnicalName": "КСИЛОЛ И БЕНЗОЛ",
- "chineseTechnicalName": "二甲苯和苯",
- "italianTechnicalName": "XILENE E BENZENE",
- "dutchTechnicalName": "XYLEEN EN BENZEEN",
- "turkishTechnicalName": "KSİLEN VE BENZEN",
- "polishTechnicalName": "KSYLEN I BENZEN",
- "swedishTechnicalName": "XYLEN OCH BENSEN",
- "norwegianTechnicalName": "XYLEN OG BENSEN",
- "czechTechnicalName": "XYLEN A BENZEN",
- "danishTechnicalName": "XYLEN OG BENZEN",
- "greekTechnicalName": "ΞΥΛΟΛΙΟ ΚΑΙ ΒΕΝΖΟΛΙΟ",
- "hungarianTechnicalName": "XILOL ÉS BENZOL",
- "slovakTechnicalName": "XYLÉN A BENZÉN",
- "romanianTechnicalName": "XILEN ȘI BENZEN",
- "finnishTechnicalName": "KSYLEENI JA BENTSEENI"
},- "hasInnerPackages": false,
- "unitaryQuantity": 1.2,
- "unitaryGrossQuantity": 2,
- "unitaryQuantityExplosive": 0,
- "fillingDegree": 100,
- "authorizations": "Auth 0001",
- "innerPackageMaterialId": 0,
- "innerPackagesNumber": 0,
- "innerPackageQuantity": 0,
- "innerPackageCapacity": 0.5,
- "innerPackageQuantityExplosive": 0,
"radiological": {
"nuclides": [
{
- "radionuclideCode": "Co-60",
- "activityBq": 50000000
}
],- "packageType": "Excepted",
- "isSpecialForm": false,
- "isFissile": false,
- "category": "IWhite",
- "transportIndex": 0,
- "certificateRef": "",
- "physicoChemical": "Sealed source, solid",
- "surfaceDoseRate": 0.05,
- "packageDimensions": "string"
},- "specialFeatures": "IsExtraViscousAccordingAdr",
- "consignmentItemCode": "ITEM-9515-4013-AA46"
},"mixedPackingProduct": {
- "productId": 125432,
- "productName": "MIXPACNAM001",
- "productCode": "MIXPACCOD001",
- "numberOfPackages": 3,
- "unitaryGrossQuantity": 21,
- "outerPackageId": 14,
- "outerPackageHomologationId": 43,
"contents": [
{
- "isDangerousGood": true,
- "dangerousGoodId": 2301,
- "measureUnit": "kg",
- "pureMixOrSolution": "Pure",
- "mixOrSolutionPercentage": 0,
- "flashPoint": 30.2,
- "density": 1,
- "technicalName": "XYLENE AND BENZENE",
- "authorizations": "Auth 0001",
- "innerPackageMaterialId": 1,
- "packingInstructionId": 0,
- "numberOfInnerPackages": 3,
- "innerPackageQuantity": 0.1,
- "innerPackageCapacity": 0.5,
- "innerPackageQuantityExplosive": 0,
- "consignmentItemCode": "ITEM-9515-4013-AA46",
- "isEnvironmentallyHazardous": true,
- "physicalState": "Liquid",
- "imdgSegregationGroupId": 0,
"technicalNames": {
- "englishTechnicalName": "XYLENE AND BENZENE",
- "spanishTechnicalName": "XILENO Y BENCENO",
- "frenchTechnicalName": "XYLÈNE ET BENZÈNE",
- "germanTechnicalName": "XYLOL UND BENZOL",
- "portugueseTechnicalName": "XILENO E BENZENO",
- "russianTechnicalName": "КСИЛОЛ И БЕНЗОЛ",
- "chineseTechnicalName": "二甲苯和苯",
- "italianTechnicalName": "XILENE E BENZENE",
- "dutchTechnicalName": "XYLEEN EN BENZEEN",
- "turkishTechnicalName": "KSİLEN VE BENZEN",
- "polishTechnicalName": "KSYLEN I BENZEN",
- "swedishTechnicalName": "XYLEN OCH BENSEN",
- "norwegianTechnicalName": "XYLEN OG BENSEN",
- "czechTechnicalName": "XYLEN A BENZEN",
- "danishTechnicalName": "XYLEN OG BENZEN",
- "greekTechnicalName": "ΞΥΛΟΛΙΟ ΚΑΙ ΒΕΝΖΟΛΙΟ",
- "hungarianTechnicalName": "XILOL ÉS BENZOL",
- "slovakTechnicalName": "XYLÉN A BENZÉN",
- "romanianTechnicalName": "XILEN ȘI BENZEN",
- "finnishTechnicalName": "KSYLEENI JA BENTSEENI"
}
}
],- "consignmentItemCode": "ITEM-9515-4013-AA46"
},"overpack": {
- "overpackId": 125430,
- "numberOfOverpacks": 2,
"identifiersOfOverpacks": [
- "#OV1",
- "#OV2"
],"contents": [
- {}
],- "consignmentItemCode": "ITEM-9515-4013-AA46"
},"iataDataItemResponse": {
- "unOrIdNumber": "UN 1203",
- "properShippingName": "Chemical Kits",
- "classOrDivision": "9",
- "packingGroup": "II",
- "quantityAndTypeOfPacking": "1 Fibreboard box x 3kg",
- "packingInstruction": "960",
- "authorizations": "Auth 0001",
- "mixedPackingQValue": 0.1,
- "radiologicalDescription": ""
},"imdgDataItemResponse": {
- "load": "UN 1266, PERFUMERY PRODUCTS (Contains denat alcohol) , 3, III, MARINE POLLUTANT . LIMITED QUANTITY Segregation Group: Without Segregation Group Flash Point (°C): 13 F-E, S-D",
- "quantityAndTypeOfPacking": "6 Fibreboard boxes with 10 Packagings of glass x 1.065 L",
- "netQuantityText": "63.9 L 60.72 kg",
- "grossQuantityText": "66 kg",
- "radiologicalDescription": ""
},"adrDataItemResponse": {
- "load": "UN 2735, AMINES, LIQUID, CORROSIVE, N.O.S. (Contains 3-Aminomethyl-3,5, 5-trimethylcyclohexylamin; trimethylhexane-1, 6-diamine) , 8, II, (E)",
- "quantityAndTypeOfPacking": "1 Fibreboard box",
- "transportCategory": "2",
- "quantityText": "Net: 1.59 L Gross: 15.7 kg",
- "tunnelRestrictionCode": "D/E",
- "radiologicalDescription": ""
}
}
],"adrData": {
"spainData": {
"administrativeControlData": {
"contractualShipper": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryCode": "GB",
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"effectiveCarrier": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryCode": "GB",
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},- "specialTransportAuthorization": "string",
- "shipperRemarks": "string",
- "carrierRemarks": "string",
- "documentUrl": "string"
}
}
},"specialFeatures": [
- "ShowRedStripes"
]
},- "success": true,
- "httpStatusCode": 200,
- "message": "Operation Completed OK",
- "messageType": "Information",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 400,
- "message": "Good not valid",
- "messageType": "Error",
- "parameter": "goods",
- "parameterValue": "GoodX",
- "parameterPosition": "3",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"errors": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
],"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Authentication failed: the credentials of the API user or the access token are not valid",
- "messageType": "Error",
- "parameter": "Authorization",
- "parameterValue": "Value ABC",
- "parameterPosition": "3",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"errors": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
],"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "The account does not have an active license for any dangerous goods regulation",
- "messageType": "Error",
- "parameter": "Regulation Licenses",
- "parameterValue": "string",
- "parameterPosition": "string",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"errors": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
],"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 404,
- "message": "Item not found",
- "messageType": "Error",
- "parameter": "productId",
- "parameterValue": "Prod001",
- "parameterPosition": "3",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"errors": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
],"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 500,
- "message": "Unexpected Error",
- "messageType": "Error",
- "parameter": "string",
- "parameterValue": "string",
- "parameterPosition": "string",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"errors": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
],"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Delete a consignment
Permanently removes the consignment and all its associated items and overpacks. The consignment is removed from its master consignment, its packages are unloaded from every transport equipment, and its live consolidation request is withdrawn when it is pending or rejected when it was accepted. The request is rejected with 400 when the master consignment of the consignment, or one that owns transport equipment carrying its packages, is approved, closed or cancelled.
Authorizations:
basicAuth or bearerAuth
HTTP: basicAuth
basicHTTP: bearerAuth
OAuth2 access token obtained from POST /oauth2/token using the client_credentials grant. Send it as Authorization: Bearer <access_token>. The token is opaque: it must not be parsed by the client. It is an alternative transport for the same identity as HTTP Basic, with the same roles and the same licensing, so any operation accepts either scheme.
bearerpath Parameters
| consignmentId required | integer <int64> Example: 48213 Identifier of the consignment. |
query Parameters
| requestGuid | string <= 36 characters Identifier of the request, up to 36 characters, used to trace it and returned in the response. |
Responses
200 Successful request
Successful request
Response Schema: application/json
| success | boolean Indicates whether the operation completed successfully. |
| httpStatusCode | integer <int32> HTTP status code returned by the operation. |
| message | string Human-readable message describing the operation result. |
| messageType | string Enum: "Information" "Warning" Severity classification of the message. |
| requestGuid | string Unique identifier of the request, returned for tracing purposes. |
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. A warning does not prevent the operation. Omitted when there is no warning. | |
400 Bad request: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.
Bad request: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.
Response Schema: application/json
| success | boolean Indicates that the operation did not complete successfully. |
| httpStatusCode | integer <int32> HTTP status code returned by the operation. |
| message | string Human-readable message describing the validation error. |
| messageType | string Enum: "Error" "Warning" "Information" Severity classification of the message. |
| parameter | string Aggregated list of the |
| parameterValue | string Aggregated list of the |
| parameterPosition | string Aggregated list of the |
| requestGuid | string Unique identifier of the request, returned for tracing purposes. |
Array of objects (ApiIssue) Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry. | |
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning. | |
401 Unauthorized
Unauthorized
Response Schema: application/json
| success | boolean Indicates that the operation did not complete successfully. |
| httpStatusCode | integer <int32> HTTP status code returned by the operation. |
| message | string Human-readable message describing the authentication error. |
| messageType | string Enum: "Error" "Warning" "Information" Severity classification of the message. |
| parameter | string Aggregated list of the |
| parameterValue | string Aggregated list of the |
| parameterPosition | string Aggregated list of the |
| requestGuid | string Unique identifier of the request, returned for tracing purposes. |
Array of objects (ApiIssue) The authentication error, with its stable code. | |
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning. | |
403 Forbidden
Forbidden
Response Schema: application/json
| success | boolean Indicates that the operation did not complete successfully. |
| httpStatusCode | integer <int32> HTTP status code returned by the operation. |
| message | string Human-readable message describing why the request is forbidden. |
| messageType | string Enum: "Error" "Warning" "Information" Severity classification of the message. |
| parameter | string Aggregated list of the |
| parameterValue | string Aggregated list of the |
| parameterPosition | string Aggregated list of the |
| requestGuid | string Unique identifier of the request, returned for tracing purposes. |
Array of objects (ApiIssue) Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry. | |
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning. | |
404 Consignment not found
Consignment not found
Response Schema: application/json
| success | boolean Indicates that the operation did not complete successfully. |
| httpStatusCode | integer <int32> HTTP status code returned by the operation. |
| message | string Human-readable message describing the not-found error. |
| messageType | string Enum: "Error" "Warning" "Information" Severity classification of the message. |
| parameter | string Aggregated list of the |
| parameterValue | string Aggregated list of the |
| parameterPosition | string Aggregated list of the |
| requestGuid | string Unique identifier of the request, returned for tracing purposes. |
Array of objects (ApiIssue) Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry. | |
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning. | |
500 Unexpected Error
Unexpected Error
Response Schema: application/json
| success | boolean Indicates that the operation did not complete successfully. |
| httpStatusCode | integer <int32> HTTP status code returned by the operation. |
| message | string Human-readable message describing the unexpected server error. |
| messageType | string Value: "Error" Severity classification of the message. |
| parameter | string Aggregated list of the |
| parameterValue | string Aggregated list of the |
| parameterPosition | string Aggregated list of the |
| requestGuid | string Unique identifier of the request, returned for tracing purposes. |
Array of objects (ApiIssue) Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry. | |
Array of objects (ApiIssue) Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning. | |
delete/consignment/{consignmentId}
Response samples
{- "success": true,
- "httpStatusCode": 200,
- "message": "Operation Completed OK",
- "messageType": "Information",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 400,
- "message": "Good not valid",
- "messageType": "Error",
- "parameter": "goods",
- "parameterValue": "GoodX",
- "parameterPosition": "3",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"errors": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
],"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Authentication failed: the credentials of the API user or the access token are not valid",
- "messageType": "Error",
- "parameter": "Authorization",
- "parameterValue": "Value ABC",
- "parameterPosition": "3",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"errors": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
],"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "The account does not have an active license for any dangerous goods regulation",
- "messageType": "Error",
- "parameter": "Regulation Licenses",
- "parameterValue": "string",
- "parameterPosition": "string",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"errors": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
],"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 404,
- "message": "Item not found",
- "messageType": "Error",
- "parameter": "productId",
- "parameterValue": "Prod001",
- "parameterPosition": "3",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"errors": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
],"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 500,
- "message": "Unexpected Error",
- "messageType": "Error",
- "parameter": "string",
- "parameterValue": "string",
- "parameterPosition": "string",
- "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
"errors": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
],"warnings": [
{
- "code": "NOT_VALID_VALUE_FOR_PARAMETER",
- "message": "Not valid value for the parameter.",
- "parameter": "onTheFlySimpleProducts.packageId",
- "parameterValue": "48213",
- "parameterPosition": "2",
- "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
- "ruleReference": "IMDG 4.1.4.1 P001",
"segregation": {
- "leftConsignmentId": 48213,
- "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
- "leftTransportEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightTransportEquipmentId": 1208,
- "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}