Transport
Client Transport Order

CREATE Client Transport Order

messageType: transport.clientTransportOrder


Creates a transport order in our TMS visiblity platform.

The sample files are provided in 3 levels of detail: Small, Medium and Large. Small only contains the bare necessities needed to create an order in our system, whereas for large almost all possible fields of the respective modality are filled.

While it is possible to send us orders with only the minimum of data provided, it is highly recommended to provide as much information as possible.

Sample files


{
	"messageHeader":{...},
	"clientTransportOrder":{...}
}
PropertyTypeMandatoryDescription
messageHeaderMessageHeaderMMessage Header information.
ClientTransportOrderClientTransportOrderMTransport Order

ClientTransportOrder


"...": {
  "businessDirection": "EXPORT",
  "cargoDescriptions": [{...}],
  "containerDefinition": {...},
  "customerAccountNumber": "string",
  "deliveryTerm": {...},
  "mainCategory": "FCL",
  "mainModality": "AIR",
  "orderDetails": {...},
  "participants": {...},
  "routingInformation": {...}
}
PropertyTypeMandatoryDescription
customerAccountNumberStringMYour SPOT account number. This is used to associate the created order with your company or office.
mainModalityStringMModality of transport. Valid values: AIR, ROAD, SEA, AIR_SEA, SEA_AIR
mainCategoryStringCDefines the subtype of the transport modality. Mandatory for SEA shipments. Valid values for ROAD: FTL, LTL, GROUPAGE Valid values for SEA: FCL, LCL, REEFER
businessDirectionStringMIdentifies direction of goods from principals viewpoint.Valid values: IMPORT, EXPORT, TRIANGLE
deliveryTermTransportDeliveryTermMIncoTerm and Location
cargoDescriptionsArray[CargoDescription]MTransport cargo description. For FCL/REEFER per container.
orderDetailsOrderDetailsOAdditional detail information
containerDefinitionContainerDefinitionCOnly applicable and mandatory for SEA FCL / REEFER. Mandatory for SEA event tracking.
participantsParticipantsMParties participating in a transport
routingInformationRoutingInformationMInformation about the transport routing and dates
orderCommentOrderCommentOcomments regarding the Transport Order

OrderDetails

"...": {
    "insurance": {...},
    "paymentDefinition": {...},
    "references": [{...}],
    "serviceSpecification": {...},
    "transportDetails": {...},
    "articleDetails": [{...}]
}
PropertyTypeMandatoryDescription
insuranceInsuranceOInsurance details
referencesArray[TransportOrderReference]OShipment references
paymentDefinitionPaymentDefinitionOPayment details
transportDetailsTransportDetailsOAdditional transport details
serviceSpecificationServiceSpecificationOAdditional transport services
articleDetailsArray[ArticleDetail]OAdditional article details

TransportDetails

"...": {
  "oceanCarrier": {...},
  "carrierBookingNumber": "string",
  "carrierContractNumber": "string",
  "hawb": "string",
  "hbl": "string",
  "mawb": "string",
  "mbl": "string",
  "plateNumbers": ["string"],
  "vesselName": "string",
  "voyageNumber": "string"
}
PropertyTypeMandatoryDescription
oceanCarrierOceanCarrierCProvide for designated carrier. Mandatory for SEA event tracking.
carrierContractNumberStringO
carrierBookingNumberStringOMandatory for SEA event tracking (Please note that only one of the values mbl OR carrierBookingNumber is needed).
mblStringCMaster-BoL number. Mandatory for SEA event tracking (Please note that only one of the values mbl OR carrierBookingNumber is needed).
hblStringOHouse-BoL number.
mawbStringOMaster-AWB number.
hawbStringOHouse-AWB number.
vesselNameStringOName of carrier vessel.
voyageNumberStringOVessel voyage number.
plateNumbersArray StringOTruck plate numbers.

ArticleDetail

"...": {
  "externalReference": "string",
  "articleCode": "string",
  "description": "string",
  "packageType": {...},
  "referenceNumber1": "string",
  "referenceNumber2": "string",
  "referenceNumber3": "string",
  "hsCode": "string",
  "containerNumber": "string",
  "dimensions": {...},
  "pieces": "number",
  "weight": "number",
  "netWeight": "number",
  "totalVolume": "number",
  "loadingDeviceType": "string",
  "loadingDeviceNumber": "number",
  "quantityPerLoadingDevice": "number",
  "dateOfIssue": {...},
  "expirationDate": {...}
}
PropertyTypeMandatoryDescription
externalReferenceStringMExternal reference. Required for proper correlation.
articleCodeStringOArticle code.
descriptionStringOArticle description.
packageTypeArticlePackageTypeOArticle package type.
referenceNumber1StringOReference number 1.
referenceNumber2StringOReference number 2.
referenceNumber3StringOReference number 3.
hsCodeStringOStandardized code for classification of commodities.
containerNumberStringOContainer number. Applicable for SEA modality.
dimensionsArticleDimensionsOArticle dimensions.
piecesIntegerONumber of pieces.
weightBigDecimalOArticle weight.
netWeightBigDecimalOArticle net weight (without packaging).
totalVolumeBigDecimalOTotal article volume.
loadingDeviceTypeStringOLoading device type.
loadingDeviceNumberIntegerOLoading device number.
quantityPerLoadingDeviceIntegerOQuantity per loading device.
dateOfIssueApiDateOIssue date.
expirationDateApiDateOExpiration date.

ArticlePackageType

"...": {
  "unitName": "string",
}
PropertyTypeMandatoryDescription
unitNameStringOSPOT package type code (Package type code list)

ArticleDimensions

"...": {
  "length": "number",
  "width": "number",
  "height": "number",
  "volume": "number"
}
PropertyTypeMandatoryDescription
lengthStringOArticle length.
widthStringOArticle width.
heightStringOArticle height.
volumeStringOArticle volume.

RoutingInformation

"...": {
	"pickup": {...},
	"delivery": {...},
	"airportOfDeparture": {...},
	"airportOfArrival": {...},
	"portOfLoading": {...},
	"portOfDischarge": {...}
}
PropertyTypeMandatoryDescription
pickupRoutingPickupMInformation to pickup
deliveryRoutingDeliveryOInformation to delivery
airportOfDepartureRoutingPointAirportO
airportOfArrivalRoutingPointAirportO
portOfLoadingRoutingPointSeaportO
portOfDischargeRoutingPointSeaportO

RoutingPickup

"...": {
  "desiredPickup": {...},
  "estimatedCargoReadiness": {...},
  "estimatedPickup": {...},
  "remark": "string",
  "shipperSelfDelivery": false
}
PropertyTypeMandatoryDescription
estimatedCargoReadinessApiDateMDefines date when goods are ready for transport
desiredPickupApiDateFromToODefines time frame of desired pickup of goods.
estimatedPickupApiDateODefines date for estimated pickup of goods. Only processed if EDI-Partner is an Agent or shipperSelfDelivery = true.
shipperSelfDeliveryBooleanO
remarkStringOAdditional comments for pickup.

RoutingDelivery

"...": {
	"desiredDelivery": {...},
	"estimatedDelivery": {...},
	"consigneeSelfPickup": false,
	"remark": "string"
}
PropertyTypeMandatoryDescription
consigneeSelfPickupBooleanO
desiredDeliveryApiDateFromToODefines time frame of desired delivery of goods.
estimatedDeliveryApiDateODefines date for estimated delivery of goods. Only processed if EDI-Partner is an Agent or consigneeSelfPickup = true.
remarkStringOAdditional comments for delivery.

RoutingPointAirport

"...": {
	"iataCode":"string",
    "estimatedDate":{...}
 }
PropertyTypeMandatoryDescription
iataCodeStringMIATA 3-letter airport code.
estimatedDateApiDateOIf known, estimated arrival date (if airportOfArrival) / estimated departure date (if airportOfDeparture) can be provided here.

RoutingPointSeaport

"...": {
    "estimatedDate":{...},     
    "terminal":"string",
    "unlocode":"string" 
}
PropertyTypeMandatoryDescription
estimatedDateApiDateOIf known, estimated arrival date (if portOfDischarge) / estimated departure date (if portOfLoading) can be provided here.
terminalStringOContainer terminal.
unlocodeStringMUNLOCODE 5-letter location code.

Participants

"...": {
    "consignee": {...},
    "controllingAgent": {...},
    "delivery": {...},
    "destinationAgent": {...},
    "destinationHub": {...},
    "destinationWarehouse": {...},
    "exportCustomsBroker": {...},
    "importCustomsBroker": {...},
    "mainInvoiceTo": {...},
    "officeInCharge": {...},
    "originAgent": {...},
    "originHub": {...},
    "originWarehouse": {...},
    "pickup": {...},
    "principal": {...},
    "shipper": {...},
    "shippersTradingCompany": {...},
    "notifyAgent":{...},
    "thirdParties": [...]
}
PropertyTypeMandatoryDescription
shipperPartyMParty providing the goods.
consigneePartyMParty receiving the goods.
pickupPartyOPickup location. If not provided, it will be assumed to be the same as shipper.
deliveryPartyODelivery location. If not provided, it will be assumed to be the same as consignee.
principalPartyMOwner of the transport order.
officeInChargePartyOfficeInChargeMFreight forwarder handling office.
mainInvoiceToPartyMParty which will be billed for transport. Is normally the same as the principal.
exportCustomsBrokerPartyO
importCustomsBrokerPartyO
originWarehousePartyO
destinationWarehousePartyO
shippersTradingCompanyPartyO
notifyAgentPartyO
thirdPartiesArray[Party]O
originAgentPartyAgentONot available if mainModality is ROAD.
destinationAgentPartyAgentONot available if mainModality is ROAD.
originHubPartyAgentOOnly applicable if mainModality is ROAD.
destinationHubPartyAgentOOnly applicable if mainModality is ROAD.
controllingAgentPartyAgentO
💡

To following parties are only available for agents:

  • originAgent
  • destinationAgent
  • originHub
  • destinationHub
  • controllingAgent

PartyAgent

"...": {
  "accountNumber": "string",
  "contacts": [{...}],
  "externalPartyIdentifier": "string",
}
PropertyTypeMandatoryDescription
accountNumberStringMSPOT internal account number.
externalPartyIdentifierStringOEDI-Partners identifier for a party. If provided it functions in the same way as the accountNumber
contactsArray[Contact]O

PartyOfficeInCharge

layout.tsx / page.tsx
"...": {
	"accountNumber": "123456",
	"officeRole": "string",
	"externalPartyIdentifier": "string",
	"contacts": [{...}]
}
PropertyTypeMandatoryDescription
accountNumberStringMSPOT internal account number.
officeRoleStringOValid values: ORIGIN_AGENT, DESTINATION_AGENT, CONTROLLING_AGENT
externalPartyIdentifierStringOEDI-Partners identifier for a party. If provided it functions in the same way as the accountNumber
contactsArray[Contact]O
💡

The field officeRole is only available for agents. If you are not classified as an agent or the field is left empty, the role will be calculated based on the value of businessDirection

OrderComment

"...": {
    "permissions":{
      "permissions_val":"string"
    },
    "text":"string"
}
PropertyTypeMandatoryDescription
permissionsarray [permissions]Mpermissions
textstringMtext field for order comment

permissions

PropertyTypeMandatoryDescription
permissions_valstringMValid values: SHIPPER, PICKUP, CONSIGNEE, DELIVERY, PRINCIPAL, MAIN_INVOICE_TO, CONTROLLING_AGENT, OFFICE_IN_CHARGE, ORIGIN_AGENT, ORIGIN_HUB, TRANSIT_HUB, EXPORT_CONSOLIDATION_HUB, IMPORT_DECONSOLIDATION_HUB, SEA_HUB, AIR_HUB, DESTINATION_AGENT, DESTINATION_HUB, NOTIFY_AGENT, SHIPPERS_TRADING_COMPANY, EXPORT_CUSTOMS_BROKER, IMPORT_CUSTOMS_BROKER, ORIGIN_WAREHOUSE, DESTINATION_WAREHOUSE, THIRD_PARTY, ROAD_CARRIER