Consignment notes
CMR, e-CMR and national consignment notes, from the check of the e-CMR Protocol coverage of the route to issue, delivery and cancellation
Check the e-CMR Protocol coverage of a route
Returns whether the countries of taking over and delivery are both parties to the 2008 Additional Protocol to the CMR on the given date (today when omitted), with the date on which each one joined. When one of them is not a party, an international note for that route can only be issued on paper. Transit countries are not evaluated: a printed copy is recommended when the route may cross a country that is not a party.
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
| takingOverCountryCode required | string Example: takingOverCountryCode=ES ISO 3166-1 alpha-2 code of the country of taking over. |
| deliveryCountryCode required | string Example: deliveryCountryCode=FR ISO 3166-1 alpha-2 code of the country of delivery. |
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. |
| date | string <date> Example: date=2026-11-02 Issue date to evaluate, in ISO 8601 format; today when omitted. |
Responses
200 Successful request
Successful request
Response Schema: application/json
object Coverage of the route. | |||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| 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. | |||||||||||||||||||||||||||||||||||||||
Array [
] | |||||||||||||||||||||||||||||||||||||||
400 Bad request
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
get/consignmentNote/coverage
Response samples
{"consignmentNoteCoverage": {
- "isCovered": true,
- "takingOverCountryCode": "ES",
- "takingOverInForceSince": "2011-06-05",
- "deliveryCountryCode": "FR",
- "deliveryInForceSince": "2011-06-05",
- "issueMode": "Electronic",
- "explanation": "Both countries are parties to the Protocol: the note can be issued electronically."
},- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Create a consignment note
Creates a consignment note in status Draft for a consignment and consignee. Parties, vehicle, driver, references and one line per dangerous goods item, with the description of the regulation of the consignment generated, are taken from the consignment; any field given in the request overrides them. There is one note in force per consignment and consignee: a cancelled or failed note can be replaced by a new one, which records the replaced note in replacesConsignmentNoteId. National notes, with taking over and delivery in the same country, are not available in every country: when they are not available in the country of the route, the request is rejected with an error on consignmentNoteType. Consignments under 49 CFR are rejected with 400 until it is available.
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 required | string Identifier of the request, up to 36 characters, used to trace it. |
Request Body schema: application/jsonrequired
consignment note to create from a consignment
| consignmentId required | integer Identifier of the consignment to which the note belongs; it cannot be changed, so on update it must be the consignment of the note. | ||||||||||||||||||||||
| clientReference | string <= 100 characters Identifier of the note in the system of the API client (TMS or ERP); unique in the account and searchable. | ||||||||||||||||||||||
| equipmentId | integer Identifier of the transport equipment (container, swap body or trailer) carried in this leg; its identification and seals are printed on the note (box 18). | ||||||||||||||||||||||
| sealNumbers | Array of strings Seal numbers at loading, checked at unloading; the seals of the transport equipment or of the consignment when omitted. | ||||||||||||||||||||||
| predefinedConsigneeCode | string Code of the Consignee participant (CMR article 6.1 (e); box 2). There is one note per consignment and consignee; the first consignee of the consignment when omitted. | ||||||||||||||||||||||
| consignmentNoteType | string Enum: "InternationalCmr" "National" International CMR or national note; derived from the countries of taking over and delivery when omitted. | ||||||||||||||||||||||
| language | string <= 2 characters ISO 639-1 code of the main language of the printed note; the documents of the note are bilingual with the criterion of the ADR transport document: the main language and the ADR official language configured for the user (English, French or German), unless it is the same as the main language, in which case they are printed in one language only. The language configured for the account when omitted. | ||||||||||||||||||||||
| issuePlace | string <= 100 characters Place where the note is made out (CMR article 6.1 (a); box 21). | ||||||||||||||||||||||
| issueDate | string <date> Date on which the note is made out (CMR article 6.1 (a)), in ISO 8601 format; today when omitted. | ||||||||||||||||||||||
object Place and date of taking over of the goods (CMR article 6.1 (d); box 4); | |||||||||||||||||||||||
| |||||||||||||||||||||||
object Place designated for delivery (CMR article 6.1 (d); box 3). Without a participant the address of the consignee is used; | |||||||||||||||||||||||
Array of objects (ConsignmentNoteCarrier) Carriers of the note. A | |||||||||||||||||||||||
Array [
] | |||||||||||||||||||||||
Array of objects (ConsignmentNoteLine) Goods lines. On creation, one line is generated for each dangerous goods item of the consignment for the consignee, and lines without dangerous goods may be added. On update, the list replaces the current lines. | |||||||||||||||||||||||
Array [
] | |||||||||||||||||||||||
Array of objects (ConsignmentNoteReference) References printed on the note; taken from the references of the consignment when omitted. | |||||||||||||||||||||||
Array [
] | |||||||||||||||||||||||
Array of objects (ConsignmentNoteCharge) Charges (CMR article 6.1 (i); box 20). | |||||||||||||||||||||||
Array [
] | |||||||||||||||||||||||
Array of objects (ConsignmentNoteContact) Signers at loading and delivery and notification contacts, who receive the one-time PIN, the signature link and the signed copy. | |||||||||||||||||||||||
Array [
] | |||||||||||||||||||||||
| shipperInstructions | string <= 500 characters Instructions of the shipper for customs and other formalities (CMR article 6.1 (j); box 13). | ||||||||||||||||||||||
| attachedDocumentsText | string <= 500 characters List of the documents handed to the carrier (CMR article 6.2 (g); box 5); the documents themselves are attachments. | ||||||||||||||||||||||
| paymentInstruction | string Enum: "CarriagePaid" "CarriageForward" Instruction as to payment for carriage (box 14). | ||||||||||||||||||||||
| cashOnDeliveryAmount | number Cash on delivery amount (CMR article 6.2 (c); box 15), in | ||||||||||||||||||||||
| currency | string <= 3 characters ISO 4217 code of the currency of every amount of the note; mandatory when any amount is given. | ||||||||||||||||||||||
| declaredValue | number Declared value of the goods (CMR articles 6.2 (d) and 24), in | ||||||||||||||||||||||
| specialInterestValue | number Amount representing a special interest in delivery (CMR articles 6.2 (d) and 26), in | ||||||||||||||||||||||
| insuranceInstructions | string <= 250 characters Instructions of the shipper regarding insurance of the goods (CMR article 6.2 (e)). | ||||||||||||||||||||||
| agreedTimeLimit | string <= 100 characters Agreed time limit within which the carriage is to be carried out (CMR article 6.2 (f)). | ||||||||||||||||||||||
| isTranshipmentForbidden | boolean Default: false True when transhipment is not permitted (CMR article 6.2 (a)). | ||||||||||||||||||||||
| specialAgreements | string <= 500 characters Special agreements between the shipper and the carrier (box 19). | ||||||||||||||||||||||
| incoterm | string <= 3 characters Incoterms 2020 rule, three letters. | ||||||||||||||||||||||
| incotermPlace | string <= 100 characters Named place of the Incoterms rule. | ||||||||||||||||||||||
| temperatureInstructions | string <= 100 characters Temperature instructions for the carrier (goods under temperature control, ADR 7.1.7, and refrigerated equipment). | ||||||||||||||||||||||
| otherParticulars | string <= 500 characters Other useful particulars (CMR article 6.3; box 18), such as batches or SSCC. | ||||||||||||||||||||||
| driverInstructions | string <= 500 characters Operational instructions shown to the driver and not printed on the note. | ||||||||||||||||||||||
object Data of ADR of the note: the statement of ADR 5.4.1.1.1 (f), in responses, and the data that only Spain requires. | |||||||||||||||||||||||
| |||||||||||||||||||||||
Responses
201 Created
Created
Response Schema: application/json
| newItemId | integer 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. | |
400 Bad request
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment, participant, transport equipment or consignment item not found
Consignment, participant, transport equipment or consignment item 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. Omitted when there is no warning. | |
409 Conflict
Conflict
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 conflict with the current state of the resource. |
| 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. Omitted when there is no warning. | |
post/consignmentNote
Request samples
{- "consignmentId": 48213,
- "clientReference": "TMS-889201",
- "equipmentId": 1207,
"sealNumbers": [
- "S-1"
],- "predefinedConsigneeCode": "CON001",
- "consignmentNoteType": "InternationalCmr",
- "language": "es",
- "issuePlace": "Valencia",
- "issueDate": "2026-11-02",
"takingOver": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"delivery": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"carriers": [
{
- "carrierType": "Contractual",
- "sequence": 1,
- "predefinedCarrierCode": "CAR001",
- "vehicleRegistration": "1234 KLM",
- "vehicleRegistrationCountryCode": "ES",
- "trailerRegistration": "R-5678-BBC",
- "trailerRegistrationCountryCode": "ES",
- "predefinedDriverCode": "DRI001",
- "driverName": "Andres Carrasco",
- "driverPhone": "+34 600 111 222",
- "remarks": "Two drums dented"
}
],"lines": [
{
- "sequence": 1,
- "consignmentItemCode": "ITEM-9515-4013-AA46",
- "description": "UN 1263 PAINT, 3, III, (D/E)",
- "marksAndNumbers": "PAINT-001/004",
- "productCode": "PROCOD001",
- "numberOfPackages": 4,
- "packageTypeCode": "DR",
- "packingText": "2 pallets",
- "grossQuantity": 88,
- "volume": 0.4,
- "hsCode": "3208 10"
}
],"references": [
{
- "referenceType": "ShipperOrder",
- "value": "PO-9001"
}
],"charges": [
{
- "chargeType": "Carriage",
- "amount": 850,
- "payer": "Shipper"
}
],"contacts": [
{
- "contactType": "TakingOverSigner",
- "name": "L. Ferrer",
- "phone": "+34 600 333 444",
- "email": "ferrer@example.com",
- "receivesSignedCopy": true,
- "receivesEvents": false
}
],- "shipperInstructions": "Customs clearance at destination",
- "attachedDocumentsText": "Commercial invoice, safety data sheet",
- "paymentInstruction": "CarriagePaid",
- "cashOnDeliveryAmount": 0,
- "currency": "EUR",
- "declaredValue": 12500,
- "specialInterestValue": 0,
- "insuranceInstructions": "Insured by the shipper",
- "agreedTimeLimit": "48 hours",
- "isTranshipmentForbidden": false,
- "specialAgreements": "Delivery by appointment",
- "incoterm": "DAP",
- "incotermPlace": "Hamburg",
- "temperatureInstructions": "Keep below 25 degrees Celsius",
- "otherParticulars": "Batch 2026-117",
- "driverInstructions": "Call the warehouse 30 minutes before arrival",
"adrData": {
"spainData": {
- "decaMode": "NotApplicable"
}
}
}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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 409,
- "message": "Only a master consignment in draft or cancelled status can be deleted.",
- "messageType": "Error",
- "parameter": "masterConsignmentId",
- "parameterValue": "1234",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Search the consignment notes of the account
Returns a page of the consignment notes of the account, filtered by number, consignment, type, status, client reference, issue mode, dates and errors.
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 required | string Identifier of the request, up to 36 characters, used to trace it. |
| consignmentNoteNumber | string Example: consignmentNoteNumber=CP-2026-0118 Number of the note, exact match. |
| consignmentId | integer <int64> Example: consignmentId=48213 Identifier of a consignment, to return only its notes. |
| consignmentNoteType | string (ConsignmentNoteType) Enum: "InternationalCmr" "National" International CMR or national note. |
| status | string (ConsignmentNoteStatus) Enum: "Draft" "Validated" "Issued" "InProgress" "Delivered" "Cancelled" "Failed" Status of the note. |
| clientReference | string Example: clientReference=TMS-889201 Identifier of the note in the system of the client, exact match. |
| hasError | boolean True to return only the notes whose last issue or synchronisation failed. |
| issueMode | string (ConsignmentNoteIssueMode) Enum: "Electronic" "Paper" Electronic note or paper. |
| dateFrom | string <date> Example: dateFrom=2026-11-01 Earliest issue date, inclusive, in ISO 8601 format. |
| dateTo | string <date> Example: dateTo=2026-11-30 Latest issue date, inclusive, in ISO 8601 format. |
| page | integer Default: 1 Example: page=1 Page number, starting at 1. |
| pageSize | integer [ 1 .. 200 ] Default: 50 Example: pageSize=50 Number of items per page, between 1 and 200. |
Responses
200 Successful request
Successful request
Response Schema: application/json
Array of objects (ConsignmentNoteSummary) Consignment notes found on the page. | |||||||||||||||||||||||||||||
Array [
] | |||||||||||||||||||||||||||||
| page | integer Page returned, starting at 1. | ||||||||||||||||||||||||||||
| pageSize | integer Number of items per page applied to the search. | ||||||||||||||||||||||||||||
| total | integer Total number of items that match the filters, across all pages. | ||||||||||||||||||||||||||||
| 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
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
get/consignmentNote
Response samples
{"consignmentNotes": [
{
- "consignmentNoteId": 5120,
- "consignmentNoteNumber": "CP-2026-0118",
- "consignmentNoteType": "InternationalCmr",
- "status": "Draft",
- "consignmentId": 48213,
- "consignmentNumber": "445",
- "shipperName": "Pinturas Levante S.L.",
- "consigneeName": "Farben Nord GmbH",
- "takingOverText": "Valencia, Spain",
- "takingOverOn": "2026-11-02T10:00:00Z",
- "deliveryText": "Hamburg, Germany",
- "hasError": true,
- "issueMode": "Electronic",
- "issuedOn": "2026-11-02T10:00:00Z"
}
],- "page": 1,
- "pageSize": 50,
- "total": 137,
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Get a consignment note
Returns the consignment note with its carriers, lines, charges, attachments and issue state.
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
| consignmentNoteId required | integer <int64> Example: 5120 Identifier of the consignment note. |
query Parameters
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. |
Responses
200 Successful request
Successful request
Response Schema: application/json
object (ConsignmentNoteResponseData) Consignment note with its parties, carriers, lines, attachments and issue state. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment note not found
Consignment note 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. Omitted when there is no warning. | |
get/consignmentNote/{consignmentNoteId}
Response samples
{"consignmentNoteResponse": {
- "consignmentId": 48213,
- "clientReference": "TMS-889201",
- "equipmentId": 1207,
"sealNumbers": [
- "S-1"
],- "predefinedConsigneeCode": "CON001",
- "consignmentNoteType": "InternationalCmr",
- "language": "es",
- "issuePlace": "Valencia",
- "issueDate": "2026-11-02",
"takingOver": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"delivery": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"carriers": [
{
- "carrierType": "Contractual",
- "sequence": 1,
- "predefinedCarrierCode": "CAR001",
- "vehicleRegistration": "1234 KLM",
- "vehicleRegistrationCountryCode": "ES",
- "trailerRegistration": "R-5678-BBC",
- "trailerRegistrationCountryCode": "ES",
- "predefinedDriverCode": "DRI001",
- "driverName": "Andres Carrasco",
- "driverPhone": "+34 600 111 222",
- "remarks": "Two drums dented",
- "consignmentNoteCarrierId": 6601,
"carrier": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"driver": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
}
}
],"lines": [
{
- "sequence": 1,
- "consignmentItemCode": "ITEM-9515-4013-AA46",
- "description": "UN 1263 PAINT, 3, III, (D/E)",
- "marksAndNumbers": "PAINT-001/004",
- "productCode": "PROCOD001",
- "numberOfPackages": 4,
- "packageTypeCode": "DR",
- "packingText": "2 pallets",
- "grossQuantity": 88,
- "volume": 0.4,
- "hsCode": "3208 10",
- "lineId": 9811,
- "isDangerousGood": true,
- "identificationNumber": "UN1263",
- "classOrDivision": "3",
- "packingGroup": "III",
"adrData": {
- "dangerousGoodsText": "ENVIRONMENTALLY HAZARDOUS",
- "tunnelRestrictionCode": "D/E",
- "transportCategory": "0"
}
}
],"references": [
{
- "referenceType": "ShipperOrder",
- "value": "PO-9001"
}
],"charges": [
{
- "chargeType": "Carriage",
- "amount": 850,
- "payer": "Shipper"
}
],"contacts": [
{
- "contactType": "TakingOverSigner",
- "name": "L. Ferrer",
- "phone": "+34 600 333 444",
- "email": "ferrer@example.com",
- "receivesSignedCopy": true,
- "receivesEvents": false
}
],- "shipperInstructions": "Customs clearance at destination",
- "attachedDocumentsText": "Commercial invoice, safety data sheet",
- "paymentInstruction": "CarriagePaid",
- "cashOnDeliveryAmount": 0,
- "currency": "EUR",
- "declaredValue": 12500,
- "specialInterestValue": 0,
- "insuranceInstructions": "Insured by the shipper",
- "agreedTimeLimit": "48 hours",
- "isTranshipmentForbidden": false,
- "specialAgreements": "Delivery by appointment",
- "incoterm": "DAP",
- "incotermPlace": "Hamburg",
- "temperatureInstructions": "Keep below 25 degrees Celsius",
- "otherParticulars": "Batch 2026-117",
- "driverInstructions": "Call the warehouse 30 minutes before arrival",
"adrData": {
- "summaryText": "Transport category 3: 80 L, calculated value 80",
"spainData": {
- "decaMode": "NotApplicable"
}
},- "consignmentNoteId": 5120,
- "consignmentNoteNumber": "CP-2026-0118",
- "status": "Draft",
- "replacesConsignmentNoteId": 5119,
- "consignmentNumber": "445",
- "equipmentIdentification": "MSCU1234566",
"shipper": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "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",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"contractualShipper": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"takingOverParticipant": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"deliveryParticipant": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"attachments": [
{
- "attachmentId": 771,
- "attachmentType": "TransportDocument",
- "fileName": "delivery-note.pdf",
- "contentType": "application/pdf",
- "isCarriedWithNote": true,
- "documentSnapshotId": 3312,
- "uploadedOn": "2026-11-02T10:00:00Z"
}
],"issueState": {
- "issueMode": "Electronic",
- "paperReason": "RouteNotCovered",
- "syncedOn": "2026-11-02T10:00:00Z",
- "lastErrorType": "Validation",
- "lastError": "string",
- "hasPendingChanges": true
},- "issuedOn": "2026-11-02T10:00:00Z",
- "completedOn": "2026-11-04T15:30:00Z",
- "createdOn": "2026-11-02T10:00:00Z",
- "updatedOn": "2026-11-02T10:00:00Z"
},- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Update a consignment note
Updates the data of the note while its status is Draft, Validated or Failed; the lists (carriers, lines, references and charges) replace the current ones. The consignment of the note cannot change. After issue the data is locked: changes are recorded as events, and a substantive correction requires cancelling the note and issuing a new one. A change that leaves taking over and delivery in the same country, where national notes are not available, is rejected with an error on consignmentNoteType.
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
| consignmentNoteId required | integer <int64> Example: 5120 Identifier of the consignment note. |
query Parameters
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. |
Request Body schema: application/jsonrequired
consignment note data that replace the current ones
| consignmentId required | integer Identifier of the consignment to which the note belongs; it cannot be changed, so on update it must be the consignment of the note. |
| clientReference | string <= 100 characters Identifier of the note in the system of the API client (TMS or ERP); unique in the account and searchable. |
| equipmentId | integer Identifier of the transport equipment (container, swap body or trailer) carried in this leg; its identification and seals are printed on the note (box 18). |
| sealNumbers | Array of strings Seal numbers at loading, checked at unloading; the seals of the transport equipment or of the consignment when omitted. |
| predefinedConsigneeCode | string Code of the Consignee participant (CMR article 6.1 (e); box 2). There is one note per consignment and consignee; the first consignee of the consignment when omitted. |
| consignmentNoteType | string Enum: "InternationalCmr" "National" International CMR or national note; derived from the countries of taking over and delivery when omitted. |
| language | string <= 2 characters ISO 639-1 code of the main language of the printed note; the documents of the note are bilingual with the criterion of the ADR transport document: the main language and the ADR official language configured for the user (English, French or German), unless it is the same as the main language, in which case they are printed in one language only. The language configured for the account when omitted. |
| issuePlace | string <= 100 characters Place where the note is made out (CMR article 6.1 (a); box 21). |
| issueDate | string <date> Date on which the note is made out (CMR article 6.1 (a)), in ISO 8601 format; today when omitted. |
object Place and date of taking over of the goods (CMR article 6.1 (d); box 4); | |
object Place designated for delivery (CMR article 6.1 (d); box 3). Without a participant the address of the consignee is used; | |
Array of objects (ConsignmentNoteCarrier) Carriers of the note. A | |
Array of objects (ConsignmentNoteLine) Goods lines. On creation, one line is generated for each dangerous goods item of the consignment for the consignee, and lines without dangerous goods may be added. On update, the list replaces the current lines. | |
Array of objects (ConsignmentNoteReference) References printed on the note; taken from the references of the consignment when omitted. | |
Array of objects (ConsignmentNoteCharge) Charges (CMR article 6.1 (i); box 20). | |
Array of objects (ConsignmentNoteContact) Signers at loading and delivery and notification contacts, who receive the one-time PIN, the signature link and the signed copy. | |
| shipperInstructions | string <= 500 characters Instructions of the shipper for customs and other formalities (CMR article 6.1 (j); box 13). |
| attachedDocumentsText | string <= 500 characters List of the documents handed to the carrier (CMR article 6.2 (g); box 5); the documents themselves are attachments. |
| paymentInstruction | string Enum: "CarriagePaid" "CarriageForward" Instruction as to payment for carriage (box 14). |
| cashOnDeliveryAmount | number Cash on delivery amount (CMR article 6.2 (c); box 15), in |
| currency | string <= 3 characters ISO 4217 code of the currency of every amount of the note; mandatory when any amount is given. |
| declaredValue | number Declared value of the goods (CMR articles 6.2 (d) and 24), in |
| specialInterestValue | number Amount representing a special interest in delivery (CMR articles 6.2 (d) and 26), in |
| insuranceInstructions | string <= 250 characters Instructions of the shipper regarding insurance of the goods (CMR article 6.2 (e)). |
| agreedTimeLimit | string <= 100 characters Agreed time limit within which the carriage is to be carried out (CMR article 6.2 (f)). |
| isTranshipmentForbidden | boolean Default: false True when transhipment is not permitted (CMR article 6.2 (a)). |
| specialAgreements | string <= 500 characters Special agreements between the shipper and the carrier (box 19). |
| incoterm | string <= 3 characters Incoterms 2020 rule, three letters. |
| incotermPlace | string <= 100 characters Named place of the Incoterms rule. |
| temperatureInstructions | string <= 100 characters Temperature instructions for the carrier (goods under temperature control, ADR 7.1.7, and refrigerated equipment). |
| otherParticulars | string <= 500 characters Other useful particulars (CMR article 6.3; box 18), such as batches or SSCC. |
| driverInstructions | string <= 500 characters Operational instructions shown to the driver and not printed on the note. |
object Data of ADR of the note: the statement of ADR 5.4.1.1.1 (f), in responses, and the data that only Spain requires. | |
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
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment note, participant, transport equipment or consignment item not found
Consignment note, participant, transport equipment or consignment item 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. Omitted when there is no warning. | |
409 Conflict
Conflict
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 conflict with the current state of the resource. |
| 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. Omitted when there is no warning. | |
put/consignmentNote/{consignmentNoteId}
Request samples
{- "consignmentId": 48213,
- "clientReference": "TMS-889201",
- "equipmentId": 1207,
"sealNumbers": [
- "S-1"
],- "predefinedConsigneeCode": "CON001",
- "consignmentNoteType": "InternationalCmr",
- "language": "es",
- "issuePlace": "Valencia",
- "issueDate": "2026-11-02",
"takingOver": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"delivery": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"carriers": [
{
- "carrierType": "Contractual",
- "sequence": 1,
- "predefinedCarrierCode": "CAR001",
- "vehicleRegistration": "1234 KLM",
- "vehicleRegistrationCountryCode": "ES",
- "trailerRegistration": "R-5678-BBC",
- "trailerRegistrationCountryCode": "ES",
- "predefinedDriverCode": "DRI001",
- "driverName": "Andres Carrasco",
- "driverPhone": "+34 600 111 222",
- "remarks": "Two drums dented"
}
],"lines": [
{
- "sequence": 1,
- "consignmentItemCode": "ITEM-9515-4013-AA46",
- "description": "UN 1263 PAINT, 3, III, (D/E)",
- "marksAndNumbers": "PAINT-001/004",
- "productCode": "PROCOD001",
- "numberOfPackages": 4,
- "packageTypeCode": "DR",
- "packingText": "2 pallets",
- "grossQuantity": 88,
- "volume": 0.4,
- "hsCode": "3208 10"
}
],"references": [
{
- "referenceType": "ShipperOrder",
- "value": "PO-9001"
}
],"charges": [
{
- "chargeType": "Carriage",
- "amount": 850,
- "payer": "Shipper"
}
],"contacts": [
{
- "contactType": "TakingOverSigner",
- "name": "L. Ferrer",
- "phone": "+34 600 333 444",
- "email": "ferrer@example.com",
- "receivesSignedCopy": true,
- "receivesEvents": false
}
],- "shipperInstructions": "Customs clearance at destination",
- "attachedDocumentsText": "Commercial invoice, safety data sheet",
- "paymentInstruction": "CarriagePaid",
- "cashOnDeliveryAmount": 0,
- "currency": "EUR",
- "declaredValue": 12500,
- "specialInterestValue": 0,
- "insuranceInstructions": "Insured by the shipper",
- "agreedTimeLimit": "48 hours",
- "isTranshipmentForbidden": false,
- "specialAgreements": "Delivery by appointment",
- "incoterm": "DAP",
- "incotermPlace": "Hamburg",
- "temperatureInstructions": "Keep below 25 degrees Celsius",
- "otherParticulars": "Batch 2026-117",
- "driverInstructions": "Call the warehouse 30 minutes before arrival",
"adrData": {
"spainData": {
- "decaMode": "NotApplicable"
}
}
}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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 409,
- "message": "Only a master consignment in draft or cancelled status can be deleted.",
- "messageType": "Error",
- "parameter": "masterConsignmentId",
- "parameterValue": "1234",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Delete a consignment note
Deletes a note in status Draft, Validated or Failed that has not been issued.
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
| consignmentNoteId required | integer <int64> Example: 5120 Identifier of the consignment note. |
query Parameters
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. |
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
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment note not found
Consignment note 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. Omitted when there is no warning. | |
409 Conflict
Conflict
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 conflict with the current state of the resource. |
| 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. Omitted when there is no warning. | |
delete/consignmentNote/{consignmentNoteId}
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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 409,
- "message": "Only a master consignment in draft or cancelled status can be deleted.",
- "messageType": "Error",
- "parameter": "masterConsignmentId",
- "parameterValue": "1234",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Add an attachment to a consignment note
Stores the file, or generates it for TransportDocument, and, when the note is already issued and isCarriedWithNote is true, attaches it to the electronic note. When fileName is omitted, the application generates it.
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
| consignmentNoteId required | integer <int64> Example: 5120 Identifier of the consignment note. |
query Parameters
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. |
Request Body schema: application/jsonrequired
attachment to add
| attachmentType required | string Enum: "TransportDocument" "DeliveryNote" "Invoice" "Certificate" "Deca" "Other" Kind of attachment. |
| fileName | string <= 200 characters Name of the file shown to the driver and the consignee. When omitted, the application generates one. |
| contentType | string <= 60 characters MIME type of the content; when given, it must match the type detected in the content. |
| base64EncodedContent | string Content of the file, base 64 encoded; not needed for |
| isCarriedWithNote | boolean Default: true True to attach the file to the electronic note so that the driver carries it; true when omitted. |
Responses
201 Created
Created
Response Schema: application/json
| newItemId | integer 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. | |
400 Bad request
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment note not found
Consignment note 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. Omitted when there is no warning. | |
409 Conflict
Conflict
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 conflict with the current state of the resource. |
| 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. Omitted when there is no warning. | |
post/consignmentNote/{consignmentNoteId}/attachment
Request samples
{- "attachmentType": "TransportDocument",
- "fileName": "delivery-note.pdf",
- "contentType": "application/pdf",
- "base64EncodedContent": "string",
- "isCarriedWithNote": true
}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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 409,
- "message": "Only a master consignment in draft or cancelled status can be deleted.",
- "messageType": "Error",
- "parameter": "masterConsignmentId",
- "parameterValue": "1234",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}List the attachments of a consignment note
Returns the attachments of the note without their content.
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
| consignmentNoteId required | integer <int64> Example: 5120 Identifier of the consignment note. |
query Parameters
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. |
Responses
200 Successful request
Successful request
Response Schema: application/json
Array of objects (ConsignmentNoteAttachmentResponse) Attachments of the note. | |
| 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
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment note not found
Consignment note 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. Omitted when there is no warning. | |
get/consignmentNote/{consignmentNoteId}/attachment
Response samples
{"consignmentNoteAttachments": [
{
- "attachmentId": 771,
- "attachmentType": "TransportDocument",
- "fileName": "delivery-note.pdf",
- "contentType": "application/pdf",
- "isCarriedWithNote": true,
- "documentSnapshotId": 3312,
- "uploadedOn": "2026-11-02T10:00:00Z"
}
],- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Delete an attachment of a consignment note
Removes the attachment from the note; when it travels with the electronic note, it is also withdrawn from it.
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
| consignmentNoteId required | integer <int64> Example: 5120 Identifier of the consignment note. |
| attachmentId required | integer <int64> Example: 771 Identifier of the attachment of the consignment note. |
query Parameters
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. |
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
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment note or attachment not found
Consignment note or attachment 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. Omitted when there is no warning. | |
409 Conflict
Conflict
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 conflict with the current state of the resource. |
| 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. Omitted when there is no warning. | |
delete/consignmentNote/{consignmentNoteId}/attachment/{attachmentId}
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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 409,
- "message": "Only a master consignment in draft or cancelled status can be deleted.",
- "messageType": "Error",
- "parameter": "masterConsignmentId",
- "parameterValue": "1234",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Validate a consignment note
Checks the note in one pass: parties with a complete address and ISO country, places of taking over and delivery, at least one line with packages and gross mass, the ADR description of every dangerous line, a contractual carrier with a vehicle registration, the currency when amounts are given, that national notes are available in the country of the route and, for international notes, the coverage of the eCMR Protocol on the issue date. Warnings, such as a plate without a country, are also returned. When there are no errors, the status of the note becomes Validated; nothing else is modified.
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
| consignmentNoteId required | integer <int64> Example: 5120 Identifier of the consignment note. |
query Parameters
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. |
Responses
200 Successful request
Successful request
Response Schema: application/json
| newItemId | integer or null Always null: the validation service does not create any item. |
| newItemIsValid | boolean Indicates whether the product passed the complete regulatory validation. |
| 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
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment note not found
Consignment note 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. Omitted when there is no warning. | |
409 Conflict
Conflict
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 conflict with the current state of the resource. |
| 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. Omitted when there is no warning. | |
post/consignmentNote/{consignmentNoteId}/validate
Response samples
{- "newItemId": 0,
- "newItemIsValid": true,
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 409,
- "message": "Only a master consignment in draft or cancelled status can be deleted.",
- "messageType": "Error",
- "parameter": "masterConsignmentId",
- "parameterValue": "1234",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Issue a consignment note
Validates the note and issues it with the attachments marked to travel with it, assigns its number and records the Issued event; nothing is issued when the validation fails, and every problem is returned at once. An international note whose route is not covered by the eCMR Protocol is issued on paper (issueMode Paper, paperReason RouteNotCovered), and so is a note that the account cannot issue electronically, because the user has no electronic consignment note licence or no electronic note service is configured for the account (paperReason ElectronicIssueNotEnabled): the application generates a printable note numbered by the application, and the delivery is recorded with the paper delivery operation. An international note issued electronically returns a warning that recommends carrying a printed copy, because the route may cross countries that are not parties to the Protocol. An issued note cannot be issued again. A cancelled note cannot be issued either: a new note of the same consignment and consignee replaces it, and its replacesConsignmentNoteId identifies the cancelled one. When the issue fails, the note becomes Failed and lastError describes the reason. requestGuid is also the idempotency key of the issue, for this note and while it remains issued: repeating the request with the same value returns the note as it is, without issuing it again, even when the body differs; another value on an issued note is rejected with 409. While the issue waits for the electronic note, a repetition with the same value is also rejected with 409 and must be retried later. Every property of the request body is optional; send an empty object to use the defaults. While the issue waits for the answer of the electronic note service, a new issue, a change, the cancellation or the deletion of the note is rejected with 409; if the note was cancelled or issued again in the meantime, the request is rejected with 409 and the note is not issued.
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
| consignmentNoteId required | integer <int64> Example: 5120 Identifier of the consignment note. |
query Parameters
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. This operation also uses it as an idempotency key, as its description explains. |
Request Body schema: application/jsonrequired
issue parameters, or an empty object to use the defaults
| signatureMethod | string <= 30 characters Signature method: |
| sendToDriver | boolean Default: true True to send the access code to the phone of the driver at issue, so that the driver can open the note; true when omitted. |
object DeCA mode in | |
Responses
200 Successful request
Successful request
Response Schema: application/json
object (ConsignmentNoteResponseData) Consignment note with its parties, carriers, lines, attachments and issue state. | |
| 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
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment note not found
Consignment note 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. Omitted when there is no warning. | |
409 Conflict
Conflict
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 conflict with the current state of the resource. |
| 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. Omitted when there is no warning. | |
post/consignmentNote/{consignmentNoteId}/issue
Request samples
{- "signatureMethod": "SignOnGlass",
- "sendToDriver": true,
"adrData": {
"spainData": {
- "decaMode": "NotApplicable"
}
}
}Response samples
{"consignmentNoteResponse": {
- "consignmentId": 48213,
- "clientReference": "TMS-889201",
- "equipmentId": 1207,
"sealNumbers": [
- "S-1"
],- "predefinedConsigneeCode": "CON001",
- "consignmentNoteType": "InternationalCmr",
- "language": "es",
- "issuePlace": "Valencia",
- "issueDate": "2026-11-02",
"takingOver": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"delivery": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"carriers": [
{
- "carrierType": "Contractual",
- "sequence": 1,
- "predefinedCarrierCode": "CAR001",
- "vehicleRegistration": "1234 KLM",
- "vehicleRegistrationCountryCode": "ES",
- "trailerRegistration": "R-5678-BBC",
- "trailerRegistrationCountryCode": "ES",
- "predefinedDriverCode": "DRI001",
- "driverName": "Andres Carrasco",
- "driverPhone": "+34 600 111 222",
- "remarks": "Two drums dented",
- "consignmentNoteCarrierId": 6601,
"carrier": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"driver": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
}
}
],"lines": [
{
- "sequence": 1,
- "consignmentItemCode": "ITEM-9515-4013-AA46",
- "description": "UN 1263 PAINT, 3, III, (D/E)",
- "marksAndNumbers": "PAINT-001/004",
- "productCode": "PROCOD001",
- "numberOfPackages": 4,
- "packageTypeCode": "DR",
- "packingText": "2 pallets",
- "grossQuantity": 88,
- "volume": 0.4,
- "hsCode": "3208 10",
- "lineId": 9811,
- "isDangerousGood": true,
- "identificationNumber": "UN1263",
- "classOrDivision": "3",
- "packingGroup": "III",
"adrData": {
- "dangerousGoodsText": "ENVIRONMENTALLY HAZARDOUS",
- "tunnelRestrictionCode": "D/E",
- "transportCategory": "0"
}
}
],"references": [
{
- "referenceType": "ShipperOrder",
- "value": "PO-9001"
}
],"charges": [
{
- "chargeType": "Carriage",
- "amount": 850,
- "payer": "Shipper"
}
],"contacts": [
{
- "contactType": "TakingOverSigner",
- "name": "L. Ferrer",
- "phone": "+34 600 333 444",
- "email": "ferrer@example.com",
- "receivesSignedCopy": true,
- "receivesEvents": false
}
],- "shipperInstructions": "Customs clearance at destination",
- "attachedDocumentsText": "Commercial invoice, safety data sheet",
- "paymentInstruction": "CarriagePaid",
- "cashOnDeliveryAmount": 0,
- "currency": "EUR",
- "declaredValue": 12500,
- "specialInterestValue": 0,
- "insuranceInstructions": "Insured by the shipper",
- "agreedTimeLimit": "48 hours",
- "isTranshipmentForbidden": false,
- "specialAgreements": "Delivery by appointment",
- "incoterm": "DAP",
- "incotermPlace": "Hamburg",
- "temperatureInstructions": "Keep below 25 degrees Celsius",
- "otherParticulars": "Batch 2026-117",
- "driverInstructions": "Call the warehouse 30 minutes before arrival",
"adrData": {
- "summaryText": "Transport category 3: 80 L, calculated value 80",
"spainData": {
- "decaMode": "NotApplicable"
}
},- "consignmentNoteId": 5120,
- "consignmentNoteNumber": "CP-2026-0118",
- "status": "Draft",
- "replacesConsignmentNoteId": 5119,
- "consignmentNumber": "445",
- "equipmentIdentification": "MSCU1234566",
"shipper": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "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",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"contractualShipper": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"takingOverParticipant": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"deliveryParticipant": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"attachments": [
{
- "attachmentId": 771,
- "attachmentType": "TransportDocument",
- "fileName": "delivery-note.pdf",
- "contentType": "application/pdf",
- "isCarriedWithNote": true,
- "documentSnapshotId": 3312,
- "uploadedOn": "2026-11-02T10:00:00Z"
}
],"issueState": {
- "issueMode": "Electronic",
- "paperReason": "RouteNotCovered",
- "syncedOn": "2026-11-02T10:00:00Z",
- "lastErrorType": "Validation",
- "lastError": "string",
- "hasPendingChanges": true
},- "issuedOn": "2026-11-02T10:00:00Z",
- "completedOn": "2026-11-04T15:30:00Z",
- "createdOn": "2026-11-02T10:00:00Z",
- "updatedOn": "2026-11-02T10:00:00Z"
},- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 409,
- "message": "Only a master consignment in draft or cancelled status can be deleted.",
- "messageType": "Error",
- "parameter": "masterConsignmentId",
- "parameterValue": "1234",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Get a document of a consignment note
Returns the requested document base 64 encoded. SignedPdf and EvidenceReport are stored once, the signed PDF as soon as the delivery is notified, so later requests return the same document. A user who can only read the account of the note gets the stored document when there is one, or a document generated for the request that is not stored.
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
| consignmentNoteId required | integer <int64> Example: 5120 Identifier of the consignment note. |
query Parameters
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. |
Request Body schema: application/jsonrequired
document to return
| documentType required | string Enum: "DraftPdf" "SignedPdf" "Deca" "TransportDocument" "EvidenceReport" Document to return. |
| language | string <= 2 characters ISO 639-1 code of the language of the documents that the application generates ( |
Responses
200 Successful request
Successful request
Response Schema: application/json
object Base 64 encoded representation of the generated document. | |||||
| |||||
| 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
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment note not found or document not available yet
Consignment note not found or document not available yet
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. Omitted when there is no warning. | |
409 Conflict
Conflict
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 conflict with the current state of the resource. |
| 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. Omitted when there is no warning. | |
post/consignmentNote/{consignmentNoteId}/document
Request samples
{- "documentType": "DraftPdf",
- "language": "en"
}Response samples
{"base64EncodedFile": {
- "base64EncodedContent": "SGVsbG8=",
- "contentType": "text/plain"
},- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 409,
- "message": "Only a master consignment in draft or cancelled status can be deleted.",
- "messageType": "Error",
- "parameter": "masterConsignmentId",
- "parameterValue": "1234",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Refresh the status and events of a consignment note
Reads the current status and the new events of an issued note, records them and updates its status. Use it when the notifications of the journey have not arrived.
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
| consignmentNoteId required | integer <int64> Example: 5120 Identifier of the consignment note. |
query Parameters
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. |
Responses
200 Successful request
Successful request
Response Schema: application/json
object (ConsignmentNoteResponseData) Consignment note with its parties, carriers, lines, attachments and issue state. | |
| 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
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment note not found
Consignment note 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. Omitted when there is no warning. | |
409 Conflict
Conflict
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 conflict with the current state of the resource. |
| 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. Omitted when there is no warning. | |
post/consignmentNote/{consignmentNoteId}/sync
Response samples
{"consignmentNoteResponse": {
- "consignmentId": 48213,
- "clientReference": "TMS-889201",
- "equipmentId": 1207,
"sealNumbers": [
- "S-1"
],- "predefinedConsigneeCode": "CON001",
- "consignmentNoteType": "InternationalCmr",
- "language": "es",
- "issuePlace": "Valencia",
- "issueDate": "2026-11-02",
"takingOver": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"delivery": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"carriers": [
{
- "carrierType": "Contractual",
- "sequence": 1,
- "predefinedCarrierCode": "CAR001",
- "vehicleRegistration": "1234 KLM",
- "vehicleRegistrationCountryCode": "ES",
- "trailerRegistration": "R-5678-BBC",
- "trailerRegistrationCountryCode": "ES",
- "predefinedDriverCode": "DRI001",
- "driverName": "Andres Carrasco",
- "driverPhone": "+34 600 111 222",
- "remarks": "Two drums dented",
- "consignmentNoteCarrierId": 6601,
"carrier": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"driver": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
}
}
],"lines": [
{
- "sequence": 1,
- "consignmentItemCode": "ITEM-9515-4013-AA46",
- "description": "UN 1263 PAINT, 3, III, (D/E)",
- "marksAndNumbers": "PAINT-001/004",
- "productCode": "PROCOD001",
- "numberOfPackages": 4,
- "packageTypeCode": "DR",
- "packingText": "2 pallets",
- "grossQuantity": 88,
- "volume": 0.4,
- "hsCode": "3208 10",
- "lineId": 9811,
- "isDangerousGood": true,
- "identificationNumber": "UN1263",
- "classOrDivision": "3",
- "packingGroup": "III",
"adrData": {
- "dangerousGoodsText": "ENVIRONMENTALLY HAZARDOUS",
- "tunnelRestrictionCode": "D/E",
- "transportCategory": "0"
}
}
],"references": [
{
- "referenceType": "ShipperOrder",
- "value": "PO-9001"
}
],"charges": [
{
- "chargeType": "Carriage",
- "amount": 850,
- "payer": "Shipper"
}
],"contacts": [
{
- "contactType": "TakingOverSigner",
- "name": "L. Ferrer",
- "phone": "+34 600 333 444",
- "email": "ferrer@example.com",
- "receivesSignedCopy": true,
- "receivesEvents": false
}
],- "shipperInstructions": "Customs clearance at destination",
- "attachedDocumentsText": "Commercial invoice, safety data sheet",
- "paymentInstruction": "CarriagePaid",
- "cashOnDeliveryAmount": 0,
- "currency": "EUR",
- "declaredValue": 12500,
- "specialInterestValue": 0,
- "insuranceInstructions": "Insured by the shipper",
- "agreedTimeLimit": "48 hours",
- "isTranshipmentForbidden": false,
- "specialAgreements": "Delivery by appointment",
- "incoterm": "DAP",
- "incotermPlace": "Hamburg",
- "temperatureInstructions": "Keep below 25 degrees Celsius",
- "otherParticulars": "Batch 2026-117",
- "driverInstructions": "Call the warehouse 30 minutes before arrival",
"adrData": {
- "summaryText": "Transport category 3: 80 L, calculated value 80",
"spainData": {
- "decaMode": "NotApplicable"
}
},- "consignmentNoteId": 5120,
- "consignmentNoteNumber": "CP-2026-0118",
- "status": "Draft",
- "replacesConsignmentNoteId": 5119,
- "consignmentNumber": "445",
- "equipmentIdentification": "MSCU1234566",
"shipper": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "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",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"contractualShipper": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"takingOverParticipant": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"deliveryParticipant": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"attachments": [
{
- "attachmentId": 771,
- "attachmentType": "TransportDocument",
- "fileName": "delivery-note.pdf",
- "contentType": "application/pdf",
- "isCarriedWithNote": true,
- "documentSnapshotId": 3312,
- "uploadedOn": "2026-11-02T10:00:00Z"
}
],"issueState": {
- "issueMode": "Electronic",
- "paperReason": "RouteNotCovered",
- "syncedOn": "2026-11-02T10:00:00Z",
- "lastErrorType": "Validation",
- "lastError": "string",
- "hasPendingChanges": true
},- "issuedOn": "2026-11-02T10:00:00Z",
- "completedOn": "2026-11-04T15:30:00Z",
- "createdOn": "2026-11-02T10:00:00Z",
- "updatedOn": "2026-11-02T10:00:00Z"
},- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 409,
- "message": "Only a master consignment in draft or cancelled status can be deleted.",
- "messageType": "Error",
- "parameter": "masterConsignmentId",
- "parameterValue": "1234",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Get the events of a consignment note
Returns the events of the note, oldest first: those produced by the application, those received during the journey and the changes recorded after issue. Signatures and evidence remain in the signed PDF and in the evidence report; a photo or document added with an event is downloaded with the event document operation.
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
| consignmentNoteId required | integer <int64> Example: 5120 Identifier of the consignment note. |
query Parameters
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. |
Responses
200 Successful request
Successful request
Response Schema: application/json
Array of objects (ConsignmentNoteEvent) Events of the note, oldest first. | |||||||||||||||||||||||||
Array [
] | |||||||||||||||||||||||||
| 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
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment note not found
Consignment note 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. Omitted when there is no warning. | |
get/consignmentNote/{consignmentNoteId}/event
Response samples
{"consignmentNoteEvents": [
{
- "eventId": 20431,
- "eventType": "Created",
- "occurredOn": "2026-11-02T10:00:00Z",
- "receivedOn": "2026-11-02T10:00:05Z",
- "actorRole": "Shipper",
- "actorName": "L. Ferrer",
- "isOutbound": true,
- "latitude": 39.4699,
- "longitude": -0.3763,
- "remarks": "Plate 1234 KLM replaced by 5555 KKK",
- "hasDocument": true,
- "relatedEventId": 20430
}
],- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Record a change to an issued consignment note
Only for issued notes. Updates the affected data (carrier, place of delivery or consignee) and records the change as an event. When the change is applied, an Accepted event that refers to it with relatedEventId is recorded; when it cannot be applied, an Error event that refers to it is recorded and the note is not modified. Only the Accepted or Error event is notified by webhook. Returns the updated note.
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
| consignmentNoteId required | integer <int64> Example: 5120 Identifier of the consignment note. |
query Parameters
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. |
Request Body schema: application/jsonrequired
change to record
| changeType required | string Enum: "PlateChange" "DriverChange" "CarrierTransfer" "Reconsignment" "Observation" Kind of change. |
| carrierSequence | integer >= 1 Sequence of the carrier affected by |
| vehicleRegistration | string <= 20 characters New registration plate of the vehicle, for |
| vehicleRegistrationCountryCode | string <= 2 characters ISO 3166-1 alpha-2 code of the country of the new vehicle plate. |
| trailerRegistration | string <= 20 characters New registration plate of the trailer, for |
| trailerRegistrationCountryCode | string <= 2 characters ISO 3166-1 alpha-2 code of the country of the new trailer plate. |
| predefinedDriverCode | string Code of the new Driver participant, for |
| driverName | string <= 100 characters Name of the new driver when the driver is not a participant. |
| driverPhone | string <= 50 characters Mobile phone of the new driver in international format. |
| predefinedCarrierCode | string Code of the successive Carrier participant that takes over, for |
| predefinedConsigneeCode | string Code of the new Consignee participant, for |
object New place of delivery, for | |
| remarks | string <= 1000 characters Reason for the change or text of the observation, shown in the events of the note. |
| occurredOn | string <date-time> Date and time of the change, in ISO 8601 format (UTC); the current time when omitted. |
Responses
200 Successful request
Successful request
Response Schema: application/json
object (ConsignmentNoteResponseData) Consignment note with its parties, carriers, lines, attachments and issue state. | |
| 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
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment note, carrier or participant not found
Consignment note, carrier or participant 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. Omitted when there is no warning. | |
409 Conflict
Conflict
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 conflict with the current state of the resource. |
| 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. Omitted when there is no warning. | |
post/consignmentNote/{consignmentNoteId}/event
Request samples
{- "changeType": "PlateChange",
- "carrierSequence": 1,
- "vehicleRegistration": "5555 KKK",
- "vehicleRegistrationCountryCode": "ES",
- "trailerRegistration": "R-9999-BBC",
- "trailerRegistrationCountryCode": "ES",
- "predefinedDriverCode": "DRI002",
- "driverName": "Luis Ortega",
- "driverPhone": "+34 600 222 333",
- "predefinedCarrierCode": "CAR002",
- "predefinedConsigneeCode": "CON002",
"delivery": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},- "remarks": "Vehicle breakdown",
- "occurredOn": "2026-11-02T10:00:00Z"
}Response samples
{"consignmentNoteResponse": {
- "consignmentId": 48213,
- "clientReference": "TMS-889201",
- "equipmentId": 1207,
"sealNumbers": [
- "S-1"
],- "predefinedConsigneeCode": "CON001",
- "consignmentNoteType": "InternationalCmr",
- "language": "es",
- "issuePlace": "Valencia",
- "issueDate": "2026-11-02",
"takingOver": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"delivery": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"carriers": [
{
- "carrierType": "Contractual",
- "sequence": 1,
- "predefinedCarrierCode": "CAR001",
- "vehicleRegistration": "1234 KLM",
- "vehicleRegistrationCountryCode": "ES",
- "trailerRegistration": "R-5678-BBC",
- "trailerRegistrationCountryCode": "ES",
- "predefinedDriverCode": "DRI001",
- "driverName": "Andres Carrasco",
- "driverPhone": "+34 600 111 222",
- "remarks": "Two drums dented",
- "consignmentNoteCarrierId": 6601,
"carrier": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"driver": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
}
}
],"lines": [
{
- "sequence": 1,
- "consignmentItemCode": "ITEM-9515-4013-AA46",
- "description": "UN 1263 PAINT, 3, III, (D/E)",
- "marksAndNumbers": "PAINT-001/004",
- "productCode": "PROCOD001",
- "numberOfPackages": 4,
- "packageTypeCode": "DR",
- "packingText": "2 pallets",
- "grossQuantity": 88,
- "volume": 0.4,
- "hsCode": "3208 10",
- "lineId": 9811,
- "isDangerousGood": true,
- "identificationNumber": "UN1263",
- "classOrDivision": "3",
- "packingGroup": "III",
"adrData": {
- "dangerousGoodsText": "ENVIRONMENTALLY HAZARDOUS",
- "tunnelRestrictionCode": "D/E",
- "transportCategory": "0"
}
}
],"references": [
{
- "referenceType": "ShipperOrder",
- "value": "PO-9001"
}
],"charges": [
{
- "chargeType": "Carriage",
- "amount": 850,
- "payer": "Shipper"
}
],"contacts": [
{
- "contactType": "TakingOverSigner",
- "name": "L. Ferrer",
- "phone": "+34 600 333 444",
- "email": "ferrer@example.com",
- "receivesSignedCopy": true,
- "receivesEvents": false
}
],- "shipperInstructions": "Customs clearance at destination",
- "attachedDocumentsText": "Commercial invoice, safety data sheet",
- "paymentInstruction": "CarriagePaid",
- "cashOnDeliveryAmount": 0,
- "currency": "EUR",
- "declaredValue": 12500,
- "specialInterestValue": 0,
- "insuranceInstructions": "Insured by the shipper",
- "agreedTimeLimit": "48 hours",
- "isTranshipmentForbidden": false,
- "specialAgreements": "Delivery by appointment",
- "incoterm": "DAP",
- "incotermPlace": "Hamburg",
- "temperatureInstructions": "Keep below 25 degrees Celsius",
- "otherParticulars": "Batch 2026-117",
- "driverInstructions": "Call the warehouse 30 minutes before arrival",
"adrData": {
- "summaryText": "Transport category 3: 80 L, calculated value 80",
"spainData": {
- "decaMode": "NotApplicable"
}
},- "consignmentNoteId": 5120,
- "consignmentNoteNumber": "CP-2026-0118",
- "status": "Draft",
- "replacesConsignmentNoteId": 5119,
- "consignmentNumber": "445",
- "equipmentIdentification": "MSCU1234566",
"shipper": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "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",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"contractualShipper": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"takingOverParticipant": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"deliveryParticipant": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"attachments": [
{
- "attachmentId": 771,
- "attachmentType": "TransportDocument",
- "fileName": "delivery-note.pdf",
- "contentType": "application/pdf",
- "isCarriedWithNote": true,
- "documentSnapshotId": 3312,
- "uploadedOn": "2026-11-02T10:00:00Z"
}
],"issueState": {
- "issueMode": "Electronic",
- "paperReason": "RouteNotCovered",
- "syncedOn": "2026-11-02T10:00:00Z",
- "lastErrorType": "Validation",
- "lastError": "string",
- "hasPendingChanges": true
},- "issuedOn": "2026-11-02T10:00:00Z",
- "completedOn": "2026-11-04T15:30:00Z",
- "createdOn": "2026-11-02T10:00:00Z",
- "updatedOn": "2026-11-02T10:00:00Z"
},- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 409,
- "message": "Only a master consignment in draft or cancelled status can be deleted.",
- "messageType": "Error",
- "parameter": "masterConsignmentId",
- "parameterValue": "1234",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Get the document added with a consignment note event
Returns, base 64 encoded, the document or photo added with a DocumentAdded event, such as a signed delivery note or a weight ticket. It is retrieved once and then kept with the documents of the note; the application never fetches an arbitrary address. An event without a document is rejected with 400. A user who can only read the account of the note gets the stored document, or the one retrieved for the request, which is not kept.
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
| consignmentNoteId required | integer <int64> Example: 5120 Identifier of the consignment note. |
| eventId required | integer <int64> Example: 20431 Identifier of the event of the consignment note. |
query Parameters
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. |
Responses
200 Successful request
Successful request
Response Schema: application/json
object Base 64 encoded representation of the generated document. | |
| 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
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment note or event not found
Consignment note or event 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. Omitted when there is no warning. | |
409 Conflict
Conflict
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 conflict with the current state of the resource. |
| 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. Omitted when there is no warning. | |
get/consignmentNote/{consignmentNoteId}/event/{eventId}/document
Response samples
{"base64EncodedFile": {
- "base64EncodedContent": "SGVsbG8=",
- "contentType": "text/plain"
},- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 409,
- "message": "Only a master consignment in draft or cancelled status can be deleted.",
- "messageType": "Error",
- "parameter": "masterConsignmentId",
- "parameterValue": "1234",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Record the delivery of a paper consignment note
Only for notes issued on paper (issueMode Paper) in status Issued or InProgress; any other note is rejected with 409. Stores the scanned signed copy as the signed document of the note when it is given, records a Delivered event with the signer and sets the status to Delivered. Returns the updated note.
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
| consignmentNoteId required | integer <int64> Example: 5120 Identifier of the consignment note. |
query Parameters
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. |
Request Body schema: application/jsonrequired
delivery signed on paper
| deliveredOn required | string <date-time> Date and time of the delivery signed on paper, in ISO 8601 format (UTC); a time with an offset is accepted and converted to UTC. It cannot be earlier than the issue of the note (to the minute) nor later than the current time plus five minutes; otherwise the request is rejected with 400 naming deliveredOn. |
| signerName | string <= 100 characters Name of the person who signed the delivery. |
| remarks | string <= 1000 characters Reservations or remarks written on the paper note. |
| base64EncodedContent | string Scanned signed copy, base 64 encoded (PDF, JPEG or PNG, maximum 6 MB once decoded); stored as the signed document of the note. |
Responses
200 Successful request
Successful request
Response Schema: application/json
object (ConsignmentNoteResponseData) Consignment note with its parties, carriers, lines, attachments and issue state. | |
| 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
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment note not found
Consignment note 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. Omitted when there is no warning. | |
409 Conflict
Conflict
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 conflict with the current state of the resource. |
| 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. Omitted when there is no warning. | |
post/consignmentNote/{consignmentNoteId}/paperDelivery
Request samples
{- "deliveredOn": "2026-11-02T10:00:00Z",
- "signerName": "M. Weber",
- "remarks": "One drum damaged",
- "base64EncodedContent": "string"
}Response samples
{"consignmentNoteResponse": {
- "consignmentId": 48213,
- "clientReference": "TMS-889201",
- "equipmentId": 1207,
"sealNumbers": [
- "S-1"
],- "predefinedConsigneeCode": "CON001",
- "consignmentNoteType": "InternationalCmr",
- "language": "es",
- "issuePlace": "Valencia",
- "issueDate": "2026-11-02",
"takingOver": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"delivery": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"carriers": [
{
- "carrierType": "Contractual",
- "sequence": 1,
- "predefinedCarrierCode": "CAR001",
- "vehicleRegistration": "1234 KLM",
- "vehicleRegistrationCountryCode": "ES",
- "trailerRegistration": "R-5678-BBC",
- "trailerRegistrationCountryCode": "ES",
- "predefinedDriverCode": "DRI001",
- "driverName": "Andres Carrasco",
- "driverPhone": "+34 600 111 222",
- "remarks": "Two drums dented",
- "consignmentNoteCarrierId": 6601,
"carrier": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"driver": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
}
}
],"lines": [
{
- "sequence": 1,
- "consignmentItemCode": "ITEM-9515-4013-AA46",
- "description": "UN 1263 PAINT, 3, III, (D/E)",
- "marksAndNumbers": "PAINT-001/004",
- "productCode": "PROCOD001",
- "numberOfPackages": 4,
- "packageTypeCode": "DR",
- "packingText": "2 pallets",
- "grossQuantity": 88,
- "volume": 0.4,
- "hsCode": "3208 10",
- "lineId": 9811,
- "isDangerousGood": true,
- "identificationNumber": "UN1263",
- "classOrDivision": "3",
- "packingGroup": "III",
"adrData": {
- "dangerousGoodsText": "ENVIRONMENTALLY HAZARDOUS",
- "tunnelRestrictionCode": "D/E",
- "transportCategory": "0"
}
}
],"references": [
{
- "referenceType": "ShipperOrder",
- "value": "PO-9001"
}
],"charges": [
{
- "chargeType": "Carriage",
- "amount": 850,
- "payer": "Shipper"
}
],"contacts": [
{
- "contactType": "TakingOverSigner",
- "name": "L. Ferrer",
- "phone": "+34 600 333 444",
- "email": "ferrer@example.com",
- "receivesSignedCopy": true,
- "receivesEvents": false
}
],- "shipperInstructions": "Customs clearance at destination",
- "attachedDocumentsText": "Commercial invoice, safety data sheet",
- "paymentInstruction": "CarriagePaid",
- "cashOnDeliveryAmount": 0,
- "currency": "EUR",
- "declaredValue": 12500,
- "specialInterestValue": 0,
- "insuranceInstructions": "Insured by the shipper",
- "agreedTimeLimit": "48 hours",
- "isTranshipmentForbidden": false,
- "specialAgreements": "Delivery by appointment",
- "incoterm": "DAP",
- "incotermPlace": "Hamburg",
- "temperatureInstructions": "Keep below 25 degrees Celsius",
- "otherParticulars": "Batch 2026-117",
- "driverInstructions": "Call the warehouse 30 minutes before arrival",
"adrData": {
- "summaryText": "Transport category 3: 80 L, calculated value 80",
"spainData": {
- "decaMode": "NotApplicable"
}
},- "consignmentNoteId": 5120,
- "consignmentNoteNumber": "CP-2026-0118",
- "status": "Draft",
- "replacesConsignmentNoteId": 5119,
- "consignmentNumber": "445",
- "equipmentIdentification": "MSCU1234566",
"shipper": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "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",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"contractualShipper": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"takingOverParticipant": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"deliveryParticipant": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"attachments": [
{
- "attachmentId": 771,
- "attachmentType": "TransportDocument",
- "fileName": "delivery-note.pdf",
- "contentType": "application/pdf",
- "isCarriedWithNote": true,
- "documentSnapshotId": 3312,
- "uploadedOn": "2026-11-02T10:00:00Z"
}
],"issueState": {
- "issueMode": "Electronic",
- "paperReason": "RouteNotCovered",
- "syncedOn": "2026-11-02T10:00:00Z",
- "lastErrorType": "Validation",
- "lastError": "string",
- "hasPendingChanges": true
},- "issuedOn": "2026-11-02T10:00:00Z",
- "completedOn": "2026-11-04T15:30:00Z",
- "createdOn": "2026-11-02T10:00:00Z",
- "updatedOn": "2026-11-02T10:00:00Z"
},- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 409,
- "message": "Only a master consignment in draft or cancelled status can be deleted.",
- "messageType": "Error",
- "parameter": "masterConsignmentId",
- "parameterValue": "1234",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}Cancel a consignment note
Cancels the note and records the Cancelled event with the reason, when one is given; an electronic note is also cancelled where it was issued, and the reason is sent with the cancellation. For an electronic note, an Accepted event that refers to the Cancelled event with relatedEventId is recorded when the cancellation is accepted; when it is rejected, an Error event that refers to it is recorded and the note is not cancelled. Only the Accepted or Error event is notified by webhook. A cancelled note can be replaced by creating a new one for the same consignment and consignee.
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
| consignmentNoteId required | integer <int64> Example: 5120 Identifier of the consignment note. |
query Parameters
| requestGuid required | string Identifier of the request, up to 36 characters, used to trace it. |
Request Body schema: application/jsonrequired
reason of the cancellation, or an empty object when there is none
| remarks | string <= 1000 characters Reason of the cancellation, recorded with the |
Responses
200 Successful request
Successful request
Response Schema: application/json
object (ConsignmentNoteResponseData) Consignment note with its parties, carriers, lines, attachments and issue state. | |
| 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
Bad request
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. 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 authorization 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. | |
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. Omitted when there is no warning. | |
404 Consignment note not found
Consignment note 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. Omitted when there is no warning. | |
409 Conflict
Conflict
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 conflict with the current state of the resource. |
| 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. Omitted when there is no warning. | |
post/consignmentNote/{consignmentNoteId}/cancel
Request samples
{- "remarks": "Load held at customs"
}Response samples
{"consignmentNoteResponse": {
- "consignmentId": 48213,
- "clientReference": "TMS-889201",
- "equipmentId": 1207,
"sealNumbers": [
- "S-1"
],- "predefinedConsigneeCode": "CON001",
- "consignmentNoteType": "InternationalCmr",
- "language": "es",
- "issuePlace": "Valencia",
- "issueDate": "2026-11-02",
"takingOver": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"delivery": {
- "predefinedParticipantCode": "WHS001",
- "printedText": "Valencia, Spain",
- "scheduledOn": "2026-11-02T10:00:00Z"
},"carriers": [
{
- "carrierType": "Contractual",
- "sequence": 1,
- "predefinedCarrierCode": "CAR001",
- "vehicleRegistration": "1234 KLM",
- "vehicleRegistrationCountryCode": "ES",
- "trailerRegistration": "R-5678-BBC",
- "trailerRegistrationCountryCode": "ES",
- "predefinedDriverCode": "DRI001",
- "driverName": "Andres Carrasco",
- "driverPhone": "+34 600 111 222",
- "remarks": "Two drums dented",
- "consignmentNoteCarrierId": 6601,
"carrier": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"driver": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
}
}
],"lines": [
{
- "sequence": 1,
- "consignmentItemCode": "ITEM-9515-4013-AA46",
- "description": "UN 1263 PAINT, 3, III, (D/E)",
- "marksAndNumbers": "PAINT-001/004",
- "productCode": "PROCOD001",
- "numberOfPackages": 4,
- "packageTypeCode": "DR",
- "packingText": "2 pallets",
- "grossQuantity": 88,
- "volume": 0.4,
- "hsCode": "3208 10",
- "lineId": 9811,
- "isDangerousGood": true,
- "identificationNumber": "UN1263",
- "classOrDivision": "3",
- "packingGroup": "III",
"adrData": {
- "dangerousGoodsText": "ENVIRONMENTALLY HAZARDOUS",
- "tunnelRestrictionCode": "D/E",
- "transportCategory": "0"
}
}
],"references": [
{
- "referenceType": "ShipperOrder",
- "value": "PO-9001"
}
],"charges": [
{
- "chargeType": "Carriage",
- "amount": 850,
- "payer": "Shipper"
}
],"contacts": [
{
- "contactType": "TakingOverSigner",
- "name": "L. Ferrer",
- "phone": "+34 600 333 444",
- "email": "ferrer@example.com",
- "receivesSignedCopy": true,
- "receivesEvents": false
}
],- "shipperInstructions": "Customs clearance at destination",
- "attachedDocumentsText": "Commercial invoice, safety data sheet",
- "paymentInstruction": "CarriagePaid",
- "cashOnDeliveryAmount": 0,
- "currency": "EUR",
- "declaredValue": 12500,
- "specialInterestValue": 0,
- "insuranceInstructions": "Insured by the shipper",
- "agreedTimeLimit": "48 hours",
- "isTranshipmentForbidden": false,
- "specialAgreements": "Delivery by appointment",
- "incoterm": "DAP",
- "incotermPlace": "Hamburg",
- "temperatureInstructions": "Keep below 25 degrees Celsius",
- "otherParticulars": "Batch 2026-117",
- "driverInstructions": "Call the warehouse 30 minutes before arrival",
"adrData": {
- "summaryText": "Transport category 3: 80 L, calculated value 80",
"spainData": {
- "decaMode": "NotApplicable"
}
},- "consignmentNoteId": 5120,
- "consignmentNoteNumber": "CP-2026-0118",
- "status": "Draft",
- "replacesConsignmentNoteId": 5119,
- "consignmentNumber": "445",
- "equipmentIdentification": "MSCU1234566",
"shipper": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "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",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"contractualShipper": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"takingOverParticipant": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"deliveryParticipant": {
- "accountCode": "CO001",
"types": [
- "Shipper"
],- "code": "PAR01",
- "name": "TransOne Inc.",
- "address": "Mary Ann St",
- "city-town": "Cardiff",
- "province-region-state": "Wales",
- "postalCode": "CF10 2EQ",
- "countryId": 234,
- "telephone": "+44 29 2023 4500",
- "fax": "",
- "contactPerson": "",
- "taxCode": "",
- "status": "string",
"adrData": {
"driverTrainingCertificate": {
- "certificateNumber": "ES-ADR-118734",
- "validUntil": "2029-05-31",
"specializations": [
- "Tanks"
]
}
}
},"attachments": [
{
- "attachmentId": 771,
- "attachmentType": "TransportDocument",
- "fileName": "delivery-note.pdf",
- "contentType": "application/pdf",
- "isCarriedWithNote": true,
- "documentSnapshotId": 3312,
- "uploadedOn": "2026-11-02T10:00:00Z"
}
],"issueState": {
- "issueMode": "Electronic",
- "paperReason": "RouteNotCovered",
- "syncedOn": "2026-11-02T10:00:00Z",
- "lastErrorType": "Validation",
- "lastError": "string",
- "hasPendingChanges": true
},- "issuedOn": "2026-11-02T10:00:00Z",
- "completedOn": "2026-11-04T15:30:00Z",
- "createdOn": "2026-11-02T10:00:00Z",
- "updatedOn": "2026-11-02T10:00:00Z"
},- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 401,
- "message": "Unauthorized",
- "messageType": "Error",
- "parameter": "user",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 403,
- "message": "Licensing Regulations Error",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}{- "success": false,
- "httpStatusCode": 409,
- "message": "Only a master consignment in draft or cancelled status can be deleted.",
- "messageType": "Error",
- "parameter": "masterConsignmentId",
- "parameterValue": "1234",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "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",
- "leftEquipmentId": 1207,
- "rightConsignmentId": 48214,
- "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
- "rightEquipmentId": 1208,
- "ruleReference": "SG35",
- "requiredSeparation": "NotRequired",
- "verdict": "Allowed",
- "remarks": "Keep one container space between both containers."
}
}
]
}