Skip to content

Dangerous Goods API

Products

Simple and mixed packing products of the catalogue, including the interactive creation of a mixed packing product for a consignment

Create a simple product in the catalogue

Creates a new predefined simple product in the catalogue for later reuse in consignments. A product with a correctable error, such as a missing technical name, is created with newItemIsValid false and its problems in warnings; it can be read with GET /simpleProduct/{reference} and removed with DELETE /simpleProduct/{reference}. A mode of transport that one of the regulations enabled for the product does not admit is saved without enabling it for that regulation, with a warning that gives the reason; it is rejected with 400 when none of them admits it.

Authorizations:

basicAuth or bearerAuth
HTTP: basicAuth
HTTP Authorization Scheme: basic
HTTP: 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.

HTTP Authorization Scheme: bearer

query Parameters

requestGuid
string <= 36 characters

Identifier of the request, up to 36 characters, used to trace it and returned in the response.

Request Body schema: application/json
required

simple Product

accountCode
required
string

Customer account code identifying the tenant in the system.

enabledDangerousGoodsRegulations
required
Array of strings (DangerousGoodsRegulation) non-empty
Items Enum: "Adr" "Imdg" "Iata" "Cfr49"

List of dangerous goods regulations enabled for this product. When Imdg or Iata is enabled and the road regulation configured for the user is ADR, ADR is also enabled for the road leg when the dangerous good has an ADR entry.

reference
required
string

Unique reference of the product in the catalogue.

isDangerousGood
required
boolean

Indicates whether the product is regulated as dangerous goods.

isEnvironmentallyHazardous
required
boolean

Indicates whether the substance is environmentally hazardous (marine pollutant). According to sections II and XV of the safety data sheet, it must be true when they include R50, R50/53, R51/53, H400, H410 or H411. It must be false for a product that is not a dangerous good.

physicalState
required
string
Enum: "Liquid" "Solid" "Gas"

Physical state of the substance: Liquid, Solid or Gas.

measureUnit
required
string
Enum: "kg" "L" "g" "mL" "kgOrL" "gOrmL"

Measurement unit for quantities: kg or L.

pureMixOrSolution
required
string
Enum: "Pure" "Mix" "Solution"

Indicates whether the substance is pure, a mixture or a solution.

packageId
required
integer <int64>

Identifier of the outer package type from master data. The package type also declares limited and excepted quantities: the package types for limited quantities (box, drum and shrink-wrapped tray) declare the goods as limited quantities and the box for excepted quantities declares them as excepted quantities, and the limits that apply are checked.

hasInnerPackages
required
boolean

Indicates whether the outer package contains inner packages.

productCode
string

Internal product code assigned by the customer.

productName
string

Commercial name of the product. It is required.

dangerousGoodId
integer <int64>

Identifier of the dangerous good entry in master data. Required when isDangerousGood is true.

object

Technical names of the substance in different languages. Required when the dangerous good requires a technical name under any of the regulations enabled for the product, which is indicated by requiresTechnicalName in GET /masterData/simpleDangerousGood and GET /masterData/detailedDangerousGood. The English name is always required; so is the name in the ADR official language configured for the user when the road regulation configured for the user is ADR and that language is not English, and the name in the language of the country of the account when it is neither of them. When a required name is missing, the response returns newItemIsValid false and the product, when it is created, is recorded as not valid.

englishTechnicalName
string

Technical name of the substance in English.

spanishTechnicalName
string

Technical name of the substance in Spanish.

frenchTechnicalName
string

Technical name of the substance in French.

germanTechnicalName
string

Technical name of the substance in German.

portugueseTechnicalName
string

Technical name of the substance in Portuguese.

russianTechnicalName
string

Technical name of the substance in Russian.

chineseTechnicalName
string

Technical name of the substance in Chinese.

italianTechnicalName
string

Technical name of the substance in Italian.

dutchTechnicalName
string

Technical name of the substance in Dutch.

turkishTechnicalName
string

Technical name of the substance in Turkish.

polishTechnicalName
string

Technical name of the substance in Polish.

swedishTechnicalName
string

Technical name of the substance in Swedish.

norwegianTechnicalName
string

Technical name of the substance in Norwegian.

czechTechnicalName
string

Technical name of the substance in Czech.

danishTechnicalName
string

Technical name of the substance in Danish.

greekTechnicalName
string

Technical name of the substance in Greek.

hungarianTechnicalName
string

Technical name of the substance in Hungarian.

slovakTechnicalName
string

Technical name of the substance in Slovak.

romanianTechnicalName
string

Technical name of the substance in Romanian.

finnishTechnicalName
string

Technical name of the substance in Finnish.

isEmpty
boolean

Indicates whether the package is empty and uncleaned. When it is omitted, it is false. An empty uncleaned package is not accepted in an IATA consignment.

mixOrSolutionPercentage
number

Percentage of the dangerous component in the mixture or solution. Required when pureMixOrSolution is Mix or Solution; it must be greater than 0 and lower than 100.

flashPoint
number

Closed-cup flash-point of the substance, expressed in Celsius. For Class 3 it is checked against the packing group of the dangerous good: an inconsistency is reported as a warning, or as an error in the cases described in strictPackingInstructionCheck. Required when the Imdg regulation is enabled and the dangerous good bears a class 3 label.

controlTemperature
number

Control temperature in Celsius (ADR 5.4.1.2.3.1 / IMDG 5.4.1.5.4 and 5.4.1.5.5). Mandatory together with emergencyTemperature for temperature-controlled substances (UN 3111-3120, 3231-3240, 3533 and 3534); optional for stabilized substances that allow temperature control. Must be lower than emergencyTemperature. For any other product both temperatures must be omitted.

emergencyTemperature
number

Emergency temperature in Celsius (ADR 5.4.1.2.3.1 / IMDG 5.4.1.5.4 and 5.4.1.5.5). Provided in pair with controlTemperature and strictly higher than it.

density
number

Density of the substance, expressed in kilograms per liter. Under ADR and IMDG it is needed to verify a quantity limit expressed in a unit other than the measure unit of the product, such as a limit in kilograms for a product declared in liters; without it, that limit is not verified and the response reports it as a warning (an error with strictPackingInstructionCheck).

packageHomologationId
integer <int64>

Identifier of the package UN homologation code from master data.

Under ADR and IMDG, the net quantity and gross mass limits of the single or outer packaging are taken from the row of this homologation in the packing instruction: when it is omitted for a packaging that requires homologation, those limits are not verified and the response reports it as a warning (an error with strictPackingInstructionCheck).

The package types for limited and excepted quantities do not require homologation and have no homologations of their own: with them this field is optional and indicates the material of the outer packaging, which is one of the homologations of the box (packageId 5) for the limited quantity box and the excepted quantity box, and one of the homologations of the drum (packageId 14) for the limited quantity drum; the shrink-wrapped tray takes no material. Any other homologation is rejected. When the material is indicated, the transport document describes the package with it, for example fibreboard box; otherwise, with the package type only.

Under IATA it is required for a dangerous good, except when the package type is a receptacle for gases, such as a cylinder, or an article, such as a battery or a machine.

packingInstructionId
integer <int64>

Identifier of the applicable packing instruction.

Under ADR and IMDG it may be omitted: the application then determines it from the declared packaging and checks its quantity limits. When a single packing instruction cannot be determined, the quantity limits are not verified: the response reports it as a warning with the rule reference ADR 4.1.4 or IMDG 4.1.4, or, when strictPackingInstructionCheck is true, the request is rejected, naming the candidates when there are several.

Under IATA, when omitted, the application determines it from the packaging and the net quantity. When it cannot be determined, the request is rejected and the packing instruction has to be sent, except for radioactive material and for the box for excepted quantities.

strictPackingInstructionCheck
boolean

Optional. When true, the packing instruction must belong to the dangerous good and the packaging must be included in the packing instruction list for each enabled ADR or IMDG regulation: the homologation of the single or outer packaging and the inner packaging material. When absent or false, these verifications are not performed for ADR and IMDG. The IATA regulation applies this verification in all cases.

Under ADR and IMDG, a quantity limit that cannot be verified because the request lacks the density (in a packing instruction or in the excepted quantity code) or the homologation of the packaging is reported as an error when true and as a warning otherwise; when true, a flash-point that is not consistent with packing group II is also reported as an error instead of a warning.

Not returned by any response: it is a write-time validation switch only and is not stored.

When true and packingInstructionId is omitted for ADR or IMDG, the request is rejected when no packing instruction, or more than one, admits the declared packaging.

imdgSegregationGroupId
integer <int64>

Identifier of the IMDG segregation group of the substance (IMDG Code 3.1.4), or 255 for no segregation group. It applies to the IMDG Code only. When the entry of the Dangerous Goods List already assigns segregation groups, those apply and this value is ignored. Otherwise, a value that is neither one of the groups returned by GET /masterData/imdgSegregationGroup nor 255 is rejected with 400, and, when the value is omitted, a product that is not a dangerous good and an entry that is not an N.O.S. entry are recorded without segregation group, while an N.O.S. entry is rejected, because the consignor has to state its group. GET /masterData/detailedDangerousGood gives, in imdgData, the segregation groups of each entry (segregationGroups) and whether it is an N.O.S. entry (isNotOtherwiseSpecified), which GET /masterData/simpleDangerousGood also gives.

unitaryQuantity
number

Net quantity of substance per outer package. When hasInnerPackages is true, the quantity recorded is innerPackagesNumber multiplied by innerPackageQuantity, so this field may be omitted; if it is sent with another value, the response carries a warning. When hasInnerPackages is false, it is required for a dangerous good and must be greater than 0; 0 is accepted only for an empty uncleaned package under ADR and IMDG.

unitaryGrossQuantity
number

Gross mass of one outer package, expressed in kilograms. Required when the Imdg regulation is enabled, also for a product that is not a dangerous good; under ADR, when the package type is one of the package types for limited quantities; and under IATA, when the limit of the packing instruction of the dangerous good is a gross mass. It cannot be lower than the mass of the contents.

unitaryQuantityExplosive
number

Net explosive content per outer package, expressed in kilograms.

fillingDegree
number

Filling degree of the package, expressed as percentage.

authorizations
string

Authorizations or special provisions applicable to the transport.

innerPackageMaterialId
integer <int64>

Identifier of the inner package material from master data. Required for a dangerous good when hasInnerPackages is true, except for UN 1845, carbon dioxide, solid (dry ice).

innerPackagesNumber
integer

Number of inner packages contained in each outer package. Required for a dangerous good when hasInnerPackages is true; it must be greater than 0.

innerPackageQuantity
number

Net quantity per inner package. Required for a dangerous good when hasInnerPackages is true; it must be greater than 0.

innerPackageCapacity
number

Capacity of each inner package, in litres (for aerosols, the capacity of the dispenser).

innerPackageQuantityExplosive
number

Net explosive content per inner package, expressed in kilograms.

object

Radiological data. Mandatory when the product belongs to Class 7 (radioactive). Must be omitted for non-radioactive products.

Array of objects (ProductRadiologicalNuclide)

List of radionuclides contained in the product (1..N). The radiological block is mandatory for every Class 7 product, including the excepted packages UN 2908-2911: at least one entry, with a radionuclide code and a strictly positive activity per package, is required for every package type. Each entry has the radionuclide code and the activity per package in Bq. The A2 multiple of the consignment item is calculated from the activity and the A2 value of each radionuclide.

Array [
radionuclideCode
required
string

Radionuclide code as listed in the radionuclide catalogue (for example 'Co-60', 'Cs-137', 'Ir-192', 'Sr-90').

activityBq
required
number

Maximum activity per package during transport for this radionuclide, expressed in becquerels (Bq). SI units only; strictly positive.

]
packageType
string
Enum: "Excepted" "IndustrialPackage1" "IndustrialPackage2" "IndustrialPackage3" "TypeA" "TypeASpecialForm" "TypeBU" "SpecialArrangement"

Package type. Allowed values: Excepted (UN 2908-2911); IndustrialPackage1 (IP-1, UN 2912 LSA-I, UN 2913 SCO-I); IndustrialPackage2 (IP-2, UN 2913 SCO-II, UN 3321 LSA-II liquid/gas, UN 3322 LSA-III under exclusive use); IndustrialPackage3 (IP-3, UN 3321 LSA-II solid, UN 3322 LSA-III); TypeA (UN 2915, normal form); TypeASpecialForm (UN 3332, certificate reference mandatory); TypeBU (UN 2916 unilateral approval, certificate reference mandatory); SpecialArrangement (UN 2919, transported under special arrangement: category IIIYellow and certificate reference with type code X mandatory). It is required.

isSpecialForm
boolean

True if the radioactive material is in special form (special form certificate required). Only meaningful when packageType = TypeASpecialForm.

isFissile
boolean

True if the radioactive material is fissile (not fissile-excepted). Out of scope for this version; must be false.

category
string
Enum: "IWhite" "IIYellow" "IIIYellow"

Package category (ADR 2.2.7.2.4 / IMDG 2.7.2.4 / IATA 10.5.7). Allowed values: IWhite (maximum radiation level less than or equal to 0.005 mSv/h, TI must be zero); IIYellow (greater than 0.005 mSv/h and up to 0.5 mSv/h, TI up to 1); IIIYellow (greater than 0.5 mSv/h and up to 2 mSv/h, TI greater than 1). Required, except for Excepted packages, for which it must be omitted. IIIYellow is mandatory for SpecialArrangement packages.

transportIndex
number

Transport Index (TI). Dimensionless, rounded up to one decimal place. Required, except for Excepted packages and packages of category IWhite.

certificateRef
string

Certificate reference. Mandatory for TypeASpecialForm (UN 3332), TypeBU (UN 2916) and SpecialArrangement (UN 2919; it must contain the special arrangement mark with type code X). Examples: 'ES/4567/S-96', 'ES/4567/B(U)', 'FIN/123/X'. Not applicable to Industrial Packages (IP-1/2/3) which follow the prescriptive design of ADR 6.4.5-6.4.7.

physicoChemical
string

Description of the physical and chemical form of the contents. Required, except for Excepted and TypeASpecialForm packages.

surfaceDoseRate
number

Maximum surface dose rate of the package, in mSv/h. Used together with the transport index to determine the package category, taking the more restrictive of the two (ADR/IMDG 5.1.5.3.4).

packageDimensions
string <= 60 characters

Overall package dimensions including units, in the order length x width (or diameter) x height, for example "L 30 cm x W 30 cm x H 40 cm". Required by the air transport document (ICAO TI 2025-26 5;4.1.5.7.1 f)) for packages of category IIYellow or IIIYellow in IATA consignments; not used by ADR or IMDG.

specialFeatures
string
Enum: "IsExtraViscousAccordingAdr" "IsExtraViscousAccordingImdg" "IsSalvagePackage"

Special features of the product for this mode of transport. The extra viscous features apply to Class 3 substances under the corresponding regulation; the salvage packaging feature has no restriction.

Responses

201

Created

Response Schema: application/json

newItemId
integer <int64>

Identifier assigned to the newly created item.

newItemIsValid
boolean

Indicates whether the newly created item passed regulatory validation.

success
boolean

Indicates whether the item creation completed successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the item creation result.

messageType
string
Enum: "Information" "Warning"

Severity classification of the message.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. A warning does not prevent the operation. Omitted when there is no warning.

Array [
code
required
string
Enum: "ACCOUNT_0001" "ACCOUNT_0002" "ACCOUNT_0003" "ACCOUNT_LICENSE_EXPIRED" "AMBIGUOUS_URL" "AUTHENTICATION_FAILED" "CONSIGNMENT_0001" "CONSIGNMENT_0002" "CONSIGNMENT_0003" "CONSIGNMENT_0004" "CONSIGNMENT_0005" "CONSIGNMENT_0006" "CONSIGNMENT_0007" "CONSIGNMENT_0008" "CONSIGNMENT_0009" "CONSIGNMENT_0010" "CONSIGNMENT_0011" "CONSIGNMENT_0012" "CONSIGNMENT_0013" "CONSIGNMENT_0014" "CONSIGNMENT_0015" "CONSIGNMENT_0016" "CONSIGNMENT_0017" "CONSIGNMENT_0018" "CONSIGNMENT_0019" "CONSIGNMENT_0020" "CONSIGNMENT_0021" "CONSIGNMENT_0022" "CONSIGNMENT_0023" "CONSIGNMENT_0024" "CONSIGNMENT_0025" "CONSIGNMENT_0026" "CONSIGNMENT_0027" "CONSIGNMENT_0028" "CONSIGNMENT_0029" "CONSIGNMENT_0030" "CONSIGNMENT_0031" "CONSIGNMENT_0032" "CONSIGNMENT_0033" "CONSIGNMENT_0034" "CONSIGNMENT_0035" "CONSIGNMENT_0036" "CONSIGNMENT_NOTE_0001" "CONSIGNMENT_NOTE_0002" "CONSIGNMENT_NOTE_0003" "CONSIGNMENT_NOTE_0004" "CONSIGNMENT_NOTE_0005" "CONSIGNMENT_NOTE_0006" "CONSIGNMENT_NOTE_0007" "CONSIGNMENT_NOTE_0008" "CONSIGNMENT_NOTE_0009" "CONSIGNMENT_NOTE_0010" "CONSIGNMENT_NOTE_0011" "CONSIGNMENT_NOTE_0012" "CONSIGNMENT_NOTE_0013" "CONSIGNMENT_NOTE_0014" "CONSIGNMENT_NOTE_0015" "CONSIGNMENT_NOTE_0016" "CONSIGNMENT_NOTE_0017" "CONSIGNMENT_NOTE_0018" "CONSIGNMENT_NOTE_0019" "CONSIGNMENT_NOTE_0020" "CONSIGNMENT_NOTE_0021" "CONSIGNMENT_NOTE_0022" "CONSIGNMENT_NOTE_0023" "CONSIGNMENT_NOTE_0024" "CONSIGNMENT_NOTE_0025" "CONSIGNMENT_NOTE_0026" "CONSIGNMENT_NOTE_0027" "CONSIGNMENT_NOTE_0028" "CONSIGNMENT_NOTE_0029" "CONSIGNMENT_NOTE_0030" "CONSIGNMENT_NOTE_0031" "CONSIGNMENT_NOTE_0032" "CONSIGNMENT_NOTE_0033" "CONSIGNMENT_NOTE_0034" "CONSIGNMENT_NOTE_0035" "CONSIGNMENT_NOTE_0036" "CONSIGNMENT_NOTE_0037" "CONSIGNMENT_NOTE_0038" "CONSIGNMENT_NOTE_0039" "CONSIGNMENT_NOTE_0040" "CONSIGNMENT_NOTE_0041" "CONSIGNMENT_NOTE_0042" "CONSIGNMENT_NOTE_0043" "CONSIGNMENT_NOTE_0044" "CONSIGNMENT_NOTE_0045" "CONSIGNMENT_NOTE_0046" "CONSIGNMENT_NOTE_0047" "CONSIGNMENT_NOTE_0048" "CONSOLIDATION_0001" "CONSOLIDATION_0002" "CONSOLIDATION_0003" "CONSOLIDATION_0004" "CONSOLIDATION_0005" "CONSOLIDATION_0006" "CONSOLIDATION_0007" "CONSOLIDATION_0008" "CONSOLIDATION_0009" "CONSOLIDATION_0010" "CONSOLIDATION_0011" "CONSOLIDATION_0012" "CONSOLIDATION_0013" "CONSOLIDATION_0014" "CONSOLIDATION_0015" "CONSOLIDATION_0016" "CONSOLIDATION_0017" "CONSOLIDATION_0018" "CONSOLIDATION_0019" "CONSOLIDATION_0020" "CONSOLIDATION_0021" "CONSOLIDATION_0022" "CONSOLIDATION_0023" "CONSOLIDATION_0024" "CONSOLIDATION_0025" "CONSOLIDATION_0026" "CONSOLIDATION_0027" "CONSOLIDATION_0028" "CONSOLIDATION_0029" "CONSOLIDATION_0030" "CONSOLIDATION_0031" "CONSOLIDATION_0032" "CONSOLIDATION_0033" "CONSOLIDATION_0034" "CONSOLIDATION_0035" "CONSOLIDATION_0036" "CONSOLIDATION_0037" "CONSOLIDATION_0038" "CONSOLIDATION_0039" "CONSOLIDATION_0040" "CONSOLIDATION_0041" "CONSOLIDATION_0042" "CONSOLIDATION_0043" "CONSOLIDATION_0044" "CONSOLIDATION_0045" "CONSOLIDATION_0046" "CONSOLIDATION_0047" "CONSOLIDATION_0048" "CONSOLIDATION_0049" "CONSOLIDATION_0050" "CONSOLIDATION_0051" "CONSOLIDATION_0052" "CONSOLIDATION_0053" "CONSOLIDATION_0054" "CONSOLIDATION_0055" "CONSOLIDATION_0056" "CONSOLIDATION_0057" "CONSOLIDATION_0058" "CONSOLIDATION_0059" "CONSOLIDATION_0060" "CONSOLIDATION_0061" "CONSOLIDATION_0062" "CONSOLIDATION_0063" "CONSOLIDATION_0064" "CONSOLIDATION_0065" "CONSOLIDATION_0066" "CONSOLIDATION_0067" "CONSOLIDATION_0068" "CONSOLIDATION_0069" "CONSOLIDATION_0070" "CONSOLIDATION_0071" "CONSOLIDATION_0072" "CONSOLIDATION_0073" "CONSOLIDATION_0074" "CONSOLIDATION_0075" "CONSOLIDATION_0076" "CONSOLIDATION_0077" "CONSOLIDATION_0078" "CONSOLIDATION_0079" "CONSOLIDATION_0080" "CONSOLIDATION_0081" "CONSOLIDATION_0082" "CONSOLIDATION_0083" "CONSOLIDATION_0084" "CONSOLIDATION_0085" "CONSOLIDATION_0086" "CONSOLIDATION_0087" "CONSOLIDATION_0088" "CONSOLIDATION_0089" "CONSOLIDATION_0090" "CONSOLIDATION_0091" "CONSOLIDATION_0092" "CONSOLIDATION_0093" "CONSOLIDATION_0094" "CONSOLIDATION_0095" "CONSOLIDATION_0096" "CONSOLIDATION_0097" "CONSOLIDATION_0098" "CONSOLIDATION_0099" "CONSOLIDATION_0100" "CONSOLIDATION_0101" "CONSOLIDATION_0102" "CONSOLIDATION_0103" "CONSOLIDATION_0104" "CONSOLIDATION_0105" "CONSOLIDATION_0106" "CONSOLIDATION_0107" "CONSOLIDATION_0108" "CONSOLIDATION_0109" "CONSOLIDATION_0110" "CONSOLIDATION_0111" "CONSOLIDATION_0112" "CONSOLIDATION_0113" "CONSOLIDATION_0114" "CONSOLIDATION_0115" "CONSOLIDATION_0116" "CONSOLIDATION_0117" "CONSOLIDATION_0118" "CONSOLIDATION_0119" "CONSOLIDATION_0120" "CONSOLIDATION_0121" "CONSOLIDATION_0122" "CONSOLIDATION_0123" "CONSOLIDATION_0124" "CONSOLIDATION_0125" "CONSOLIDATION_0126" "CONSOLIDATION_0127" "CONSOLIDATION_0128" "CONSOLIDATION_0129" "CONSOLIDATION_0130" "CONSOLIDATION_0131" "CONSOLIDATION_0132" "CONSOLIDATION_0133" "CONSOLIDATION_0134" "CONSOLIDATION_0135" "DOCUMENT_0001" "DOCUMENT_0002" "DOCUMENT_0003" "DOCUMENT_0004" "DOCUMENT_0005" "DOCUMENT_0006" "DOCUMENT_0007" "DOCUMENT_0008" "FIELDS_HAVE_INVALID_VALUE" "GOOD_0001" "GOOD_0002" "GOOD_0003" "GOOD_0004" "GOOD_0005" "GOOD_0006" "GOOD_0007" "GOOD_0008" "GOOD_0009" "GOOD_0010" "GOOD_0011" "INVALID_CONTENT_TYPE" "INVALID_NAME" "INVALID_NUMBER_OF_IDENTIFIERS" "INVALID_REQUEST_GUID" "METHOD_NOT_ALLOWED" "MORE_THAN_ONE_ITEM_FOUND" "NAME_CAN_NOT_CONTAIN" "NAME_IS_TOO_LONG" "NOT_ALLOWED_TO_PERFORM_OPERATION" "NOT_AUTHENTICATED" "NOT_AVAILABLE_FOR_REGULATION" "NOT_DEFINED_OR_NOT_GRANTED_DATA" "NOT_VALID_VALUE_FOR_PARAMETER" "NO_ONE_ITEM_SELECTED" "NUMBER_OF_ITEMS_EXCEED" "OPERATION_NOT_ACCOMPLISHED" "PACKAGE_0001" "PACKAGE_0002" "PACKAGE_0003" "PACKAGE_0004" "PACKAGE_0005" "PACKAGE_0006" "PACKAGE_0007" "PACKAGE_0008" "PARTICIPANT_0001" "PARTICIPANT_0002" "PARTICIPANT_0003" "PARTICIPANT_0004" "PARTICIPANT_0005" "PARTICIPANT_0006" "PARTICIPANT_0007" "PARTICIPANT_0008" "PARTICIPANT_0009" "PARTICIPANT_0010" "PARTICIPANT_0011" "PARTICIPANT_0012" "PRODUCT_0001" "PRODUCT_0002" "PRODUCT_0003" "PRODUCT_0004" "PRODUCT_0005" "PRODUCT_0006" "PRODUCT_0007" "PRODUCT_0008" "PRODUCT_0009" "PRODUCT_0010" "PRODUCT_0011" "PRODUCT_0012" "PRODUCT_0013" "PRODUCT_0014" "PRODUCT_0015" "PRODUCT_0016" "PRODUCT_0017" "PRODUCT_0018" "PRODUCT_0019" "PRODUCT_0020" "PRODUCT_0021" "PRODUCT_0022" "PRODUCT_0023" "PRODUCT_0024" "PRODUCT_0025" "PRODUCT_0026" "PRODUCT_0027" "PRODUCT_0028" "PRODUCT_0029" "PRODUCT_0030" "PRODUCT_0031" "PRODUCT_0032" "PRODUCT_0033" "PRODUCT_0034" "PRODUCT_0035" "PRODUCT_0036" "PRODUCT_0037" "PRODUCT_0038" "PRODUCT_0039" "PRODUCT_0040" "PRODUCT_0041" "PRODUCT_0042" "PRODUCT_0043" "PRODUCT_0044" "RADIOLOGICAL_0001" "RADIOLOGICAL_0002" "REGULATION_LICENSE_REQUIRED" "REGULATION_NO_ONE_REGULATION" "REQUEST_TOO_LARGE" "REQUEST_VALUE_NOT_VALID" "REQUIRED_FIELDS_ARE_EMPTY_OR_NOT_VALID" "ROLE_NOT_ALLOWED" "TOO_MANY_PARALLEL_REQUESTS" "UNEXPECTED_ERROR" "URL_NOT_FOUND" "WASTE_0001" "WEBHOOK_0001" "WEBHOOK_0002" "WEBHOOK_0003" "WEBHOOK_0004"

Stable machine-readable code of the error or the warning. General errors have a descriptive code; the errors and warnings of the rules of each functional area have the name of the area, an underscore and four digits, and message describes the problem. New values may be added; clients must accept unknown values.

message
required
string

Text of the error or the warning, in the language of the user.

parameter
string

Element of the request that the entry refers to, with the JSON names of its path joined by dots and without list positions. Absent when the entry does not refer to an element of the request.

parameterValue
string

Value received for the element that the entry refers to, when it is known.

parameterPosition
string

Position of the element in the innermost list of its path, starting at 0. Absent when the element is not inside a list.

pointer
string

JSON Pointer (RFC 6901) to the element of the request body, with every list position starting at 0. An empty string refers to the whole body. Absent for path, query and header parameters and when the entry does not refer to the body.

ruleReference
string

Paragraph of the regulation or packing instruction on which the finding is based, when the rule has one.

object

Pair of items, required separation and verdict, only for the entries of a segregation check.

leftConsignmentId
required
integer <int64>

Identifier of the consignment of the first item.

rightConsignmentId
required
integer <int64>

Identifier of the consignment of the second item.

requiredSeparation
required
string
Enum: "NotRequired" "AwayFrom" "SeparatedFrom" "SeparatedByCompleteCompartmentOrHold" "SeparatedLongitudinallyByInterveningCompleteCompartmentOrHold" "MixedLoadingProhibited" "NotStowedNextTo"

Separation required by the rule.

verdict
required
string
Enum: "Allowed" "AllowedWithConditions" "Forbidden"

Verdict for the pair.

leftConsignmentItemCode
string

Code of the first item in its consignment.

leftTransportEquipmentId
integer <int64>

Identifier of the transport equipment of the first item, for the movement scope.

rightConsignmentItemCode
string

Code of the second item in its consignment.

rightTransportEquipmentId
integer <int64>

Identifier of the transport equipment of the second item, for the movement scope.

ruleReference
string

Rule applied, starting with its regulation and paragraph, such as IMDG 7.2.4; IMDG 7.3.4.1, IMDG 7.2.7.1.4 (1) or ADR 7.5.2.1 (b); the number or letter in brackets is the note of the table that applies. Between transport equipment on board, the rule of the pair is followed by the separation table applied.

remarks
string

Regulatory text, condition or recommended action, such as moving the item to other transport equipment, in the language of the user.

]
400

Bad request: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

401

Unauthorized

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the authentication error.

messageType
string
Enum: "Error" "Warning" "Information"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

The authentication error, with its stable code.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

403

Forbidden

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

500

Unexpected Error

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the unexpected server error.

messageType
string
Value: "Error"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

post/simpleProduct
https://emea.dgassistant.com/api/v2/rest/simpleProduct
https://amer.dgassistant.com/api/v2/rest/simpleProduct
https://apac.dgassistant.com/api/v2/rest/simpleProduct

Request samples

Content type
application/json
{
  • "accountCode": "CO001",
  • "enabledDangerousGoodsRegulations": [
    • "Adr"
    ],
  • "reference": "REF001",
  • "productCode": "PROCOD001",
  • "productName": "PRONAM001",
  • "isDangerousGood": true,
  • "dangerousGoodId": 2301,
  • "technicalNames": {
    • "englishTechnicalName": "XYLENE AND BENZENE",
    • "spanishTechnicalName": "XILENO Y BENCENO",
    • "frenchTechnicalName": "XYLÈNE ET BENZÈNE",
    • "germanTechnicalName": "XYLOL UND BENZOL",
    • "portugueseTechnicalName": "XILENO E BENZENO",
    • "russianTechnicalName": "КСИЛОЛ И БЕНЗОЛ",
    • "chineseTechnicalName": "二甲苯和苯",
    • "italianTechnicalName": "XILENE E BENZENE",
    • "dutchTechnicalName": "XYLEEN EN BENZEEN",
    • "turkishTechnicalName": "KSİLEN VE BENZEN",
    • "polishTechnicalName": "KSYLEN I BENZEN",
    • "swedishTechnicalName": "XYLEN OCH BENSEN",
    • "norwegianTechnicalName": "XYLEN OG BENSEN",
    • "czechTechnicalName": "XYLEN A BENZEN",
    • "danishTechnicalName": "XYLEN OG BENZEN",
    • "greekTechnicalName": "ΞΥΛΟΛΙΟ ΚΑΙ ΒΕΝΖΟΛΙΟ",
    • "hungarianTechnicalName": "XILOL ÉS BENZOL",
    • "slovakTechnicalName": "XYLÉN A BENZÉN",
    • "romanianTechnicalName": "XILEN ȘI BENZEN",
    • "finnishTechnicalName": "KSYLEENI JA BENTSEENI"
    },
  • "isEnvironmentallyHazardous": false,
  • "isEmpty": false,
  • "physicalState": "Liquid",
  • "measureUnit": "kg",
  • "pureMixOrSolution": "Pure",
  • "mixOrSolutionPercentage": 0,
  • "flashPoint": 30.2,
  • "controlTemperature": 15,
  • "emergencyTemperature": 20,
  • "density": 1,
  • "packageId": 14,
  • "packageHomologationId": 43,
  • "packingInstructionId": 0,
  • "strictPackingInstructionCheck": true,
  • "imdgSegregationGroupId": 0,
  • "hasInnerPackages": false,
  • "unitaryQuantity": 1.2,
  • "unitaryGrossQuantity": 2,
  • "unitaryQuantityExplosive": 0,
  • "fillingDegree": 100,
  • "authorizations": "Auth 0001",
  • "innerPackageMaterialId": 0,
  • "innerPackagesNumber": 0,
  • "innerPackageQuantity": 0,
  • "innerPackageCapacity": 0.5,
  • "innerPackageQuantityExplosive": 0,
  • "radiological": {
    • "nuclides": [
      • {
        • "radionuclideCode": "Co-60",
        • "activityBq": 50000000
        }
      ],
    • "packageType": "Excepted",
    • "isSpecialForm": false,
    • "isFissile": false,
    • "category": "IWhite",
    • "transportIndex": 0,
    • "certificateRef": "",
    • "physicoChemical": "Sealed source, solid",
    • "surfaceDoseRate": 0.05,
    • "packageDimensions": "string"
    },
  • "specialFeatures": "IsExtraViscousAccordingAdr"
}

Response samples

Content type
application/json
{
  • "newItemId": 23,
  • "newItemIsValid": true,
  • "success": true,
  • "httpStatusCode": 201,
  • "message": "Item Created OK",
  • "messageType": "Information",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 400,
  • "message": "Good not valid",
  • "messageType": "Error",
  • "parameter": "goods",
  • "parameterValue": "GoodX",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 401,
  • "message": "Authentication failed: the credentials of the API user or the access token are not valid",
  • "messageType": "Error",
  • "parameter": "Authorization",
  • "parameterValue": "Value ABC",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 403,
  • "message": "The account does not have an active license for any dangerous goods regulation",
  • "messageType": "Error",
  • "parameter": "Regulation Licenses",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 500,
  • "message": "Unexpected Error",
  • "messageType": "Error",
  • "parameter": "string",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}

Validate a simple product without creating it

Performs the complete validation of a predefined simple product, applying the same checks as the creation service, without persisting anything in the catalogue.

Authorizations:

basicAuth or bearerAuth
HTTP: basicAuth
HTTP Authorization Scheme: basic
HTTP: 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.

HTTP Authorization Scheme: bearer

query Parameters

requestGuid
string <= 36 characters

Identifier of the request, up to 36 characters, used to trace it and returned in the response.

Request Body schema: application/json
required

simple Product

accountCode
required
string

Customer account code identifying the tenant in the system.

enabledDangerousGoodsRegulations
required
Array of strings (DangerousGoodsRegulation) non-empty
Items Enum: "Adr" "Imdg" "Iata" "Cfr49"

List of dangerous goods regulations enabled for this product. When Imdg or Iata is enabled and the road regulation configured for the user is ADR, ADR is also enabled for the road leg when the dangerous good has an ADR entry.

reference
required
string

Unique reference of the product in the catalogue.

isDangerousGood
required
boolean

Indicates whether the product is regulated as dangerous goods.

isEnvironmentallyHazardous
required
boolean

Indicates whether the substance is environmentally hazardous (marine pollutant). According to sections II and XV of the safety data sheet, it must be true when they include R50, R50/53, R51/53, H400, H410 or H411. It must be false for a product that is not a dangerous good.

physicalState
required
string
Enum: "Liquid" "Solid" "Gas"

Physical state of the substance: Liquid, Solid or Gas.

measureUnit
required
string
Enum: "kg" "L" "g" "mL" "kgOrL" "gOrmL"

Measurement unit for quantities: kg or L.

pureMixOrSolution
required
string
Enum: "Pure" "Mix" "Solution"

Indicates whether the substance is pure, a mixture or a solution.

packageId
required
integer <int64>

Identifier of the outer package type from master data. The package type also declares limited and excepted quantities: the package types for limited quantities (box, drum and shrink-wrapped tray) declare the goods as limited quantities and the box for excepted quantities declares them as excepted quantities, and the limits that apply are checked.

hasInnerPackages
required
boolean

Indicates whether the outer package contains inner packages.

productCode
string

Internal product code assigned by the customer.

productName
string

Commercial name of the product. It is required.

dangerousGoodId
integer <int64>

Identifier of the dangerous good entry in master data. Required when isDangerousGood is true.

object

Technical names of the substance in different languages. Required when the dangerous good requires a technical name under any of the regulations enabled for the product, which is indicated by requiresTechnicalName in GET /masterData/simpleDangerousGood and GET /masterData/detailedDangerousGood. The English name is always required; so is the name in the ADR official language configured for the user when the road regulation configured for the user is ADR and that language is not English, and the name in the language of the country of the account when it is neither of them. When a required name is missing, the response returns newItemIsValid false and the product, when it is created, is recorded as not valid.

isEmpty
boolean

Indicates whether the package is empty and uncleaned. When it is omitted, it is false. An empty uncleaned package is not accepted in an IATA consignment.

mixOrSolutionPercentage
number

Percentage of the dangerous component in the mixture or solution. Required when pureMixOrSolution is Mix or Solution; it must be greater than 0 and lower than 100.

flashPoint
number

Closed-cup flash-point of the substance, expressed in Celsius. For Class 3 it is checked against the packing group of the dangerous good: an inconsistency is reported as a warning, or as an error in the cases described in strictPackingInstructionCheck. Required when the Imdg regulation is enabled and the dangerous good bears a class 3 label.

controlTemperature
number

Control temperature in Celsius (ADR 5.4.1.2.3.1 / IMDG 5.4.1.5.4 and 5.4.1.5.5). Mandatory together with emergencyTemperature for temperature-controlled substances (UN 3111-3120, 3231-3240, 3533 and 3534); optional for stabilized substances that allow temperature control. Must be lower than emergencyTemperature. For any other product both temperatures must be omitted.

emergencyTemperature
number

Emergency temperature in Celsius (ADR 5.4.1.2.3.1 / IMDG 5.4.1.5.4 and 5.4.1.5.5). Provided in pair with controlTemperature and strictly higher than it.

density
number

Density of the substance, expressed in kilograms per liter. Under ADR and IMDG it is needed to verify a quantity limit expressed in a unit other than the measure unit of the product, such as a limit in kilograms for a product declared in liters; without it, that limit is not verified and the response reports it as a warning (an error with strictPackingInstructionCheck).

packageHomologationId
integer <int64>

Identifier of the package UN homologation code from master data.

Under ADR and IMDG, the net quantity and gross mass limits of the single or outer packaging are taken from the row of this homologation in the packing instruction: when it is omitted for a packaging that requires homologation, those limits are not verified and the response reports it as a warning (an error with strictPackingInstructionCheck).

The package types for limited and excepted quantities do not require homologation and have no homologations of their own: with them this field is optional and indicates the material of the outer packaging, which is one of the homologations of the box (packageId 5) for the limited quantity box and the excepted quantity box, and one of the homologations of the drum (packageId 14) for the limited quantity drum; the shrink-wrapped tray takes no material. Any other homologation is rejected. When the material is indicated, the transport document describes the package with it, for example fibreboard box; otherwise, with the package type only.

Under IATA it is required for a dangerous good, except when the package type is a receptacle for gases, such as a cylinder, or an article, such as a battery or a machine.

packingInstructionId
integer <int64>

Identifier of the applicable packing instruction.

Under ADR and IMDG it may be omitted: the application then determines it from the declared packaging and checks its quantity limits. When a single packing instruction cannot be determined, the quantity limits are not verified: the response reports it as a warning with the rule reference ADR 4.1.4 or IMDG 4.1.4, or, when strictPackingInstructionCheck is true, the request is rejected, naming the candidates when there are several.

Under IATA, when omitted, the application determines it from the packaging and the net quantity. When it cannot be determined, the request is rejected and the packing instruction has to be sent, except for radioactive material and for the box for excepted quantities.

strictPackingInstructionCheck
boolean

Optional. When true, the packing instruction must belong to the dangerous good and the packaging must be included in the packing instruction list for each enabled ADR or IMDG regulation: the homologation of the single or outer packaging and the inner packaging material. When absent or false, these verifications are not performed for ADR and IMDG. The IATA regulation applies this verification in all cases.

Under ADR and IMDG, a quantity limit that cannot be verified because the request lacks the density (in a packing instruction or in the excepted quantity code) or the homologation of the packaging is reported as an error when true and as a warning otherwise; when true, a flash-point that is not consistent with packing group II is also reported as an error instead of a warning.

Not returned by any response: it is a write-time validation switch only and is not stored.

When true and packingInstructionId is omitted for ADR or IMDG, the request is rejected when no packing instruction, or more than one, admits the declared packaging.

imdgSegregationGroupId
integer <int64>

Identifier of the IMDG segregation group of the substance (IMDG Code 3.1.4), or 255 for no segregation group. It applies to the IMDG Code only. When the entry of the Dangerous Goods List already assigns segregation groups, those apply and this value is ignored. Otherwise, a value that is neither one of the groups returned by GET /masterData/imdgSegregationGroup nor 255 is rejected with 400, and, when the value is omitted, a product that is not a dangerous good and an entry that is not an N.O.S. entry are recorded without segregation group, while an N.O.S. entry is rejected, because the consignor has to state its group. GET /masterData/detailedDangerousGood gives, in imdgData, the segregation groups of each entry (segregationGroups) and whether it is an N.O.S. entry (isNotOtherwiseSpecified), which GET /masterData/simpleDangerousGood also gives.

unitaryQuantity
number

Net quantity of substance per outer package. When hasInnerPackages is true, the quantity recorded is innerPackagesNumber multiplied by innerPackageQuantity, so this field may be omitted; if it is sent with another value, the response carries a warning. When hasInnerPackages is false, it is required for a dangerous good and must be greater than 0; 0 is accepted only for an empty uncleaned package under ADR and IMDG.

unitaryGrossQuantity
number

Gross mass of one outer package, expressed in kilograms. Required when the Imdg regulation is enabled, also for a product that is not a dangerous good; under ADR, when the package type is one of the package types for limited quantities; and under IATA, when the limit of the packing instruction of the dangerous good is a gross mass. It cannot be lower than the mass of the contents.

unitaryQuantityExplosive
number

Net explosive content per outer package, expressed in kilograms.

fillingDegree
number

Filling degree of the package, expressed as percentage.

authorizations
string

Authorizations or special provisions applicable to the transport.

innerPackageMaterialId
integer <int64>

Identifier of the inner package material from master data. Required for a dangerous good when hasInnerPackages is true, except for UN 1845, carbon dioxide, solid (dry ice).

innerPackagesNumber
integer

Number of inner packages contained in each outer package. Required for a dangerous good when hasInnerPackages is true; it must be greater than 0.

innerPackageQuantity
number

Net quantity per inner package. Required for a dangerous good when hasInnerPackages is true; it must be greater than 0.

innerPackageCapacity
number

Capacity of each inner package, in litres (for aerosols, the capacity of the dispenser).

innerPackageQuantityExplosive
number

Net explosive content per inner package, expressed in kilograms.

object

Radiological data. Mandatory when the product belongs to Class 7 (radioactive). Must be omitted for non-radioactive products.

specialFeatures
string
Enum: "IsExtraViscousAccordingAdr" "IsExtraViscousAccordingImdg" "IsSalvagePackage"

Special features of the product for this mode of transport. The extra viscous features apply to Class 3 substances under the corresponding regulation; the salvage packaging feature has no restriction.

Responses

200

Successful request

Response Schema: application/json

newItemId
integer or null <int64>

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: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the validation error.

messageType
string
Enum: "Error" "Warning" "Information"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

401

Unauthorized

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the authentication error.

messageType
string
Enum: "Error" "Warning" "Information"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

The authentication error, with its stable code.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

403

Forbidden

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

500

Unexpected Error

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the unexpected server error.

messageType
string
Value: "Error"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

post/simpleProduct/validate
https://emea.dgassistant.com/api/v2/rest/simpleProduct/validate
https://amer.dgassistant.com/api/v2/rest/simpleProduct/validate
https://apac.dgassistant.com/api/v2/rest/simpleProduct/validate

Request samples

Content type
application/json
{
  • "accountCode": "CO001",
  • "enabledDangerousGoodsRegulations": [
    • "Adr"
    ],
  • "reference": "REF001",
  • "productCode": "PROCOD001",
  • "productName": "PRONAM001",
  • "isDangerousGood": true,
  • "dangerousGoodId": 2301,
  • "technicalNames": {
    • "englishTechnicalName": "XYLENE AND BENZENE",
    • "spanishTechnicalName": "XILENO Y BENCENO",
    • "frenchTechnicalName": "XYLÈNE ET BENZÈNE",
    • "germanTechnicalName": "XYLOL UND BENZOL",
    • "portugueseTechnicalName": "XILENO E BENZENO",
    • "russianTechnicalName": "КСИЛОЛ И БЕНЗОЛ",
    • "chineseTechnicalName": "二甲苯和苯",
    • "italianTechnicalName": "XILENE E BENZENE",
    • "dutchTechnicalName": "XYLEEN EN BENZEEN",
    • "turkishTechnicalName": "KSİLEN VE BENZEN",
    • "polishTechnicalName": "KSYLEN I BENZEN",
    • "swedishTechnicalName": "XYLEN OCH BENSEN",
    • "norwegianTechnicalName": "XYLEN OG BENSEN",
    • "czechTechnicalName": "XYLEN A BENZEN",
    • "danishTechnicalName": "XYLEN OG BENZEN",
    • "greekTechnicalName": "ΞΥΛΟΛΙΟ ΚΑΙ ΒΕΝΖΟΛΙΟ",
    • "hungarianTechnicalName": "XILOL ÉS BENZOL",
    • "slovakTechnicalName": "XYLÉN A BENZÉN",
    • "romanianTechnicalName": "XILEN ȘI BENZEN",
    • "finnishTechnicalName": "KSYLEENI JA BENTSEENI"
    },
  • "isEnvironmentallyHazardous": false,
  • "isEmpty": false,
  • "physicalState": "Liquid",
  • "measureUnit": "kg",
  • "pureMixOrSolution": "Pure",
  • "mixOrSolutionPercentage": 0,
  • "flashPoint": 30.2,
  • "controlTemperature": 15,
  • "emergencyTemperature": 20,
  • "density": 1,
  • "packageId": 14,
  • "packageHomologationId": 43,
  • "packingInstructionId": 0,
  • "strictPackingInstructionCheck": true,
  • "imdgSegregationGroupId": 0,
  • "hasInnerPackages": false,
  • "unitaryQuantity": 1.2,
  • "unitaryGrossQuantity": 2,
  • "unitaryQuantityExplosive": 0,
  • "fillingDegree": 100,
  • "authorizations": "Auth 0001",
  • "innerPackageMaterialId": 0,
  • "innerPackagesNumber": 0,
  • "innerPackageQuantity": 0,
  • "innerPackageCapacity": 0.5,
  • "innerPackageQuantityExplosive": 0,
  • "radiological": {
    • "nuclides": [
      • {
        • "radionuclideCode": "Co-60",
        • "activityBq": 50000000
        }
      ],
    • "packageType": "Excepted",
    • "isSpecialForm": false,
    • "isFissile": false,
    • "category": "IWhite",
    • "transportIndex": 0,
    • "certificateRef": "",
    • "physicoChemical": "Sealed source, solid",
    • "surfaceDoseRate": 0.05,
    • "packageDimensions": "string"
    },
  • "specialFeatures": "IsExtraViscousAccordingAdr"
}

Response samples

Content type
application/json
{
  • "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",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 400,
  • "message": "Good not valid",
  • "messageType": "Error",
  • "parameter": "goods",
  • "parameterValue": "GoodX",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 401,
  • "message": "Authentication failed: the credentials of the API user or the access token are not valid",
  • "messageType": "Error",
  • "parameter": "Authorization",
  • "parameterValue": "Value ABC",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 403,
  • "message": "The account does not have an active license for any dangerous goods regulation",
  • "messageType": "Error",
  • "parameter": "Regulation Licenses",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 500,
  • "message": "Unexpected Error",
  • "messageType": "Error",
  • "parameter": "string",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}

Get a simple product of the catalogue

Returns a predefined simple product from the catalogue, identified by its unique reference. Only simple products are found: a mixed packing product with that reference answers 404 and is read with GET /mixedPackingProduct/{reference}. A product saved with a correctable error, such as a missing technical name, is also returned, with isValid false.

Authorizations:

basicAuth or bearerAuth
HTTP: basicAuth
HTTP Authorization Scheme: basic
HTTP: 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.

HTTP Authorization Scheme: bearer

path Parameters

reference
required
string <= 50 characters

Reference of the simple product in the catalogue, as given on creation.

query Parameters

requestGuid
string <= 36 characters

Identifier of the request, up to 36 characters, used to trace it and returned in the response.

Responses

200

Successful request

Response Schema: application/json

object (SimpleProductResponseData)

Mode of transport of a good saved in the catalogue.

reference
required
string

Unique reference of the product in the catalogue.

isDangerousGood
required
boolean

Indicates whether the product is regulated as dangerous goods.

enabledDangerousGoodsRegulations
required
Array of strings (DangerousGoodsRegulation) non-empty
Items Enum: "Adr" "Imdg" "Iata" "Cfr49"

List of dangerous goods regulations enabled for this product.

isEnvironmentallyHazardous
required
boolean

Indicates whether the substance is environmentally hazardous (marine pollutant).

isEmpty
required
boolean

Indicates whether the package is empty and uncleaned.

measureUnit
required
string
Enum: "kg" "L" "g" "mL" "kgOrL" "gOrmL"

Measurement unit for quantities: kg or L.

pureMixOrSolution
required
string
Enum: "Pure" "Mix" "Solution"

Indicates whether the substance is pure, a mixture or a solution.

packageId
required
integer <int64>

Identifier of the outer package type from master data.

hasInnerPackages
required
boolean

Indicates whether the outer package contains inner packages.

accountCode
string

Customer account code identifying the tenant in the system.

productCode
string

Internal product code assigned by the customer.

productName
string

Commercial name of the product.

dangerousGoodId
integer <int64>

Identifier of the dangerous good entry in master data.

object

Technical names of the substance in different languages.

englishTechnicalName
string

Technical name of the substance in English.

spanishTechnicalName
string

Technical name of the substance in Spanish.

frenchTechnicalName
string

Technical name of the substance in French.

germanTechnicalName
string

Technical name of the substance in German.

portugueseTechnicalName
string

Technical name of the substance in Portuguese.

russianTechnicalName
string

Technical name of the substance in Russian.

chineseTechnicalName
string

Technical name of the substance in Chinese.

italianTechnicalName
string

Technical name of the substance in Italian.

dutchTechnicalName
string

Technical name of the substance in Dutch.

turkishTechnicalName
string

Technical name of the substance in Turkish.

polishTechnicalName
string

Technical name of the substance in Polish.

swedishTechnicalName
string

Technical name of the substance in Swedish.

norwegianTechnicalName
string

Technical name of the substance in Norwegian.

czechTechnicalName
string

Technical name of the substance in Czech.

danishTechnicalName
string

Technical name of the substance in Danish.

greekTechnicalName
string

Technical name of the substance in Greek.

hungarianTechnicalName
string

Technical name of the substance in Hungarian.

slovakTechnicalName
string

Technical name of the substance in Slovak.

romanianTechnicalName
string

Technical name of the substance in Romanian.

finnishTechnicalName
string

Technical name of the substance in Finnish.

physicalState
string
Enum: "Liquid" "Solid" "Gas"

Physical state of the substance: Liquid, Solid or Gas.

mixOrSolutionPercentage
number

Percentage of the dangerous component in the mixture or solution.

flashPoint
number

Closed-cup flash-point of the substance, expressed in Celsius.

controlTemperature
number

Control temperature in Celsius (ADR 5.4.1.2.3.1 / IMDG 5.4.1.5.4 and 5.4.1.5.5). Mandatory together with emergencyTemperature for temperature-controlled substances (UN 3111-3120, 3231-3240, 3533 and 3534); optional for stabilized substances that allow temperature control. Must be lower than emergencyTemperature.

emergencyTemperature
number

Emergency temperature in Celsius (ADR 5.4.1.2.3.1 / IMDG 5.4.1.5.4 and 5.4.1.5.5). Provided in pair with controlTemperature and strictly higher than it.

density
number

Density of the substance, expressed in kilograms per liter.

packageHomologationId
integer <int64>

Identifier of the package UN homologation code from master data. With the package types for limited and excepted quantities it indicates the material of the outer packaging.

packingInstructionId
integer <int64>

Identifier of the applicable packing instruction.

imdgSegregationGroupId
integer <int64>

Identifier of the IMDG segregation group of the substance.

unitaryQuantity
number

Net quantity of substance per outer package.

unitaryGrossQuantity
number

Gross mass of one outer package, expressed in kilograms.

unitaryQuantityExplosive
number

Net explosive content per outer package, expressed in kilograms.

fillingDegree
number

Filling degree of the package, expressed as percentage.

authorizations
string

Authorizations or special provisions applicable to the transport.

innerPackageMaterialId
integer <int64>

Identifier of the inner package material from master data.

innerPackagesNumber
integer

Number of inner packages contained in each outer package.

innerPackageQuantity
number

Net quantity per inner package.

innerPackageCapacity
number

Capacity of each inner package, in litres (for aerosols, the capacity of the dispenser).

innerPackageQuantityExplosive
number

Net explosive content per inner package, expressed in kilograms.

object

Radiological data of the product. Only populated for Class 7 (radioactive) products. Includes radionuclide code, activity in Bq, package type, special form flag, fissile flag, category, transport index, certificate reference and physico-chemical description.

Array of objects (ProductRadiologicalNuclide)

List of radionuclides contained in the product (1..N). The radiological block is mandatory for every Class 7 product, including the excepted packages UN 2908-2911: at least one entry, with a radionuclide code and a strictly positive activity per package, is required for every package type. Each entry has the radionuclide code and the activity per package in Bq. The A2 multiple of the consignment item is calculated from the activity and the A2 value of each radionuclide.

Array [
radionuclideCode
required
string

Radionuclide code as listed in the radionuclide catalogue (for example 'Co-60', 'Cs-137', 'Ir-192', 'Sr-90').

activityBq
required
number

Maximum activity per package during transport for this radionuclide, expressed in becquerels (Bq). SI units only; strictly positive.

]
packageType
string
Enum: "Excepted" "IndustrialPackage1" "IndustrialPackage2" "IndustrialPackage3" "TypeA" "TypeASpecialForm" "TypeBU" "SpecialArrangement"

Package type. Allowed values: Excepted (UN 2908-2911); IndustrialPackage1 (IP-1, UN 2912 LSA-I, UN 2913 SCO-I); IndustrialPackage2 (IP-2, UN 2913 SCO-II, UN 3321 LSA-II liquid/gas, UN 3322 LSA-III under exclusive use); IndustrialPackage3 (IP-3, UN 3321 LSA-II solid, UN 3322 LSA-III); TypeA (UN 2915, normal form); TypeASpecialForm (UN 3332, certificate reference mandatory); TypeBU (UN 2916 unilateral approval, certificate reference mandatory); SpecialArrangement (UN 2919, transported under special arrangement: category IIIYellow and certificate reference with type code X mandatory). It is required.

isSpecialForm
boolean

True if the radioactive material is in special form (special form certificate required). Only meaningful when packageType = TypeASpecialForm.

isFissile
boolean

True if the radioactive material is fissile (not fissile-excepted). Out of scope for this version; must be false.

category
string
Enum: "IWhite" "IIYellow" "IIIYellow"

Package category (ADR 2.2.7.2.4 / IMDG 2.7.2.4 / IATA 10.5.7). Allowed values: IWhite (maximum radiation level less than or equal to 0.005 mSv/h, TI must be zero); IIYellow (greater than 0.005 mSv/h and up to 0.5 mSv/h, TI up to 1); IIIYellow (greater than 0.5 mSv/h and up to 2 mSv/h, TI greater than 1). Required, except for Excepted packages, for which it must be omitted. IIIYellow is mandatory for SpecialArrangement packages.

transportIndex
number

Transport Index (TI). Dimensionless, rounded up to one decimal place. Required, except for Excepted packages and packages of category IWhite.

certificateRef
string

Certificate reference. Mandatory for TypeASpecialForm (UN 3332), TypeBU (UN 2916) and SpecialArrangement (UN 2919; it must contain the special arrangement mark with type code X). Examples: 'ES/4567/S-96', 'ES/4567/B(U)', 'FIN/123/X'. Not applicable to Industrial Packages (IP-1/2/3) which follow the prescriptive design of ADR 6.4.5-6.4.7.

physicoChemical
string

Description of the physical and chemical form of the contents. Required, except for Excepted and TypeASpecialForm packages.

surfaceDoseRate
number

Maximum surface dose rate of the package, in mSv/h. Used together with the transport index to determine the package category, taking the more restrictive of the two (ADR/IMDG 5.1.5.3.4).

packageDimensions
string <= 60 characters

Overall package dimensions including units, in the order length x width (or diameter) x height, for example "L 30 cm x W 30 cm x H 40 cm". Required by the air transport document (ICAO TI 2025-26 5;4.1.5.7.1 f)) for packages of category IIYellow or IIIYellow in IATA consignments; not used by ADR or IMDG.

specialFeatures
string
Enum: "IsExtraViscousAccordingAdr" "IsExtraViscousAccordingImdg" "IsSalvagePackage"

Special features of the product for this mode of transport.

isValid
boolean

Indicates whether the product passed validation against the regulations. False for a product saved with a correctable error, such as a missing technical name, until it is corrected in the application.

success
boolean

Indicates whether the operation completed successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the operation result.

messageType
string
Enum: "Information" "Warning"

Severity classification of the message.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. A warning does not prevent the operation. Omitted when there is no warning.

400

Bad request: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

401

Unauthorized

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the authentication error.

messageType
string
Enum: "Error" "Warning" "Information"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

The authentication error, with its stable code.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

403

Forbidden

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

404

Simple product 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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

500

Unexpected Error

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the unexpected server error.

messageType
string
Value: "Error"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

get/simpleProduct/{reference}
https://emea.dgassistant.com/api/v2/rest/simpleProduct/{reference}
https://amer.dgassistant.com/api/v2/rest/simpleProduct/{reference}
https://apac.dgassistant.com/api/v2/rest/simpleProduct/{reference}

Response samples

Content type
application/json
{
  • "simpleProductResponse": {
    • "accountCode": "CO001",
    • "reference": "REF001",
    • "productCode": "PROCOD001",
    • "productName": "PRONAM001",
    • "isDangerousGood": true,
    • "dangerousGoodId": 2301,
    • "enabledDangerousGoodsRegulations": [
      • "Adr"
      ],
    • "technicalNames": {
      • "englishTechnicalName": "XYLENE AND BENZENE",
      • "spanishTechnicalName": "XILENO Y BENCENO",
      • "frenchTechnicalName": "XYLÈNE ET BENZÈNE",
      • "germanTechnicalName": "XYLOL UND BENZOL",
      • "portugueseTechnicalName": "XILENO E BENZENO",
      • "russianTechnicalName": "КСИЛОЛ И БЕНЗОЛ",
      • "chineseTechnicalName": "二甲苯和苯",
      • "italianTechnicalName": "XILENE E BENZENE",
      • "dutchTechnicalName": "XYLEEN EN BENZEEN",
      • "turkishTechnicalName": "KSİLEN VE BENZEN",
      • "polishTechnicalName": "KSYLEN I BENZEN",
      • "swedishTechnicalName": "XYLEN OCH BENSEN",
      • "norwegianTechnicalName": "XYLEN OG BENSEN",
      • "czechTechnicalName": "XYLEN A BENZEN",
      • "danishTechnicalName": "XYLEN OG BENZEN",
      • "greekTechnicalName": "ΞΥΛΟΛΙΟ ΚΑΙ ΒΕΝΖΟΛΙΟ",
      • "hungarianTechnicalName": "XILOL ÉS BENZOL",
      • "slovakTechnicalName": "XYLÉN A BENZÉN",
      • "romanianTechnicalName": "XILEN ȘI BENZEN",
      • "finnishTechnicalName": "KSYLEENI JA BENTSEENI"
      },
    • "isEnvironmentallyHazardous": false,
    • "isEmpty": false,
    • "physicalState": "Liquid",
    • "measureUnit": "kg",
    • "pureMixOrSolution": "Pure",
    • "mixOrSolutionPercentage": 0,
    • "flashPoint": 30.2,
    • "controlTemperature": 15,
    • "emergencyTemperature": 20,
    • "density": 1,
    • "packageId": 14,
    • "packageHomologationId": 43,
    • "packingInstructionId": 0,
    • "imdgSegregationGroupId": 5,
    • "hasInnerPackages": false,
    • "unitaryQuantity": 1.2,
    • "unitaryGrossQuantity": 2,
    • "unitaryQuantityExplosive": 0,
    • "fillingDegree": 100,
    • "authorizations": "Auth 0001",
    • "innerPackageMaterialId": 0,
    • "innerPackagesNumber": 0,
    • "innerPackageQuantity": 0,
    • "innerPackageCapacity": 0.5,
    • "innerPackageQuantityExplosive": 0,
    • "radiological": {
      • "nuclides": [
        • {
          • "radionuclideCode": "Co-60",
          • "activityBq": 50000000
          }
        ],
      • "packageType": "Excepted",
      • "isSpecialForm": false,
      • "isFissile": false,
      • "category": "IWhite",
      • "transportIndex": 0,
      • "certificateRef": "",
      • "physicoChemical": "Sealed source, solid",
      • "surfaceDoseRate": 0.05,
      • "packageDimensions": "string"
      },
    • "specialFeatures": "IsExtraViscousAccordingAdr",
    • "isValid": 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",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 400,
  • "message": "Good not valid",
  • "messageType": "Error",
  • "parameter": "goods",
  • "parameterValue": "GoodX",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 401,
  • "message": "Authentication failed: the credentials of the API user or the access token are not valid",
  • "messageType": "Error",
  • "parameter": "Authorization",
  • "parameterValue": "Value ABC",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 403,
  • "message": "The account does not have an active license for any dangerous goods regulation",
  • "messageType": "Error",
  • "parameter": "Regulation Licenses",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 404,
  • "message": "Item not found",
  • "messageType": "Error",
  • "parameter": "productId",
  • "parameterValue": "Prod001",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 500,
  • "message": "Unexpected Error",
  • "messageType": "Error",
  • "parameter": "string",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}

Delete a simple product of the catalogue

Removes a predefined simple product from the catalogue, identified by its unique reference. Only simple products are found: a mixed packing product with that reference answers 404 and is removed with DELETE /mixedPackingProduct/{reference}. A product saved with a correctable error (isValid false) is also removed.

Authorizations:

basicAuth or bearerAuth
HTTP: basicAuth
HTTP Authorization Scheme: basic
HTTP: 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.

HTTP Authorization Scheme: bearer

path Parameters

reference
required
string <= 50 characters

Reference of the simple product in the catalogue, as given on creation.

query Parameters

requestGuid
string <= 36 characters

Identifier of the request, up to 36 characters, used to trace it and returned in the response.

Responses

200

Successful request

Response Schema: application/json

success
boolean

Indicates whether the operation completed successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the operation result.

messageType
string
Enum: "Information" "Warning"

Severity classification of the message.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. A warning does not prevent the operation. Omitted when there is no warning.

400

Bad request: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

401

Unauthorized

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the authentication error.

messageType
string
Enum: "Error" "Warning" "Information"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

The authentication error, with its stable code.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

403

Forbidden

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

404

Simple product 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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

500

Unexpected Error

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the unexpected server error.

messageType
string
Value: "Error"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

delete/simpleProduct/{reference}
https://emea.dgassistant.com/api/v2/rest/simpleProduct/{reference}
https://amer.dgassistant.com/api/v2/rest/simpleProduct/{reference}
https://apac.dgassistant.com/api/v2/rest/simpleProduct/{reference}

Response samples

Content type
application/json
{
  • "success": true,
  • "httpStatusCode": 200,
  • "message": "Operation Completed OK",
  • "messageType": "Information",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 400,
  • "message": "Good not valid",
  • "messageType": "Error",
  • "parameter": "goods",
  • "parameterValue": "GoodX",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 401,
  • "message": "Authentication failed: the credentials of the API user or the access token are not valid",
  • "messageType": "Error",
  • "parameter": "Authorization",
  • "parameterValue": "Value ABC",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 403,
  • "message": "The account does not have an active license for any dangerous goods regulation",
  • "messageType": "Error",
  • "parameter": "Regulation Licenses",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 404,
  • "message": "Item not found",
  • "messageType": "Error",
  • "parameter": "productId",
  • "parameterValue": "Prod001",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 500,
  • "message": "Unexpected Error",
  • "messageType": "Error",
  • "parameter": "string",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}

Create a mixed packing product in the catalogue

Creates a predefined mixed packing product in the catalogue, with its outer packaging and at least two contents, to reuse it in consignments: its reference is the value to send in predefinedMixedPackingProducts or to POST /consignment/{consignmentId}/mixedPackingProduct. The reference must not be in use by any other product of the accounts visible to the user, because the consignment requires exactly one product with that reference.

When a content is rejected, the response names its position in contents, starting at 0; only the first rejected content is reported.

Authorizations:

basicAuth or bearerAuth
HTTP: basicAuth
HTTP Authorization Scheme: basic
HTTP: 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.

HTTP Authorization Scheme: bearer

query Parameters

requestGuid
string <= 36 characters

Identifier of the request, up to 36 characters, used to trace it and returned in the response.

Request Body schema: application/json
required

mixed packing product with its outer packaging and its contents

accountCode
required
string

Customer account code identifying the tenant in the system.

enabledDangerousGoodsRegulations
required
Array of strings (DangerousGoodsRegulation) non-empty
Items Enum: "Adr" "Imdg" "Iata" "Cfr49"

Dangerous goods regulations for which the mixed packing product is enabled: Adr, Imdg or Iata. Cfr49 is not available for mixed packings.

reference
required
string [ 1 .. 50 ] characters

Unique reference of the mixed packing product in the catalogue, also used as its product code. It is trimmed of surrounding blanks, must not be blank and must not be in use by any other product of the accounts visible to the user, because the consignment finds the product by this value.

outerPackageId
required
integer <int64>

Identifier of the outer package type from master data: box, drum, limited quantity box or drum, or excepted quantity box.

outerPackageHomologationId
required
integer <int64>

Identifier of the UN homologation code of the outer package from master data. It must belong to the outer package type. With the limited quantity box and the excepted quantity box, which have no homologations of their own, it is one of the homologations of the box (packageId 5), and with the limited quantity drum one of the homologations of the drum (packageId 14); it indicates the material of the outer packaging.

required
Array of objects (MixedPackingProductTransportModeContent) >= 2 items

Contents of the mixed packing, at least two, saved in the order of the list.

Array [
isEnvironmentallyHazardous
required
boolean

Indicates whether the substance is environmentally hazardous (marine pollutant). According to sections II and XV of the safety data sheet, it must be true when they include R50, R50/53, R51/53, H400, H410 or H411.

physicalState
required
string
Enum: "Liquid" "Solid" "Gas"

Physical state of the substance: Liquid, Solid or Gas.

measureUnit
required
string
Enum: "kg" "L" "g" "mL" "kgOrL" "gOrmL"

Measurement unit for quantities: kg or L.

pureMixOrSolution
required
string
Enum: "Pure" "Mix" "Solution"

Indicates whether the substance is pure, a mixture or a solution.

numberOfInnerPackages
required
integer

Number of inner packages of this content within the mixed packing.

innerPackageMaterialId
required
integer <int64>

Identifier of the inner package material from master data.

innerPackageQuantity
required
number

Net quantity per inner package.

dangerousGoodId
integer <int64>

Identifier of the dangerous good entry in master data. Class 7 (radioactive) entries are rejected as contents of a mixed packing: declare radioactive material as a simple product with radiological.nuclides[]. It is required, because the contents of a mixed packing are always dangerous goods. Substances that require control and emergency temperatures (UN 3111 to 3120, 3231 to 3240, 3533 and 3534) are also rejected as contents.

mixOrSolutionPercentage
number

Percentage of the dangerous component in the mixture or solution. Required when pureMixOrSolution is Mix or Solution; it must be greater than 0 and lower than 100.

flashPoint
number

Closed-cup flash-point of the substance, expressed in Celsius. For Class 3 it is checked against the packing group of the dangerous good: an inconsistency is reported as a warning, or as an error in the cases described in strictPackingInstructionCheck. Required when the mixed packing is transported under the IMDG Code and the dangerous good bears a class 3 label.

density
number

Density of the substance, expressed in kilograms per liter. Under ADR and IMDG it is needed to verify a quantity limit expressed in a unit other than the measure unit of the content, such as the net quantity limit in kilograms of the outer packaging for a content declared in liters, or an excepted quantity limit in milliliters for a liquid declared in kilograms; without it, that limit is not verified and the response reports it as a warning (an error with strictPackingInstructionCheck).

imdgSegregationGroupId
integer <int64>

Identifier of the IMDG segregation group of the substance (IMDG Code 3.1.4), or 255 for no segregation group. It applies to the IMDG Code only. When the entry of the Dangerous Goods List already assigns segregation groups, those apply and this value is ignored. Otherwise, when it is omitted, an entry that is not an N.O.S. entry is recorded without segregation group, and an N.O.S. entry is rejected, because the consignor has to state its group. GET /masterData/detailedDangerousGood gives, in imdgData, the segregation groups of each entry (segregationGroups) and whether it is an N.O.S. entry (isNotOtherwiseSpecified), which GET /masterData/simpleDangerousGood also gives.

englishTechnicalName
string

Technical name of the substance in English: the name, such as the chemical name of the components that give the hazard, that is added in parentheses to the proper shipping name of an N.O.S. entry or of another entry that requires a technical name. It is required when the dangerous good requires a technical name under the regulations that apply to the product, and it is the name printed on the IMDG Multimodal Dangerous Goods Form and on the Shipper's Declaration for Dangerous Goods, which are issued in English. Whether an entry requires it under each regulation is indicated by requiresTechnicalName in GET /masterData/simpleDangerousGood and GET /masterData/detailedDangerousGood.

countryOfOriginLanguageTechnicalName
string

Technical name of the substance in the language of the country of the account, such as Spanish for an account in Spain. It is printed on the transport documents that are issued in that language, such as the IMDG Multimodal Dangerous Goods Form, which uses it as second language after English. It is required, together with englishTechnicalName, when the dangerous good requires a technical name and this language is not English. It is ignored when this language is English or when another technical name of the product is already given in this language.

adrPrincipalLanguageTechnicalName
string

Technical name of the substance in the ADR official language configured for the user (English, French or German). The ADR transport document is printed in the language of the country of the account and also in this language when it is a different one. It is required, together with englishTechnicalName, when the dangerous good requires a technical name, the road regulation configured for the user is ADR and the ADR official language of the user is French or German, also when the product is transported under another regulation; when that language is English, englishTechnicalName is used and this value is ignored.

authorizations
string

Authorizations or special provisions applicable to the transport.

packingInstructionId
integer <int64>

Identifier of the applicable packing instruction.

Under ADR and IMDG it may be omitted: the application then determines it from the outer packaging of the mixed packing and the inner packaging material of the content, and checks its quantity limits. When a single packing instruction cannot be determined, the quantity limits are not verified: the response reports it as a warning with the rule reference ADR 4.1.4 or IMDG 4.1.4, or, when strictPackingInstructionCheck is true, the request is rejected, naming the candidates when there are several.

Under IATA, when omitted, the application determines it from the packaging and the net quantity. When it cannot be determined, the request is rejected and the packing instruction has to be sent, except when the outer packaging is the box for excepted quantities.

strictPackingInstructionCheck
boolean

Optional. When true, for each enabled ADR or IMDG regulation the packing instruction of the content must belong to the dangerous good, and the outer packaging of the mixed packing and the inner packaging material of the content must be included in its list. When absent or false, these verifications are not performed for ADR and IMDG. The IATA regulation applies this verification in all cases.

Under ADR and IMDG, a quantity limit that cannot be verified because the request lacks the density, in a packing instruction or in the excepted quantity code, is reported as an error when true and as a warning otherwise; when true, a flash-point that is not consistent with packing group II is also reported as an error instead of a warning.

Not returned by any response: it is a write-time validation switch only and is not stored.

When true and packingInstructionId is omitted for ADR or IMDG, the request is rejected when no packing instruction, or more than one, admits the packaging of the content.

innerPackageCapacity
number

Capacity of each inner package, in litres (for aerosols, the capacity of the dispenser).

innerPackageQuantityExplosive
number

Net explosive content per inner package, expressed in kilograms. Required for goods of Class 1; it must be greater than 0.

consignmentItemCode
string

Optional client identifier of the content within its mixed packing.

]
productName
string <= 150 characters

Commercial name of the mixed packing product. When it is omitted, a name is generated automatically.

unitaryGrossQuantity
number

Gross mass of one outer package, expressed in kilograms. Required when the Imdg regulation is enabled. It is also required when the Iata regulation is enabled and the limit of the packing instruction of a content is a gross mass.

Responses

201

Created

Response Schema: application/json

newItemId
integer <int64>

Identifier assigned to the newly created item.

newItemIsValid
boolean

Indicates whether the newly created item passed regulatory validation.

success
boolean

Indicates whether the item creation completed successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the item creation result.

messageType
string
Enum: "Information" "Warning"

Severity classification of the message.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. A warning does not prevent the operation. Omitted when there is no warning.

400

Bad request: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

401

Unauthorized

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the authentication error.

messageType
string
Enum: "Error" "Warning" "Information"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

The authentication error, with its stable code.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

403

Forbidden

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

500

Unexpected Error

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the unexpected server error.

messageType
string
Value: "Error"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

post/mixedPackingProduct
https://emea.dgassistant.com/api/v2/rest/mixedPackingProduct
https://amer.dgassistant.com/api/v2/rest/mixedPackingProduct
https://apac.dgassistant.com/api/v2/rest/mixedPackingProduct

Request samples

Content type
application/json
{
  • "accountCode": "CO001",
  • "enabledDangerousGoodsRegulations": [
    • "Adr"
    ],
  • "reference": "MPREF-0001",
  • "productName": "MIXPACNAM001",
  • "outerPackageId": 5,
  • "outerPackageHomologationId": 116,
  • "unitaryGrossQuantity": 12.5,
  • "contents": [
    • {
      • "dangerousGoodId": 2301,
      • "isEnvironmentallyHazardous": false,
      • "physicalState": "Liquid",
      • "measureUnit": "kg",
      • "pureMixOrSolution": "Pure",
      • "mixOrSolutionPercentage": 0,
      • "flashPoint": 30.2,
      • "density": 1,
      • "imdgSegregationGroupId": 0,
      • "englishTechnicalName": "XYLENE AND BENZENE",
      • "countryOfOriginLanguageTechnicalName": "XILENO Y BENCENO",
      • "adrPrincipalLanguageTechnicalName": "XYLOL UND BENZOL",
      • "authorizations": "Auth 0001",
      • "innerPackageMaterialId": 1,
      • "packingInstructionId": 0,
      • "strictPackingInstructionCheck": true,
      • "numberOfInnerPackages": 3,
      • "innerPackageQuantity": 0.1,
      • "innerPackageCapacity": 0.5,
      • "innerPackageQuantityExplosive": 0,
      • "consignmentItemCode": "ITEM-9515-4013-AA46"
      },
    • {
      • "dangerousGoodId": 2301,
      • "isEnvironmentallyHazardous": false,
      • "physicalState": "Liquid",
      • "measureUnit": "kg",
      • "pureMixOrSolution": "Pure",
      • "mixOrSolutionPercentage": 0,
      • "flashPoint": 30.2,
      • "density": 1,
      • "imdgSegregationGroupId": 0,
      • "englishTechnicalName": "XYLENE AND BENZENE",
      • "countryOfOriginLanguageTechnicalName": "XILENO Y BENCENO",
      • "adrPrincipalLanguageTechnicalName": "XYLOL UND BENZOL",
      • "authorizations": "Auth 0001",
      • "innerPackageMaterialId": 1,
      • "packingInstructionId": 0,
      • "strictPackingInstructionCheck": true,
      • "numberOfInnerPackages": 3,
      • "innerPackageQuantity": 0.1,
      • "innerPackageCapacity": 0.5,
      • "innerPackageQuantityExplosive": 0,
      • "consignmentItemCode": "ITEM-9515-4013-AA46"
      }
    ]
}

Response samples

Content type
application/json
{
  • "newItemId": 23,
  • "newItemIsValid": true,
  • "success": true,
  • "httpStatusCode": 201,
  • "message": "Item Created OK",
  • "messageType": "Information",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 400,
  • "message": "Good not valid",
  • "messageType": "Error",
  • "parameter": "goods",
  • "parameterValue": "GoodX",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 401,
  • "message": "Authentication failed: the credentials of the API user or the access token are not valid",
  • "messageType": "Error",
  • "parameter": "Authorization",
  • "parameterValue": "Value ABC",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 403,
  • "message": "The account does not have an active license for any dangerous goods regulation",
  • "messageType": "Error",
  • "parameter": "Regulation Licenses",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 500,
  • "message": "Unexpected Error",
  • "messageType": "Error",
  • "parameter": "string",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}

Validate a mixed packing product without creating it

Performs the complete validation of a predefined mixed packing product, applying the same checks as the creation service, contents included, without saving anything in the catalogue.

Authorizations:

basicAuth or bearerAuth
HTTP: basicAuth
HTTP Authorization Scheme: basic
HTTP: 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.

HTTP Authorization Scheme: bearer

query Parameters

requestGuid
string <= 36 characters

Identifier of the request, up to 36 characters, used to trace it and returned in the response.

Request Body schema: application/json
required

mixed packing product with its outer packaging and its contents

accountCode
required
string

Customer account code identifying the tenant in the system.

enabledDangerousGoodsRegulations
required
Array of strings (DangerousGoodsRegulation) non-empty
Items Enum: "Adr" "Imdg" "Iata" "Cfr49"

Dangerous goods regulations for which the mixed packing product is enabled: Adr, Imdg or Iata. Cfr49 is not available for mixed packings.

reference
required
string [ 1 .. 50 ] characters

Unique reference of the mixed packing product in the catalogue, also used as its product code. It is trimmed of surrounding blanks, must not be blank and must not be in use by any other product of the accounts visible to the user, because the consignment finds the product by this value.

outerPackageId
required
integer <int64>

Identifier of the outer package type from master data: box, drum, limited quantity box or drum, or excepted quantity box.

outerPackageHomologationId
required
integer <int64>

Identifier of the UN homologation code of the outer package from master data. It must belong to the outer package type. With the limited quantity box and the excepted quantity box, which have no homologations of their own, it is one of the homologations of the box (packageId 5), and with the limited quantity drum one of the homologations of the drum (packageId 14); it indicates the material of the outer packaging.

required
Array of objects (MixedPackingProductTransportModeContent) >= 2 items

Contents of the mixed packing, at least two, saved in the order of the list.

productName
string <= 150 characters

Commercial name of the mixed packing product. When it is omitted, a name is generated automatically.

unitaryGrossQuantity
number

Gross mass of one outer package, expressed in kilograms. Required when the Imdg regulation is enabled. It is also required when the Iata regulation is enabled and the limit of the packing instruction of a content is a gross mass.

Responses

200

Successful request

Response Schema: application/json

newItemId
integer or null <int64>

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: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the validation error.

messageType
string
Enum: "Error" "Warning" "Information"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

401

Unauthorized

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the authentication error.

messageType
string
Enum: "Error" "Warning" "Information"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

The authentication error, with its stable code.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

403

Forbidden

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

500

Unexpected Error

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the unexpected server error.

messageType
string
Value: "Error"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

post/mixedPackingProduct/validate
https://emea.dgassistant.com/api/v2/rest/mixedPackingProduct/validate
https://amer.dgassistant.com/api/v2/rest/mixedPackingProduct/validate
https://apac.dgassistant.com/api/v2/rest/mixedPackingProduct/validate

Request samples

Content type
application/json
{
  • "accountCode": "CO001",
  • "enabledDangerousGoodsRegulations": [
    • "Adr"
    ],
  • "reference": "MPREF-0001",
  • "productName": "MIXPACNAM001",
  • "outerPackageId": 5,
  • "outerPackageHomologationId": 116,
  • "unitaryGrossQuantity": 12.5,
  • "contents": [
    • {
      • "dangerousGoodId": 2301,
      • "isEnvironmentallyHazardous": false,
      • "physicalState": "Liquid",
      • "measureUnit": "kg",
      • "pureMixOrSolution": "Pure",
      • "mixOrSolutionPercentage": 0,
      • "flashPoint": 30.2,
      • "density": 1,
      • "imdgSegregationGroupId": 0,
      • "englishTechnicalName": "XYLENE AND BENZENE",
      • "countryOfOriginLanguageTechnicalName": "XILENO Y BENCENO",
      • "adrPrincipalLanguageTechnicalName": "XYLOL UND BENZOL",
      • "authorizations": "Auth 0001",
      • "innerPackageMaterialId": 1,
      • "packingInstructionId": 0,
      • "strictPackingInstructionCheck": true,
      • "numberOfInnerPackages": 3,
      • "innerPackageQuantity": 0.1,
      • "innerPackageCapacity": 0.5,
      • "innerPackageQuantityExplosive": 0,
      • "consignmentItemCode": "ITEM-9515-4013-AA46"
      },
    • {
      • "dangerousGoodId": 2301,
      • "isEnvironmentallyHazardous": false,
      • "physicalState": "Liquid",
      • "measureUnit": "kg",
      • "pureMixOrSolution": "Pure",
      • "mixOrSolutionPercentage": 0,
      • "flashPoint": 30.2,
      • "density": 1,
      • "imdgSegregationGroupId": 0,
      • "englishTechnicalName": "XYLENE AND BENZENE",
      • "countryOfOriginLanguageTechnicalName": "XILENO Y BENCENO",
      • "adrPrincipalLanguageTechnicalName": "XYLOL UND BENZOL",
      • "authorizations": "Auth 0001",
      • "innerPackageMaterialId": 1,
      • "packingInstructionId": 0,
      • "strictPackingInstructionCheck": true,
      • "numberOfInnerPackages": 3,
      • "innerPackageQuantity": 0.1,
      • "innerPackageCapacity": 0.5,
      • "innerPackageQuantityExplosive": 0,
      • "consignmentItemCode": "ITEM-9515-4013-AA46"
      }
    ]
}

Response samples

Content type
application/json
{
  • "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",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 400,
  • "message": "Good not valid",
  • "messageType": "Error",
  • "parameter": "goods",
  • "parameterValue": "GoodX",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 401,
  • "message": "Authentication failed: the credentials of the API user or the access token are not valid",
  • "messageType": "Error",
  • "parameter": "Authorization",
  • "parameterValue": "Value ABC",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 403,
  • "message": "The account does not have an active license for any dangerous goods regulation",
  • "messageType": "Error",
  • "parameter": "Regulation Licenses",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 500,
  • "message": "Unexpected Error",
  • "messageType": "Error",
  • "parameter": "string",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}

Get a mixed packing product of the catalogue

Returns a predefined mixed packing product of the catalogue, identified by its reference, with its outer packaging, its enabled regulations and its contents in the order in which they were created. Only mixed packing products of the catalogue are found: a simple product, or a mixed packing created within a consignment, with that reference answers 404.

Authorizations:

basicAuth or bearerAuth
HTTP: basicAuth
HTTP Authorization Scheme: basic
HTTP: 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.

HTTP Authorization Scheme: bearer

path Parameters

reference
required
string <= 50 characters
Example: MPREF-0001

Reference of the mixed packing product in the catalogue, as given on creation.

query Parameters

requestGuid
string <= 36 characters

Identifier of the request, up to 36 characters, used to trace it and returned in the response.

Responses

200

Successful request

Response Schema: application/json

object (MixedPackingProductResponseData)

Mixed packing product of the catalogue with its outer packaging and its contents.

accountCode
string

Customer account code identifying the tenant in the system.

enabledDangerousGoodsRegulations
Array of strings (DangerousGoodsRegulation)
Items Enum: "Adr" "Imdg" "Iata" "Cfr49"

Dangerous goods regulations for which the mixed packing product is enabled.

reference
string

Unique reference of the mixed packing product in the catalogue, also used as its product code.

productName
string

Commercial name of the mixed packing product.

outerPackageId
integer <int64>

Identifier of the outer package type from master data.

outerPackageHomologationId
integer <int64>

Identifier of the UN homologation code of the outer package from master data. With the package types for limited and excepted quantities it indicates the material of the outer packaging.

unitaryGrossQuantity
number

Gross mass of one outer package, expressed in kilograms.

Array of objects (MixedPackingProductTransportModeContentResponse)

Contents of the mixed packing, in the order in which they were created.

Array [
measureUnit
required
string
Enum: "kg" "L" "g" "mL" "kgOrL" "gOrmL"

Measurement unit for quantities: kg or L.

pureMixOrSolution
required
string
Enum: "Pure" "Mix" "Solution"

Indicates whether the substance is pure, a mixture or a solution.

numberOfInnerPackages
required
integer

Number of inner packages of this content within the mixed packing.

innerPackageMaterialId
required
integer <int64>

Identifier of the inner package material from master data.

innerPackageQuantity
required
number

Net quantity per inner package.

isDangerousGood
boolean

Indicates whether the content is regulated as dangerous goods.

dangerousGoodId
integer <int64>

Identifier of the dangerous good entry in master data.

mixOrSolutionPercentage
number

Percentage of the dangerous component in the mixture or solution.

flashPoint
number

Closed-cup flash-point of the substance, expressed in Celsius.

density
number

Density of the substance, expressed in kilograms per liter.

technicalName
string

Technical name of the substance, when applicable.

authorizations
string

Authorizations or special provisions applicable to the transport.

packingInstructionId
integer <int64>

Identifier of the applicable packing instruction.

innerPackageCapacity
number

Capacity of each inner package, in litres (for aerosols, the capacity of the dispenser).

innerPackageQuantityExplosive
number

Net explosive content per inner package, expressed in kilograms.

consignmentItemCode
string

Client identifier of the content within its mixed packing.

isEnvironmentallyHazardous
boolean

Indicates whether the substance is environmentally hazardous (marine pollutant).

physicalState
string
Enum: "Liquid" "Solid" "Gas"

Physical state of the substance: Liquid, Solid or Gas.

imdgSegregationGroupId
integer <int64>

Identifier of the IMDG segregation group declared for the substance.

object

Technical names of the substance in every language stored for it. Complements the single technicalName above, which keeps returning the name in the language of the transport document. The englishTechnicalName supplied on creation is always retrievable here; the other technical names supplied on creation appear under the concrete language to which they correspond, such as Spanish or French, with a single entry for each language.

]
success
boolean

Indicates whether the operation completed successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the operation result.

messageType
string
Enum: "Information" "Warning"

Severity classification of the message.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. A warning does not prevent the operation. Omitted when there is no warning.

400

Bad request: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

401

Unauthorized

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the authentication error.

messageType
string
Enum: "Error" "Warning" "Information"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

The authentication error, with its stable code.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

403

Forbidden

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

404

Mixed packing product 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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

500

Unexpected Error

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the unexpected server error.

messageType
string
Value: "Error"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

get/mixedPackingProduct/{reference}
https://emea.dgassistant.com/api/v2/rest/mixedPackingProduct/{reference}
https://amer.dgassistant.com/api/v2/rest/mixedPackingProduct/{reference}
https://apac.dgassistant.com/api/v2/rest/mixedPackingProduct/{reference}

Response samples

Content type
application/json
{
  • "mixedPackingProductResponse": {
    • "accountCode": "CO001",
    • "enabledDangerousGoodsRegulations": [
      • "Adr"
      ],
    • "reference": "MPREF-0001",
    • "productName": "MIXPACNAM001",
    • "outerPackageId": 5,
    • "outerPackageHomologationId": 116,
    • "unitaryGrossQuantity": 12.5,
    • "contents": [
      • {
        • "isDangerousGood": true,
        • "dangerousGoodId": 2301,
        • "measureUnit": "kg",
        • "pureMixOrSolution": "Pure",
        • "mixOrSolutionPercentage": 0,
        • "flashPoint": 30.2,
        • "density": 1,
        • "technicalName": "XYLENE AND BENZENE",
        • "authorizations": "Auth 0001",
        • "innerPackageMaterialId": 1,
        • "packingInstructionId": 0,
        • "numberOfInnerPackages": 3,
        • "innerPackageQuantity": 0.1,
        • "innerPackageCapacity": 0.5,
        • "innerPackageQuantityExplosive": 0,
        • "consignmentItemCode": "ITEM-9515-4013-AA46",
        • "isEnvironmentallyHazardous": true,
        • "physicalState": "Liquid",
        • "imdgSegregationGroupId": 0,
        • "technicalNames": {
          • "englishTechnicalName": "XYLENE AND BENZENE",
          • "spanishTechnicalName": "XILENO Y BENCENO",
          • "frenchTechnicalName": "XYLÈNE ET BENZÈNE",
          • "germanTechnicalName": "XYLOL UND BENZOL",
          • "portugueseTechnicalName": "XILENO E BENZENO",
          • "russianTechnicalName": "КСИЛОЛ И БЕНЗОЛ",
          • "chineseTechnicalName": "二甲苯和苯",
          • "italianTechnicalName": "XILENE E BENZENE",
          • "dutchTechnicalName": "XYLEEN EN BENZEEN",
          • "turkishTechnicalName": "KSİLEN VE BENZEN",
          • "polishTechnicalName": "KSYLEN I BENZEN",
          • "swedishTechnicalName": "XYLEN OCH BENSEN",
          • "norwegianTechnicalName": "XYLEN OG BENSEN",
          • "czechTechnicalName": "XYLEN A BENZEN",
          • "danishTechnicalName": "XYLEN OG BENZEN",
          • "greekTechnicalName": "ΞΥΛΟΛΙΟ ΚΑΙ ΒΕΝΖΟΛΙΟ",
          • "hungarianTechnicalName": "XILOL ÉS BENZOL",
          • "slovakTechnicalName": "XYLÉN A BENZÉN",
          • "romanianTechnicalName": "XILEN ȘI BENZEN",
          • "finnishTechnicalName": "KSYLEENI JA BENTSEENI"
          }
        }
      ]
    },
  • "success": true,
  • "httpStatusCode": 200,
  • "message": "Operation Completed OK",
  • "messageType": "Information",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 400,
  • "message": "Good not valid",
  • "messageType": "Error",
  • "parameter": "goods",
  • "parameterValue": "GoodX",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 401,
  • "message": "Authentication failed: the credentials of the API user or the access token are not valid",
  • "messageType": "Error",
  • "parameter": "Authorization",
  • "parameterValue": "Value ABC",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 403,
  • "message": "The account does not have an active license for any dangerous goods regulation",
  • "messageType": "Error",
  • "parameter": "Regulation Licenses",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 404,
  • "message": "Item not found",
  • "messageType": "Error",
  • "parameter": "productId",
  • "parameterValue": "Prod001",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 500,
  • "message": "Unexpected Error",
  • "messageType": "Error",
  • "parameter": "string",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}

Delete a mixed packing product of the catalogue

Removes a predefined mixed packing product from the catalogue, identified by its reference. Only mixed packing products of the catalogue are found: a simple product with that reference answers 404. The consignments that already include it keep their own copy unchanged.

Authorizations:

basicAuth or bearerAuth
HTTP: basicAuth
HTTP Authorization Scheme: basic
HTTP: 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.

HTTP Authorization Scheme: bearer

path Parameters

reference
required
string <= 50 characters
Example: MPREF-0001

Reference of the mixed packing product in the catalogue, as given on creation.

query Parameters

requestGuid
string <= 36 characters

Identifier of the request, up to 36 characters, used to trace it and returned in the response.

Responses

200

Successful request

Response Schema: application/json

success
boolean

Indicates whether the operation completed successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the operation result.

messageType
string
Enum: "Information" "Warning"

Severity classification of the message.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. A warning does not prevent the operation. Omitted when there is no warning.

400

Bad request: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

401

Unauthorized

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the authentication error.

messageType
string
Enum: "Error" "Warning" "Information"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

The authentication error, with its stable code.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

403

Forbidden

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

404

Mixed packing product 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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

500

Unexpected Error

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the unexpected server error.

messageType
string
Value: "Error"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

delete/mixedPackingProduct/{reference}
https://emea.dgassistant.com/api/v2/rest/mixedPackingProduct/{reference}
https://amer.dgassistant.com/api/v2/rest/mixedPackingProduct/{reference}
https://apac.dgassistant.com/api/v2/rest/mixedPackingProduct/{reference}

Response samples

Content type
application/json
{
  • "success": true,
  • "httpStatusCode": 200,
  • "message": "Operation Completed OK",
  • "messageType": "Information",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 400,
  • "message": "Good not valid",
  • "messageType": "Error",
  • "parameter": "goods",
  • "parameterValue": "GoodX",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 401,
  • "message": "Authentication failed: the credentials of the API user or the access token are not valid",
  • "messageType": "Error",
  • "parameter": "Authorization",
  • "parameterValue": "Value ABC",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 403,
  • "message": "The account does not have an active license for any dangerous goods regulation",
  • "messageType": "Error",
  • "parameter": "Regulation Licenses",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 404,
  • "message": "Item not found",
  • "messageType": "Error",
  • "parameter": "productId",
  • "parameterValue": "Prod001",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 500,
  • "message": "Unexpected Error",
  • "messageType": "Error",
  • "parameter": "string",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}

Create an empty mixed packing product to fill interactively

Creates an EMPTY mixed packing product bound to the account and regulation of consignmentId, ready for interactive content additions. Three-step workflow: (1) this call; (2) one POST /mixedPackingProductInteractive/{id}/content per content, at least two; (3) POST /consignment/{consignmentId}/mixedPackingProduct with reference = productCode to attach the product to the consignment. Creating the product does NOT add it to the consignment. productCode is required since version 2.7.3 because it is the reference used to attach the product.

Authorizations:

basicAuth or bearerAuth
HTTP: basicAuth
HTTP Authorization Scheme: basic
HTTP: 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.

HTTP Authorization Scheme: bearer

query Parameters

requestGuid
string <= 36 characters

Identifier of the request, up to 36 characters, used to trace it and returned in the response.

Request Body schema: application/json
required

mixed packing product definition

numberOfPackages
required
integer

Number of identical outer packages of this mixed packing in the consignment.

outerPackageId
required
integer <int64>

Identifier of the outer package type from master data. The package type also declares limited and excepted quantities: the package types for limited quantities (box, drum and shrink-wrapped tray) declare the goods as limited quantities and the box for excepted quantities declares them as excepted quantities, and the limits that apply are checked.

outerPackageHomologationId
required
integer <int64>

Identifier of the outer package UN homologation code from master data. With the limited quantity box and the excepted quantity box it indicates the material of the outer packaging and must be one of the homologations of the box (packageId 5); with the limited quantity drum, one of the homologations of the drum (packageId 14).

productCode
required
string

Internal product code assigned by the customer. Required: it is the reference to pass to POST /consignment/{consignmentId}/mixedPackingProduct to attach the product to the consignment once its contents are added. It is trimmed of surrounding blanks, must not be blank and must not be already in use by another product of the account, because the attach step requires exactly one product with that reference.

consignmentId
integer <int64>

Consignment that fixes the account and the regulation used to validate the contents. Creating the product does NOT add it to this consignment: attach it afterwards with POST /consignment/{consignmentId}/mixedPackingProduct.

productName
string

Commercial name of the mixed packing product.

unitaryGrossQuantity
number

Gross mass of one outer package, expressed in kilograms.

consignmentItemCode
string

Optional client identifier of the item within the consignment.

Array of objects (MixedPackingProductTransportModeContent)

Contents of the mixed packing. Substances supplied here are created together with the mixed packing; further substances may be added afterwards with the dedicated content operation.

Responses

201

Created

Response Schema: application/json

newItemId
integer <int64>

Identifier assigned to the newly created item.

newItemIsValid
boolean

Indicates whether the newly created item passed regulatory validation.

success
boolean

Indicates whether the item creation completed successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the item creation result.

messageType
string
Enum: "Information" "Warning"

Severity classification of the message.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. A warning does not prevent the operation. Omitted when there is no warning.

400

Bad request: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

401

Unauthorized

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the authentication error.

messageType
string
Enum: "Error" "Warning" "Information"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

The authentication error, with its stable code.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

403

Forbidden

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

500

Unexpected Error

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the unexpected server error.

messageType
string
Value: "Error"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

post/mixedPackingProductInteractive
https://emea.dgassistant.com/api/v2/rest/mixedPackingProductInteractive
https://amer.dgassistant.com/api/v2/rest/mixedPackingProductInteractive
https://apac.dgassistant.com/api/v2/rest/mixedPackingProductInteractive

Request samples

Content type
application/json
{
  • "consignmentId": 354357254,
  • "productName": "MIXPACNAM001",
  • "productCode": "MIXPACCOD001",
  • "numberOfPackages": 3,
  • "unitaryGrossQuantity": 21,
  • "outerPackageId": 14,
  • "outerPackageHomologationId": 43,
  • "consignmentItemCode": "ITEM-9515-4013-AA46",
  • "contents": [
    • {
      • "dangerousGoodId": 2301,
      • "isEnvironmentallyHazardous": false,
      • "physicalState": "Liquid",
      • "measureUnit": "kg",
      • "pureMixOrSolution": "Pure",
      • "mixOrSolutionPercentage": 0,
      • "flashPoint": 30.2,
      • "density": 1,
      • "imdgSegregationGroupId": 0,
      • "englishTechnicalName": "XYLENE AND BENZENE",
      • "countryOfOriginLanguageTechnicalName": "XILENO Y BENCENO",
      • "adrPrincipalLanguageTechnicalName": "XYLOL UND BENZOL",
      • "authorizations": "Auth 0001",
      • "innerPackageMaterialId": 1,
      • "packingInstructionId": 0,
      • "strictPackingInstructionCheck": true,
      • "numberOfInnerPackages": 3,
      • "innerPackageQuantity": 0.1,
      • "innerPackageCapacity": 0.5,
      • "innerPackageQuantityExplosive": 0,
      • "consignmentItemCode": "ITEM-9515-4013-AA46"
      }
    ]
}

Response samples

Content type
application/json
{
  • "newItemId": 23,
  • "newItemIsValid": true,
  • "success": true,
  • "httpStatusCode": 201,
  • "message": "Item Created OK",
  • "messageType": "Information",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 400,
  • "message": "Good not valid",
  • "messageType": "Error",
  • "parameter": "goods",
  • "parameterValue": "GoodX",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 401,
  • "message": "Authentication failed: the credentials of the API user or the access token are not valid",
  • "messageType": "Error",
  • "parameter": "Authorization",
  • "parameterValue": "Value ABC",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 403,
  • "message": "The account does not have an active license for any dangerous goods regulation",
  • "messageType": "Error",
  • "parameter": "Regulation Licenses",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 500,
  • "message": "Unexpected Error",
  • "messageType": "Error",
  • "parameter": "string",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}

Add content to a mixed packing product created interactively

Adds an inner content to a mixed packing product created interactively. The mixed packing product must have been created with POST /mixedPackingProductInteractive, be enabled and belong to an account that the user can modify; otherwise the request is rejected with 400 naming mixedPackingProductInteractiveId. The product is not part of any consignment until it is attached with POST /consignment/{consignmentId}/mixedPackingProduct.

Class 7 (radioactive) entries are rejected, because a package containing radioactive material shall not contain any other items: declare radioactive material as a simple product with radiological.nuclides[].

Authorizations:

basicAuth or bearerAuth
HTTP: basicAuth
HTTP Authorization Scheme: basic
HTTP: 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.

HTTP Authorization Scheme: bearer

path Parameters

mixedPackingProductInteractiveId
required
integer <int64>

Identifier of the interactive mixed packing product.

query Parameters

requestGuid
string <= 36 characters

Identifier of the request, up to 36 characters, used to trace it and returned in the response.

Request Body schema: application/json
required

content to be added to the mixed packing

isEnvironmentallyHazardous
required
boolean

Indicates whether the substance is environmentally hazardous (marine pollutant). According to sections II and XV of the safety data sheet, it must be true when they include R50, R50/53, R51/53, H400, H410 or H411.

physicalState
required
string
Enum: "Liquid" "Solid" "Gas"

Physical state of the substance: Liquid, Solid or Gas.

measureUnit
required
string
Enum: "kg" "L" "g" "mL" "kgOrL" "gOrmL"

Measurement unit for quantities: kg or L.

pureMixOrSolution
required
string
Enum: "Pure" "Mix" "Solution"

Indicates whether the substance is pure, a mixture or a solution.

numberOfInnerPackages
required
integer

Number of inner packages of this content within the mixed packing.

innerPackageMaterialId
required
integer <int64>

Identifier of the inner package material from master data.

innerPackageQuantity
required
number

Net quantity per inner package.

dangerousGoodId
integer <int64>

Identifier of the dangerous good entry in master data. Class 7 (radioactive) entries are rejected as contents of a mixed packing: declare radioactive material as a simple product with radiological.nuclides[]. It is required, because the contents of a mixed packing are always dangerous goods. Substances that require control and emergency temperatures (UN 3111 to 3120, 3231 to 3240, 3533 and 3534) are also rejected as contents.

mixOrSolutionPercentage
number

Percentage of the dangerous component in the mixture or solution. Required when pureMixOrSolution is Mix or Solution; it must be greater than 0 and lower than 100.

flashPoint
number

Closed-cup flash-point of the substance, expressed in Celsius. For Class 3 it is checked against the packing group of the dangerous good: an inconsistency is reported as a warning, or as an error in the cases described in strictPackingInstructionCheck. Required when the mixed packing is transported under the IMDG Code and the dangerous good bears a class 3 label.

density
number

Density of the substance, expressed in kilograms per liter. Under ADR and IMDG it is needed to verify a quantity limit expressed in a unit other than the measure unit of the content, such as the net quantity limit in kilograms of the outer packaging for a content declared in liters, or an excepted quantity limit in milliliters for a liquid declared in kilograms; without it, that limit is not verified and the response reports it as a warning (an error with strictPackingInstructionCheck).

imdgSegregationGroupId
integer <int64>

Identifier of the IMDG segregation group of the substance (IMDG Code 3.1.4), or 255 for no segregation group. It applies to the IMDG Code only. When the entry of the Dangerous Goods List already assigns segregation groups, those apply and this value is ignored. Otherwise, when it is omitted, an entry that is not an N.O.S. entry is recorded without segregation group, and an N.O.S. entry is rejected, because the consignor has to state its group. GET /masterData/detailedDangerousGood gives, in imdgData, the segregation groups of each entry (segregationGroups) and whether it is an N.O.S. entry (isNotOtherwiseSpecified), which GET /masterData/simpleDangerousGood also gives.

englishTechnicalName
string

Technical name of the substance in English: the name, such as the chemical name of the components that give the hazard, that is added in parentheses to the proper shipping name of an N.O.S. entry or of another entry that requires a technical name. It is required when the dangerous good requires a technical name under the regulations that apply to the product, and it is the name printed on the IMDG Multimodal Dangerous Goods Form and on the Shipper's Declaration for Dangerous Goods, which are issued in English. Whether an entry requires it under each regulation is indicated by requiresTechnicalName in GET /masterData/simpleDangerousGood and GET /masterData/detailedDangerousGood.

countryOfOriginLanguageTechnicalName
string

Technical name of the substance in the language of the country of the account, such as Spanish for an account in Spain. It is printed on the transport documents that are issued in that language, such as the IMDG Multimodal Dangerous Goods Form, which uses it as second language after English. It is required, together with englishTechnicalName, when the dangerous good requires a technical name and this language is not English. It is ignored when this language is English or when another technical name of the product is already given in this language.

adrPrincipalLanguageTechnicalName
string

Technical name of the substance in the ADR official language configured for the user (English, French or German). The ADR transport document is printed in the language of the country of the account and also in this language when it is a different one. It is required, together with englishTechnicalName, when the dangerous good requires a technical name, the road regulation configured for the user is ADR and the ADR official language of the user is French or German, also when the product is transported under another regulation; when that language is English, englishTechnicalName is used and this value is ignored.

authorizations
string

Authorizations or special provisions applicable to the transport.

packingInstructionId
integer <int64>

Identifier of the applicable packing instruction.

Under ADR and IMDG it may be omitted: the application then determines it from the outer packaging of the mixed packing and the inner packaging material of the content, and checks its quantity limits. When a single packing instruction cannot be determined, the quantity limits are not verified: the response reports it as a warning with the rule reference ADR 4.1.4 or IMDG 4.1.4, or, when strictPackingInstructionCheck is true, the request is rejected, naming the candidates when there are several.

Under IATA, when omitted, the application determines it from the packaging and the net quantity. When it cannot be determined, the request is rejected and the packing instruction has to be sent, except when the outer packaging is the box for excepted quantities.

strictPackingInstructionCheck
boolean

Optional. When true, for each enabled ADR or IMDG regulation the packing instruction of the content must belong to the dangerous good, and the outer packaging of the mixed packing and the inner packaging material of the content must be included in its list. When absent or false, these verifications are not performed for ADR and IMDG. The IATA regulation applies this verification in all cases.

Under ADR and IMDG, a quantity limit that cannot be verified because the request lacks the density, in a packing instruction or in the excepted quantity code, is reported as an error when true and as a warning otherwise; when true, a flash-point that is not consistent with packing group II is also reported as an error instead of a warning.

Not returned by any response: it is a write-time validation switch only and is not stored.

When true and packingInstructionId is omitted for ADR or IMDG, the request is rejected when no packing instruction, or more than one, admits the packaging of the content.

innerPackageCapacity
number

Capacity of each inner package, in litres (for aerosols, the capacity of the dispenser).

innerPackageQuantityExplosive
number

Net explosive content per inner package, expressed in kilograms. Required for goods of Class 1; it must be greater than 0.

consignmentItemCode
string

Optional client identifier of the content within its mixed packing.

Responses

201

Created

Response Schema: application/json

newItemId
integer <int64>

Identifier assigned to the newly created item.

newItemIsValid
boolean

Indicates whether the newly created item passed regulatory validation.

success
boolean

Indicates whether the item creation completed successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the item creation result.

messageType
string
Enum: "Information" "Warning"

Severity classification of the message.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. A warning does not prevent the operation. Omitted when there is no warning.

400

Bad request: the request is not valid, for example because of missing or wrong data, or because an identifier or code in the body or in the query string does not exist.

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

401

Unauthorized

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the authentication error.

messageType
string
Enum: "Error" "Warning" "Information"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

The authentication error, with its stable code.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

403

Forbidden

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 parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

500

Unexpected Error

Response Schema: application/json

success
boolean

Indicates that the operation did not complete successfully.

httpStatusCode
integer <int32>

HTTP status code returned by the operation.

message
string

Human-readable message describing the unexpected server error.

messageType
string
Value: "Error"

Severity classification of the message.

parameter
string

Aggregated list of the parameter of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without parameter. Absent when no entry has a parameter.

parameterValue
string

Aggregated list of the parameterValue of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry without value. Absent when no entry has a value.

parameterPosition
string

Aggregated list of the parameterPosition of each entry of errors, separated by ", " and in the same order: element n belongs to entry n of errors, and it is empty for an entry outside a list. Positions start at 0. Absent when no entry is inside a list.

requestGuid
string

Unique identifier of the request, returned for tracing purposes.

Array of objects (ApiIssue)

Every error that made the request fail, in detection order, each one with its stable code and, when it refers to an element of the request, its parameter, value, position and JSON Pointer. Present on every error response, with at least one entry.

Array of objects (ApiIssue)

Every warning found while processing the request, in detection order, each one with its stable code. Omitted when there is no warning.

post/mixedPackingProductInteractive/{mixedPackingProductInteractiveId}/content
https://emea.dgassistant.com/api/v2/rest/mixedPackingProductInteractive/{mixedPackingProductInteractiveId}/content
https://amer.dgassistant.com/api/v2/rest/mixedPackingProductInteractive/{mixedPackingProductInteractiveId}/content
https://apac.dgassistant.com/api/v2/rest/mixedPackingProductInteractive/{mixedPackingProductInteractiveId}/content

Request samples

Content type
application/json
{
  • "dangerousGoodId": 2301,
  • "isEnvironmentallyHazardous": false,
  • "physicalState": "Liquid",
  • "measureUnit": "kg",
  • "pureMixOrSolution": "Pure",
  • "mixOrSolutionPercentage": 0,
  • "flashPoint": 30.2,
  • "density": 1,
  • "imdgSegregationGroupId": 0,
  • "englishTechnicalName": "XYLENE AND BENZENE",
  • "countryOfOriginLanguageTechnicalName": "XILENO Y BENCENO",
  • "adrPrincipalLanguageTechnicalName": "XYLOL UND BENZOL",
  • "authorizations": "Auth 0001",
  • "innerPackageMaterialId": 1,
  • "packingInstructionId": 0,
  • "strictPackingInstructionCheck": true,
  • "numberOfInnerPackages": 3,
  • "innerPackageQuantity": 0.1,
  • "innerPackageCapacity": 0.5,
  • "innerPackageQuantityExplosive": 0,
  • "consignmentItemCode": "ITEM-9515-4013-AA46"
}

Response samples

Content type
application/json
{
  • "newItemId": 23,
  • "newItemIsValid": true,
  • "success": true,
  • "httpStatusCode": 201,
  • "message": "Item Created OK",
  • "messageType": "Information",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 400,
  • "message": "Good not valid",
  • "messageType": "Error",
  • "parameter": "goods",
  • "parameterValue": "GoodX",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 401,
  • "message": "Authentication failed: the credentials of the API user or the access token are not valid",
  • "messageType": "Error",
  • "parameter": "Authorization",
  • "parameterValue": "Value ABC",
  • "parameterPosition": "3",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 403,
  • "message": "The account does not have an active license for any dangerous goods regulation",
  • "messageType": "Error",
  • "parameter": "Regulation Licenses",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}
Content type
application/json
{
  • "success": false,
  • "httpStatusCode": 500,
  • "message": "Unexpected Error",
  • "messageType": "Error",
  • "parameter": "string",
  • "parameterValue": "string",
  • "parameterPosition": "string",
  • "requestGuid": "F8AEC2D1-9515-4013-AA46-10405EB688A2",
  • "errors": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ],
  • "warnings": [
    • {
      • "code": "NOT_VALID_VALUE_FOR_PARAMETER",
      • "message": "Not valid value for the parameter.",
      • "parameter": "onTheFlySimpleProducts.packageId",
      • "parameterValue": "48213",
      • "parameterPosition": "2",
      • "pointer": "/overpacks/0/onTheFlySimpleProducts/2/packageId",
      • "ruleReference": "IMDG 4.1.4.1 P001",
      • "segregation": {
        • "leftConsignmentId": 48213,
        • "leftConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "leftTransportEquipmentId": 1207,
        • "rightConsignmentId": 48214,
        • "rightConsignmentItemCode": "ITEM-9515-4013-AA46",
        • "rightTransportEquipmentId": 1208,
        • "ruleReference": "IMDG 7.2.4; IMDG 7.3.4.1",
        • "requiredSeparation": "NotRequired",
        • "verdict": "Allowed",
        • "remarks": "Keep one container space between both containers."
        }
      }
    ]
}