Download OpenAPI specification:
A set of APIs offered by Contargo for integration of external services and partners with the Contargo Open Logistics Application (COLA).
Contargo API endpoints allow integration with COLA (Contargo Open Logistics Application), e.g. in order to retrieve tracking information for Containers including their current location and for booking orders in STAR. Contargo APIs are HTTP-based REST APIs. The API specification is available as a OpenAPI 3 (Swagger) document and may be used by consumers to generate client code. See above for the download link.
This documentation lists all available endpoints, required parameters and responses that API clients can expect and can be used as reference. We also give example requests and responses in JSON that may be used when trying out this API. Examples are presented in the right-hand column for each endpoint respectively.
Interaction with Contargo APIs requires authentication via OAuth2. See the following section for details. Write to integration@contargo.net in order to request access to Contargo APIs.
The availability of API endpoints and features may vary depending on the region or terminal that is affected.
Some functionalities described in this documentation may not be enabled or accessible in your environment.
For information on the actual availability of specific endpoints or features for your setup,
please reference related regions or terminals when contacting integration@contargo.net.
We are happy to assist you in evaluating what is currently available for your organization.
To use Contargo APIs, you need to authenticate via OAuth2. We support the Resource Owner Password Flow based on the username and credentials that are provided to you after completing the COLA account registration. Contact us when you want to use another authentication flow.
Since OAuth 2 is a well-known standard for authentication, we recommend using the framework or library of your choice to perform authentication. However, if you prefer to do this manually or want to follow along for testing purposes, the following section describes the required steps when performing these steps manually:
Use the provided credentials of your COLA account to retrieve a valid access token.
Prerequisite: Export your credentials to environment variables
export COLA_USERNAME=your_username
export COLA_PASSWORD=your_password
Example request to retrieve an access token:
curl -X POST https://login.contargo.net/auth/realms/cola/protocol/openid-connect/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=password" \
-d "username=${COLA_USERNAME}" \
-d "password=${COLA_PASSWORD}" \
-d "client_id=cola-api" \
-d "scope=openid" \
| egrep "^{"
In case your request was successful, the response includes the access token in the access_token field.
The access token expires after the time given in the expires_in field (by default: 300 seconds = 5 minutes).
Example payload of a successful response:
{
"access_token": "eyJhbGciOiJX1VAao-mm3_this_is_an_example_the_real_token_is_longer_MR_bkCrdBpJ4Y6nG_E7c1V0kvD88YHg",
"expires_in": 300,
"refresh_expires_in": 21600,
"refresh_token": "eyJhbGciOiJIUzI1NiIs3LT0x_this_is_an_example_the_real_token_is_longer_EJZxDKx0ufJ4ckD_9xuYXe0Ek",
"token_type": "bearer",
"id_token": "eyJhbGcQIizX6wmq-_this_is_an_example_the_real_token_is_longer_EawmRy5rp2Y0uauWHLB01yZ0Q",
"not-before-policy": 0,
"session_state": "3b8a_this_is_an_example_adcbe2",
"scope": "openid email profile cola:profile"
}
You may use the refresh_token in order to request a new access-token.
This token expires after refresh_expires_in seconds (by default: 21600 seconds = 6 hours).
Prerequisite: Export currently valid access token from previous response
export REFRESH_TOKEN=your-refresh-token-value
Example request to use the refresh token to get a new access token:
curl -X POST https://login.contargo.net/auth/realms/cola/protocol/openid-connect/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=refresh_token" \
-d "refresh_token=${REFRESH_TOKEN}" \
-d "client_id=cola-api"
Once an access_token has been retrieved, it can be used in multiple requests (while it remains active).
Make a Request with desired endpoint:
curl -H "Authorization: Bearer ${ACCESS_TOKEN}" "https://api.contargo.net/contargo/cola/1.0/[endpoint]"
If the access-token expired, you get a response with status code 401 and response header like this:
www-authenticate: Bearer error="invalid_token", error_description="An error occurred while attempting to decode the Jwt: Jwt expired at 2025-06-13T10:47:31Z", error_uri="https://tools.ietf.org/html/rfc6750#section-3.1"
In that case, retrieve a new access token and retry your request using the new token.
Use the following data for setting up authentication:
This API uses OAuth 2 and supports the resource owner password flow. See https://integration.contargo.net/docs/#authentication for details
password https://login.contargo.net/auth/realms/cola/protocol/openid-connect/tokenhttps://login.contargo.net/auth/realms/cola/protocol/openid-connect/tokenopenid - Default scope for OpenIdConnect
Many COLA API endpoints require specific identifiers (such as IDs for locations, orders, tracking events, etc.) to be passed as parameters in the request. These identifiers are typically not human-friendly values and are intended to uniquely reference records within the system.
To retrieve the correct identifiers, clients should first query the corresponding master data APIs. These APIs provide the authoritative source for static or slowly-changing reference data. Once retrieved, the identifiers returned by the master data APIs can be used as inputs to other API operations.
This approach ensures consistency, avoids duplication, and enables better validation and error handling across the API ecosystem.
In the following sections, you'll find examples of how to retrieve master data and how to use the resulting identifiers in other requests.
Retrieve information about locations, i. e. terminals, loadingplaces, seaports, etc. that are relevant in the context of COLA. Typically the identifier of such locations is expected as input for operations that create or update resources, so this may be used in order to look up the related data.
This endpoint can both be used to retrieve all known locations as well as to search for a specific location using the provided criteria.
| type | string Enum: "ORGANISATION" "ADMINISTRATIVE_TERMINAL" "OPERATIONAL_TERMINAL" "HINTERLAND_TERMINAL" "LOADINGPLACE" "SEAPORT" "SEAPORT_TERMINAL" "UNKNOWN" Type of the Location to search for. In case no location type is given, locations of all types are returned.
|
| name | string Name of a location to search for. Search is case-insensitive and includes substrings. If empty or null, no filtering by name occurs. |
| page | integer <int32> >= 1 Default: 1 1-based index of the requested page of results |
| pageSize | integer <int32> >= 1 Default: 50 The max. number of results to return per page |
{- "pagination": {
- "currentPage": 1,
- "pageSize": 50,
- "total": 1337
}, - "data": [
- {
- "id": "or_24277e9ef1ea8a41e4df0bb5c300aa966754f02241991d4e40d11fd3057c4fc5",
- "designation": "Contargo Neuss GmbH",
- "type": "ADMINISTRATIVE_TERMINAL",
- "locationCode": "DENSS",
- "internationalPortCode": "NLRTM",
- "edifactLocationCode": "0APMA",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}, - "geoLocation": {
- "coordinates": {
- "latitude": 50.393994,
- "longitude": 7.589209
}
}
}
]
}The STAR API provides programmatic access to Contargo’s STAR at star.contargo.net, enabling partners to create, update, retrieve and delete orders in STAR. Use this integration in order to import relevant orders into STAR, which can then be assigned to time slots by your Dispatchers without having to manually transfer the required data between systems.
Partners can use them to:
This endpoint allows the creation of new orders in STAR that can then be used to book SlotRequests directly in the application by a Dispatcher.
The STAR order to be created
| terminalId required | string Identifier of the location of type ADMINISTRATIVE_TERMINAL at which the STAR order should be performed. Note that the corresponding identifier can be retrieved via the Locations-API. |
| action required | string Enum: "PICK_UP" "DROP_OFF" The type of the order that is planned
|
| reference required | string The reference to be used in order to perform the pick up or drop off at the terminal |
required | object (StarUnit) A loading unit in the context of STAR which desribes the properties of the loading unit being picked up or dropped off |
object or null (StarClientContext) Additional context for the order in STAR that can be used when booking a corresponding SlotRequest or for correlation by the client |
An order with all available properties for creation filled
{- "terminalId": "at_6ccc3dd538333ee0d57537efd2d2a45729ca2c672e062e1d88dc655302c66f01",
- "action": "DROP_OFF",
- "reference": "REF123",
- "unit": {
- "loadingState": "EMPTY",
- "handlingCode": "40DV",
- "isoCode": "42G0",
- "number": "MSKU 123456-7",
- "dangerousGoodsIndication": "DANGEROUS",
- "condition": "OK",
- "seals": [
- {
- "type": "OPERATOR",
- "number": "PA02265"
}
]
}, - "clientContext": {
- "plannedDate": {
- "date": "2018-01-01",
- "timeOfDay": "EARLY"
}, - "internalNote": "ASDF12345"
}
}{- "id": "0b52e366-2be7-4277-817f-70e1ba8b3917"
}This endpoint returns details of a specific StarOrder
| id required | string The ID of the order to retrieve |
An order with all properties filled
{- "id": "0b52e366-2be7-4277-817f-70e1ba8b3917",
- "terminalId": "at_6ccc3dd538333ee0d57537efd2d2a45729ca2c672e062e1d88dc655302c66f01",
- "action": "DROP_OFF",
- "reference": "REF123",
- "unit": {
- "loadingState": "EMPTY",
- "handlingCode": "40DV",
- "number": "MSKU 123456-7",
- "dangerousGoodsIndication": "DANGEROUS",
- "condition": "OK",
- "seals": [
- {
- "type": "OPERATOR",
- "number": "PA02265"
}
]
}, - "clientContext": {
- "plannedDate": {
- "date": "2018-01-01",
- "timeOfDay": "EARLY"
}, - "internalNote": "ASDF12345"
}
}This endpoint allows to update an existing order in STAR, if it is still in a state where it is updateable.
| id required | string The ID of the order to update |
The order to be updated
| terminalId required | string Identifier of the location of type ADMINISTRATIVE_TERMINAL at which the STAR order should be performed. Note that the corresponding identifier can be retrieved via the Locations-API. |
| action required | string Enum: "PICK_UP" "DROP_OFF" The type of the order that is planned
|
| reference required | string The reference to be used in order to perform the pick up or drop off at the terminal |
required | object (StarUnit) A loading unit in the context of STAR which desribes the properties of the loading unit being picked up or dropped off |
object or null (StarClientContext) Additional context for the order in STAR that can be used when booking a corresponding SlotRequest or for correlation by the client |
An order with all available properties for update filled
{- "terminalId": "at_6ccc3dd538333ee0d57537efd2d2a45729ca2c672e062e1d88dc655302c66f01",
- "action": "DROP_OFF",
- "reference": "REF123",
- "unit": {
- "loadingState": "EMPTY",
- "handlingCode": "40DV",
- "isoCode": "42G0",
- "number": "MSKU 123456-7",
- "dangerousGoodsIndication": "DANGEROUS",
- "condition": "OK",
- "seals": [
- {
- "type": "OPERATOR",
- "number": "PA02265"
}
]
}, - "clientContext": {
- "plannedDate": {
- "date": "2018-01-01",
- "timeOfDay": "EARLY"
}, - "internalNote": "ASDF12345"
}
}{- "messages": [
- "The mandatory property \"my property\" was missing!"
]
}Delete an existing order in STAR in case it is in a state where it can still be deleted
| id required | string The ID of the order to delete |
{- "messages": [
- "The mandatory property \"my property\" was missing!"
]
}The Tracking endpoints in the COLA API enable both the retrieval of tracking information for units and the submission of observed tracking events by authorized partners.
These endpoints support real-time visibility into the movement and status of transport units throughout the supply chain. Partners can use them to:
This endpoint returns tracking data of units. Events mark the time and location when a unit has been observed.
| orderId | string The identifier of the order. To be given together with 'positionId' |
| positionId | string The identifier of the position of the order. To be given together with 'orderId' |
| clientOrderReference | string The client's reference for the order. To be given together with 'clientPositionReference' |
| clientPositionReference | string The client's reference for the position. To be given together with 'clientOrderReference' |
{- "observedUntil": "2021-06-17T12:31:33.971Z",
- "order": {
- "orderId": "2020-1234-4543-3434",
- "positionId": "1",
- "clientOrderReference": "123456",
- "clientPositionReference": "2",
- "additionalClientOrderReferences": [
- "string"
], - "additionalClientPositionReferences": [
- "string"
], - "client": {
- "id": "pa_45a8315ef1f2bd02d5e843a3a79ada2827fb733c714b25d1c83ad6c91b12dcd1",
- "name": "Contargo GmbH & Co. KG",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}
}
}, - "loadingUnit": {
- "containerClass": "CONTAINER",
- "identification": "BIC",
- "number": "MSKU 123456-7",
- "sizeType": "42G0"
}, - "events": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "timestamp": "2021-06-17T12:31:33.971Z",
- "type": "GATE_IN",
- "observation": {
- "observedMeansOfTransport": {
- "modeOfTransport": "BARGE",
- "truck": {
- "countryCode": "D",
- "licensePlate": "TR XB 32",
- "forwarder": "Deisser GmbH"
}, - "barge": {
- "name": "Covano",
- "imo": "2323931",
- "eni": "02332799"
}, - "train": {
- "identifier": "MSC-SHUTTLE-FRANKFURT"
}
}, - "observedLoadingUnit": {
- "loadingUnit": {
- "containerClass": "CONTAINER",
- "identification": "BIC",
- "number": "MSKU 123456-7",
- "sizeType": "42G0"
}, - "loadingState": "EMPTY",
- "condition": "OK",
- "weight": {
- "gross": 13684,
- "net": 11000,
- "tare": 2684
}, - "oversize": {
- "excessLengthFront": 0,
- "excessLengthBack": 127,
- "excessWidthRight": 127,
- "excessWidthLeft": 127,
- "excessHeight": 42
}, - "observedTemperature": {
- "temperature": 17.4,
- "humidity": 40.1
}, - "seals": [
- {
- "type": "OPERATOR",
- "number": "PA02265"
}
]
}, - "location": {
- "id": "or_24277e9ef1ea8a41e4df0bb5c300aa966754f02241991d4e40d11fd3057c4fc5",
- "designation": "Contargo Neuss GmbH",
- "type": "ADMINISTRATIVE_TERMINAL",
- "locationCode": "DENSS",
- "internationalPortCode": "NLRTM",
- "edifactLocationCode": "0APMA",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}, - "geoLocation": {
- "coordinates": {
- "latitude": 50.393994,
- "longitude": 7.589209
}
}
}
}
}
]
}This endpoint allows to report new Tracking Events that occurred during the transport of a unit.
The tracking event to be reported
object (IncomingTrackingOrder) Information about the order related to tracking events | |
object (TrackingTransportIdentifier) Identifier of the transport for which a tracking event is reported | |
required | object (TrackingEvent) An event that marks the observation of a unit at a specific time and location |
object (Operator) A company that is part of and operates in the intermodal domain |
{- "order": {
- "orderId": "2020-1234-4543-3434",
- "positionId": "1",
- "clientOrderReference": "123456",
- "clientPositionReference": "2"
}, - "transport": {
- "identifier": "{738FABEE}NHdhcmQ_dHJhPTEyMjAyMDIwMzUtMi01LTEmcG9zPTImb3JkPTEyMjAyMDIwMzU",
- "voyageNumber": "SHP98755"
}, - "event": {
- "timestamp": "2021-06-17T12:31:33.971Z",
- "type": "GATE_IN",
- "observation": {
- "observedMeansOfTransport": {
- "modeOfTransport": "BARGE",
- "truck": {
- "countryCode": "D",
- "licensePlate": "TR XB 32"
}, - "barge": {
- "name": "Covano",
- "imo": "2323931",
- "eni": "02332799"
}, - "train": {
- "identifier": "MSC-SHUTTLE-FRANKFURT"
}
}, - "observedLoadingUnit": {
- "loadingUnit": {
- "containerClass": "CONTAINER",
- "identification": "BIC",
- "number": "MSKU 123456-7",
- "sizeType": "42G0"
}, - "loadingState": "EMPTY",
- "condition": "OK",
- "weight": {
- "gross": 13684,
- "net": 11000,
- "tare": 2684
}, - "oversize": {
- "excessLengthFront": 0,
- "excessLengthBack": 127,
- "excessWidthRight": 127,
- "excessWidthLeft": 127,
- "excessHeight": 42
}, - "observedTemperature": {
- "temperature": 17.4,
- "humidity": 40.1
}, - "seals": [
- {
- "type": "OPERATOR",
- "number": "PA02265"
}
]
}, - "location": {
- "id": "or_24277e9ef1ea8a41e4df0bb5c300aa966754f02241991d4e40d11fd3057c4fc5",
- "designation": "Contargo Neuss GmbH",
- "type": "ADMINISTRATIVE_TERMINAL",
- "locationCode": "DENSS",
- "internationalPortCode": "NLRTM",
- "edifactLocationCode": "0APMA",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}, - "geoLocation": {
- "coordinates": {
- "latitude": 50.393994,
- "longitude": 7.589209
}
}
}
}
}, - "reporter": {
- "id": "pa_45a8315ef1f2bd02d5e843a3a79ada2827fb733c714b25d1c83ad6c91b12dcd1",
- "name": "Contargo GmbH & Co. KG",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}
}
}{- "messages": [
- "The mandatory property \"my property\" was missing!"
]
}Subscribe a client to retrieve tracking events for all of his orders. This endpoint uses ServerSentEvents (SSE) and the connection remains open indefinitely. It is the clients responsibility to reopen the connection in case of timeout or connection errors and to close it, when no further updates should be received. Note that the documented payload is part of the "data" field of each ServerSentEvent.
| street | string The street incl. number. |
| postalCode | string The postal code (zip code). |
| city | string The city |
object (Country) A political state, nation, or territory in the sense of http://www.unece.org/cefact/locode/service/location |
{- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}| messages | Array of strings [ 0 .. 1000 ] items Error messages of the failed api call |
{- "messages": [
- "The mandatory property \"my property\" was missing!"
]
}| name | string Name of the barge that processes the delivery or pick up of units |
| imo | string IMO (International Maritime Organization) identifier of the barge |
| eni | string ENI (European Number of Identification) of the barge |
{- "name": "Covano",
- "imo": "2323931",
- "eni": "02332799"
}| latitude | number <double> The latitude (in decimal degrees) specifies the north–south position of a point on the Earth's surface. |
| longitude | number <double> The longitude (in decimal degrees) specifies the east–west position of a point on the Earth's surface. |
{- "latitude": 50.393994,
- "longitude": 7.589209
}| name | string The (english) name of the country, as specified by the UN country code mapping |
| code | string The two digit UN code of the country, see http://www.unece.org/cefact/locode/service/location for details |
{- "name": "Germany",
- "code": "DE"
}object or null (Coordinates) Coordinates of a location in latitude and longitude. |
{- "coordinates": {
- "latitude": 50.393994,
- "longitude": 7.589209
}
}| orderId required | string The unique Contargo identifier for this Order |
| positionId required | string Identifies the position in an order, as provided by Contargo. This identifier is unique within this order. |
| clientOrderReference | string Reference for the order used by the client. |
| clientPositionReference | string Reference for the position used by the client. This must be an unique identifier within htis order. |
{- "orderId": "2020-1234-4543-3434",
- "positionId": "1",
- "clientOrderReference": "123456",
- "clientPositionReference": "2"
}object (LoadingUnitTracking) A loading unit that was observed at some location. Note that this is similar, but not identical to the content of the "Loading Unit" schema. | |
| loadingState | string Default: "UNKNOWN" Enum: "FULL" "EMPTY" "UNKNOWN" The loading state of a loading unit
|
| condition | string Default: "UNKNOWN" Enum: "OK" "DAMAGED" "UNKNOWN" Condition the loading unit is in
|
object (Weight) Describes weight of an entity, e.g. goods or loading units | |
object (Oversize) Describes oversize of a good, relative to the loading unit the good is contained in. All given values have to be read as if you are standing in front of the unit's door (facing to it) | |
object or null (ObservedTemperature) Describes the observed temperature of a temperature controlled loading unit ("reefer") | |
Array of objects (Seal) [ 0 .. 100 ] items Seals that are present on the loading unit |
{- "loadingUnit": {
- "containerClass": "CONTAINER",
- "identification": "BIC",
- "number": "MSKU 123456-7",
- "sizeType": "42G0"
}, - "loadingState": "EMPTY",
- "condition": "OK",
- "weight": {
- "gross": 13684,
- "net": 11000,
- "tare": 2684
}, - "oversize": {
- "excessLengthFront": 0,
- "excessLengthBack": 127,
- "excessWidthRight": 127,
- "excessWidthLeft": 127,
- "excessHeight": 42
}, - "observedTemperature": {
- "temperature": 17.4,
- "humidity": 40.1
}, - "seals": [
- {
- "type": "OPERATOR",
- "number": "PA02265"
}
]
}| containerClass required | string Enum: "CONTAINER" "SWAP_BODY" "TRAILER" "VEHICLE" "MAFI" "NON_MOBILE" "OTHER" The class of loading units that can be used to transport goods. Each class has different characteristics, e.g some of them are standardized, while others are not
|
| identification | string or null Enum: "BIC" "ILU" "SOC" "OTHER" Type of identifier that is used in order to identify the loading unit
|
| number | string or null Number that identifies the loading unit |
| sizeType | string or null ISO container size type (DIN EN ISO 6346), also known as "iso code" |
{- "containerClass": "CONTAINER",
- "identification": "BIC",
- "number": "MSKU 123456-7",
- "sizeType": "42G0"
}| id | string Unique identifier of the location |
| designation required | string Name of the location |
| type | string Enum: "ORGANISATION" "ADMINISTRATIVE_TERMINAL" "OPERATIONAL_TERMINAL" "HINTERLAND_TERMINAL" "LOADINGPLACE" "SEAPORT" "SEAPORT_TERMINAL" "UNKNOWN" The type of a location
|
| locationCode | string or null The UN location code of the city in which the location resides (if applicable). |
| internationalPortCode | string or null The international port code (in case this is a SEAPORT or a SEAPORT_TERMINAL) |
| edifactLocationCode | string or null The location code used in edifact messages, also known as "BICS code" or "term code" |
object (Address) A physical address that describes a location, e.g. of a terminal. | |
object (GeoLocation) A physical location described by one or multiple codes. |
{- "id": "or_24277e9ef1ea8a41e4df0bb5c300aa966754f02241991d4e40d11fd3057c4fc5",
- "designation": "Contargo Neuss GmbH",
- "type": "ADMINISTRATIVE_TERMINAL",
- "locationCode": "DENSS",
- "internationalPortCode": "NLRTM",
- "edifactLocationCode": "0APMA",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}, - "geoLocation": {
- "coordinates": {
- "latitude": 50.393994,
- "longitude": 7.589209
}
}
}| modeOfTransport | string Default: "UNKNOWN" Enum: "BARGE" "RAIL" "TRUCK" "UNKNOWN" The mode of transport that was used
|
object or null (Truck) A vehicle that is used to transport full or empty Units between loading places | |
object or null (Barge) A barge that is used to transport full or empty Units between terminals | |
object or null (Train) A train that is used to transport full or empty Units between loading places |
{- "modeOfTransport": "BARGE",
- "truck": {
- "countryCode": "D",
- "licensePlate": "TR XB 32",
- "forwarder": "Deisser GmbH"
}, - "barge": {
- "name": "Covano",
- "imo": "2323931",
- "eni": "02332799"
}, - "train": {
- "identifier": "MSC-SHUTTLE-FRANKFURT"
}
}object (MeansOfTransportObservation) The observations that have been made regarding the means of transport | |
object (LoadingUnitObservation) The observations that have been made regarding the loading unit | |
object (Location) A location at which an action in the context of the intermodal domain can occur |
{- "observedMeansOfTransport": {
- "modeOfTransport": "BARGE",
- "truck": {
- "countryCode": "D",
- "licensePlate": "TR XB 32",
- "forwarder": "Deisser GmbH"
}, - "barge": {
- "name": "Covano",
- "imo": "2323931",
- "eni": "02332799"
}, - "train": {
- "identifier": "MSC-SHUTTLE-FRANKFURT"
}
}, - "observedLoadingUnit": {
- "loadingUnit": {
- "containerClass": "CONTAINER",
- "identification": "BIC",
- "number": "MSKU 123456-7",
- "sizeType": "42G0"
}, - "loadingState": "EMPTY",
- "condition": "OK",
- "weight": {
- "gross": 13684,
- "net": 11000,
- "tare": 2684
}, - "oversize": {
- "excessLengthFront": 0,
- "excessLengthBack": 127,
- "excessWidthRight": 127,
- "excessWidthLeft": 127,
- "excessHeight": 42
}, - "observedTemperature": {
- "temperature": 17.4,
- "humidity": 40.1
}, - "seals": [
- {
- "type": "OPERATOR",
- "number": "PA02265"
}
]
}, - "location": {
- "id": "or_24277e9ef1ea8a41e4df0bb5c300aa966754f02241991d4e40d11fd3057c4fc5",
- "designation": "Contargo Neuss GmbH",
- "type": "ADMINISTRATIVE_TERMINAL",
- "locationCode": "DENSS",
- "internationalPortCode": "NLRTM",
- "edifactLocationCode": "0APMA",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}, - "geoLocation": {
- "coordinates": {
- "latitude": 50.393994,
- "longitude": 7.589209
}
}
}
}| temperature | number <double> The temperature that the loading unit is currently set to have (in degrees celsius) |
| humidity | number <double> The humidity that the loading unit is currently set to have (in percent) |
{- "temperature": 17.4,
- "humidity": 40.1
}| id | string Unique identifier of the operator. |
| name | string Name of the operator |
object (Address) A physical address that describes a location, e.g. of a terminal. |
{- "id": "pa_45a8315ef1f2bd02d5e843a3a79ada2827fb733c714b25d1c83ad6c91b12dcd1",
- "name": "Contargo GmbH & Co. KG",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}
}| excessLengthFront | integer <int32> Excess length of the good in front of the loading unit. Relative to the loading unit (in full centimeters) |
| excessLengthBack | integer <int32> Excess length of the good to the back of the loading unit. Relative to the loading unit (in full centimeters) |
| excessWidthRight | integer <int32> Excess width of the good to the right of the loading unit. Relative to the loading unit (in full centimeters) |
| excessWidthLeft | integer <int32> Excess width of the good to the left of the loading unit. Relative to the loading unit (in full centimeters) |
| excessHeight | integer <int32> Excess height of the good, relative to the loading unit (in full centimeters) |
{- "excessLengthFront": 0,
- "excessLengthBack": 127,
- "excessWidthRight": 127,
- "excessWidthLeft": 127,
- "excessHeight": 42
}object (Pagination) Contains meta information about pagination | |
Array of objects (Location) [ 0 .. 1000 ] items Contains the data of the requested page |
{- "pagination": {
- "currentPage": 1,
- "pageSize": 50,
- "total": 1337
}, - "data": [
- {
- "id": "or_24277e9ef1ea8a41e4df0bb5c300aa966754f02241991d4e40d11fd3057c4fc5",
- "designation": "Contargo Neuss GmbH",
- "type": "ADMINISTRATIVE_TERMINAL",
- "locationCode": "DENSS",
- "internationalPortCode": "NLRTM",
- "edifactLocationCode": "0APMA",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}, - "geoLocation": {
- "coordinates": {
- "latitude": 50.393994,
- "longitude": 7.589209
}
}
}
]
}| currentPage | integer <int32> The 1-based index of the current page |
| pageSize | integer <int32> The max. size of the current page |
| total | integer <int32> The total number of data elements |
{- "currentPage": 1,
- "pageSize": 50,
- "total": 1337
}| type | string Enum: "OPERATOR" "CUSTOMS" "UNKNOWN" Type of the seal, usually determined by the entity that puts the seal on a loading unit
|
| number | string Unique seal number |
{- "type": "OPERATOR",
- "number": "PA02265"
}object or null (StarPlannedDate) A preliminary time for which the order is planned to be executed | |
| internalNote | string or null <= 20 characters [a-zA-Z0-9\-/#\\] A note that can be used for correlation information |
{- "plannedDate": {
- "date": "2018-01-01",
- "timeOfDay": "EARLY"
}, - "internalNote": "ASDF12345"
}| id | string Unique identifier of the STAR order |
| terminalId required | string Identifier of the location of type ADMINISTRATIVE_TERMINAL at which the STAR order should be performed. Note that the corresponding identifier can be retrieved via the Locations-API. |
| action required | string Enum: "PICK_UP" "DROP_OFF" The type of the order that is planned
|
| reference required | string The reference to be used in order to perform the pick up or drop off at the terminal |
required | object (StarUnit) A loading unit in the context of STAR which desribes the properties of the loading unit being picked up or dropped off |
object or null (StarClientContext) Additional context for the order in STAR that can be used when booking a corresponding SlotRequest or for correlation by the client |
{- "id": "0b52e366-2be7-4277-817f-70e1ba8b3917",
- "terminalId": "at_6ccc3dd538333ee0d57537efd2d2a45729ca2c672e062e1d88dc655302c66f01",
- "action": "DROP_OFF",
- "reference": "REF123",
- "unit": {
- "loadingState": "EMPTY",
- "handlingCode": "40DV",
- "number": "MSKU 123456-7",
- "dangerousGoodsIndication": "DANGEROUS",
- "condition": "OK",
- "seals": [
- {
- "type": "OPERATOR",
- "number": "PA02265"
}
]
}, - "clientContext": {
- "plannedDate": {
- "date": "2018-01-01",
- "timeOfDay": "EARLY"
}, - "internalNote": "ASDF12345"
}
}| id | string Unique identifier of a STAR order |
{- "id": "0b52e366-2be7-4277-817f-70e1ba8b3917"
}| date | string <date> The date for which the order is scheduled |
| timeOfDay | string Enum: "UNKNOWN" "EARLY" "MIDDAY" "LATE" The time of day at which the order is planned to be executed
|
{- "date": "2018-01-01",
- "timeOfDay": "EARLY"
}| loadingState required | string Enum: "FULL" "EMPTY" "UNKNOWN" The loading state of a loading unit
|
| handlingCode | string or null Handling code used by Contargo in order to specify the (general) type of loading unit, e.g. in case a specific ISO code is not known yet or not relevant. Either the "handlingCode" or the "isoCode" must be given. |
| isoCode | string or null ISO container size type (DIN EN ISO 6346) to specify the type of loading unit. May be intepreted broadly and reference the whole group of corresponding size types. Either the "handlingCode" or the "isoCode" must be given. |
| number | string or null Number that identifies the loading unit |
| dangerousGoodsIndication | string Enum: "DANGEROUS" "NOT_DANGEROUS" "UNKNOWN" Indicates if a loading unit is going to contain dangerous goods or not
|
| condition | string Enum: "OK" "DAMAGED" "UNKNOWN" Condition the loading unit is in
|
Array of objects (Seal) [ 0 .. 100 ] items Seals that are present on the loading unit |
{- "loadingState": "EMPTY",
- "handlingCode": "40DV",
- "number": "MSKU 123456-7",
- "dangerousGoodsIndication": "DANGEROUS",
- "condition": "OK",
- "seals": [
- {
- "type": "OPERATOR",
- "number": "PA02265"
}
]
}| observedUntil required | string <date-time> The point in time until which the tracking events occurred. Events observed after this point will not be part of this response. |
required | object (TrackingOrder) Information about the order related to tracking events |
object (LoadingUnitTracking) A loading unit that was observed at some location. Note that this is similar, but not identical to the content of the "Loading Unit" schema. | |
required | Array of objects (TrackingEvent) [ 0 .. 100 ] items The observed events that occurred regarding the tracked unit. |
{- "observedUntil": "2021-06-17T12:31:33.971Z",
- "order": {
- "orderId": "2020-1234-4543-3434",
- "positionId": "1",
- "clientOrderReference": "123456",
- "clientPositionReference": "2",
- "additionalClientOrderReferences": [
- "string"
], - "additionalClientPositionReferences": [
- "string"
], - "client": {
- "id": "pa_45a8315ef1f2bd02d5e843a3a79ada2827fb733c714b25d1c83ad6c91b12dcd1",
- "name": "Contargo GmbH & Co. KG",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}
}
}, - "loadingUnit": {
- "containerClass": "CONTAINER",
- "identification": "BIC",
- "number": "MSKU 123456-7",
- "sizeType": "42G0"
}, - "events": [
- {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "timestamp": "2021-06-17T12:31:33.971Z",
- "type": "GATE_IN",
- "observation": {
- "observedMeansOfTransport": {
- "modeOfTransport": "BARGE",
- "truck": {
- "countryCode": "D",
- "licensePlate": "TR XB 32",
- "forwarder": "Deisser GmbH"
}, - "barge": {
- "name": "Covano",
- "imo": "2323931",
- "eni": "02332799"
}, - "train": {
- "identifier": "MSC-SHUTTLE-FRANKFURT"
}
}, - "observedLoadingUnit": {
- "loadingUnit": {
- "containerClass": "CONTAINER",
- "identification": "BIC",
- "number": "MSKU 123456-7",
- "sizeType": "42G0"
}, - "loadingState": "EMPTY",
- "condition": "OK",
- "weight": {
- "gross": 13684,
- "net": 11000,
- "tare": 2684
}, - "oversize": {
- "excessLengthFront": 0,
- "excessLengthBack": 127,
- "excessWidthRight": 127,
- "excessWidthLeft": 127,
- "excessHeight": 42
}, - "observedTemperature": {
- "temperature": 17.4,
- "humidity": 40.1
}, - "seals": [
- {
- "type": "OPERATOR",
- "number": "PA02265"
}
]
}, - "location": {
- "id": "or_24277e9ef1ea8a41e4df0bb5c300aa966754f02241991d4e40d11fd3057c4fc5",
- "designation": "Contargo Neuss GmbH",
- "type": "ADMINISTRATIVE_TERMINAL",
- "locationCode": "DENSS",
- "internationalPortCode": "NLRTM",
- "edifactLocationCode": "0APMA",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}, - "geoLocation": {
- "coordinates": {
- "latitude": 50.393994,
- "longitude": 7.589209
}
}
}
}
}
]
}| id | string Unique identifier of the tracking event |
| timestamp required | string <date-time> The exact time when the event occured in UTC |
| type required | string Default: "UNKNOWN" Enum: "GATE_OUT" "GATE_IN" "ARRIVED" "DEPARTED" "HANDLING_STARTED" "HANDLING_FINISHED" "UNKNOWN" Type of event; list of possible values is not complete and may be extended in the future. Clients should deal with unknown values gracefully.
|
object (Observation) The observations that have been made, e.g. regarding the tracked loading unit or means of transport |
{- "id": "123e4567-e89b-12d3-a456-426614174000",
- "timestamp": "2021-06-17T12:31:33.971Z",
- "type": "GATE_IN",
- "observation": {
- "observedMeansOfTransport": {
- "modeOfTransport": "BARGE",
- "truck": {
- "countryCode": "D",
- "licensePlate": "TR XB 32",
- "forwarder": "Deisser GmbH"
}, - "barge": {
- "name": "Covano",
- "imo": "2323931",
- "eni": "02332799"
}, - "train": {
- "identifier": "MSC-SHUTTLE-FRANKFURT"
}
}, - "observedLoadingUnit": {
- "loadingUnit": {
- "containerClass": "CONTAINER",
- "identification": "BIC",
- "number": "MSKU 123456-7",
- "sizeType": "42G0"
}, - "loadingState": "EMPTY",
- "condition": "OK",
- "weight": {
- "gross": 13684,
- "net": 11000,
- "tare": 2684
}, - "oversize": {
- "excessLengthFront": 0,
- "excessLengthBack": 127,
- "excessWidthRight": 127,
- "excessWidthLeft": 127,
- "excessHeight": 42
}, - "observedTemperature": {
- "temperature": 17.4,
- "humidity": 40.1
}, - "seals": [
- {
- "type": "OPERATOR",
- "number": "PA02265"
}
]
}, - "location": {
- "id": "or_24277e9ef1ea8a41e4df0bb5c300aa966754f02241991d4e40d11fd3057c4fc5",
- "designation": "Contargo Neuss GmbH",
- "type": "ADMINISTRATIVE_TERMINAL",
- "locationCode": "DENSS",
- "internationalPortCode": "NLRTM",
- "edifactLocationCode": "0APMA",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}, - "geoLocation": {
- "coordinates": {
- "latitude": 50.393994,
- "longitude": 7.589209
}
}
}
}
}object (IncomingTrackingOrder) Information about the order related to tracking events | |
object (TrackingTransportIdentifier) Identifier of the transport for which a tracking event is reported | |
required | object (TrackingEvent) An event that marks the observation of a unit at a specific time and location |
object (Operator) A company that is part of and operates in the intermodal domain |
{- "order": {
- "orderId": "2020-1234-4543-3434",
- "positionId": "1",
- "clientOrderReference": "123456",
- "clientPositionReference": "2"
}, - "transport": {
- "identifier": "{738FABEE}NHdhcmQ_dHJhPTEyMjAyMDIwMzUtMi01LTEmcG9zPTImb3JkPTEyMjAyMDIwMzU",
- "voyageNumber": "SHP98755"
}, - "event": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "timestamp": "2021-06-17T12:31:33.971Z",
- "type": "GATE_IN",
- "observation": {
- "observedMeansOfTransport": {
- "modeOfTransport": "BARGE",
- "truck": {
- "countryCode": "D",
- "licensePlate": "TR XB 32",
- "forwarder": "Deisser GmbH"
}, - "barge": {
- "name": "Covano",
- "imo": "2323931",
- "eni": "02332799"
}, - "train": {
- "identifier": "MSC-SHUTTLE-FRANKFURT"
}
}, - "observedLoadingUnit": {
- "loadingUnit": {
- "containerClass": "CONTAINER",
- "identification": "BIC",
- "number": "MSKU 123456-7",
- "sizeType": "42G0"
}, - "loadingState": "EMPTY",
- "condition": "OK",
- "weight": {
- "gross": 13684,
- "net": 11000,
- "tare": 2684
}, - "oversize": {
- "excessLengthFront": 0,
- "excessLengthBack": 127,
- "excessWidthRight": 127,
- "excessWidthLeft": 127,
- "excessHeight": 42
}, - "observedTemperature": {
- "temperature": 17.4,
- "humidity": 40.1
}, - "seals": [
- {
- "type": "OPERATOR",
- "number": "PA02265"
}
]
}, - "location": {
- "id": "or_24277e9ef1ea8a41e4df0bb5c300aa966754f02241991d4e40d11fd3057c4fc5",
- "designation": "Contargo Neuss GmbH",
- "type": "ADMINISTRATIVE_TERMINAL",
- "locationCode": "DENSS",
- "internationalPortCode": "NLRTM",
- "edifactLocationCode": "0APMA",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}, - "geoLocation": {
- "coordinates": {
- "latitude": 50.393994,
- "longitude": 7.589209
}
}
}
}
}, - "reporter": {
- "id": "pa_45a8315ef1f2bd02d5e843a3a79ada2827fb733c714b25d1c83ad6c91b12dcd1",
- "name": "Contargo GmbH & Co. KG",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}
}
}| orderId | string The unique Contargo identifier for this Order |
| positionId | string Identifies the position in an order, as provided by Contargo. This identifier is unique within this order. |
| clientOrderReference | string Reference for the order used by the client. |
| clientPositionReference | string Reference for the position used by the client. This must be an unique identifier within htis order. |
| additionalClientOrderReferences | Array of strings [ 0 .. 100 ] items Additional references to the order given by the client that may be used for correlation on the client side |
| additionalClientPositionReferences | Array of strings [ 0 .. 100 ] items Additional references to the position given by the client that may be used for correlation on the client side |
object (Operator) A company that is part of and operates in the intermodal domain |
{- "orderId": "2020-1234-4543-3434",
- "positionId": "1",
- "clientOrderReference": "123456",
- "clientPositionReference": "2",
- "additionalClientOrderReferences": [
- "string"
], - "additionalClientPositionReferences": [
- "string"
], - "client": {
- "id": "pa_45a8315ef1f2bd02d5e843a3a79ada2827fb733c714b25d1c83ad6c91b12dcd1",
- "name": "Contargo GmbH & Co. KG",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}
}
}| id | string Unique identifier of the tracking event |
| event | string The type of event |
| retry | integer <int32> The minimum time in milliseconds after which a reconnect should occur |
| comment | string An optional comment regarding the event |
object (TrackingEvent) An event that marks the observation of a unit at a specific time and location |
{- "id": "123e4567-e89b-12d3-a456-426614174000",
- "event": "gate-out",
- "retry": 60000,
- "comment": "An optional comment",
- "data": {
- "id": "123e4567-e89b-12d3-a456-426614174000",
- "timestamp": "2021-06-17T12:31:33.971Z",
- "type": "GATE_IN",
- "observation": {
- "observedMeansOfTransport": {
- "modeOfTransport": "BARGE",
- "truck": {
- "countryCode": "D",
- "licensePlate": "TR XB 32",
- "forwarder": "Deisser GmbH"
}, - "barge": {
- "name": "Covano",
- "imo": "2323931",
- "eni": "02332799"
}, - "train": {
- "identifier": "MSC-SHUTTLE-FRANKFURT"
}
}, - "observedLoadingUnit": {
- "loadingUnit": {
- "containerClass": "CONTAINER",
- "identification": "BIC",
- "number": "MSKU 123456-7",
- "sizeType": "42G0"
}, - "loadingState": "EMPTY",
- "condition": "OK",
- "weight": {
- "gross": 13684,
- "net": 11000,
- "tare": 2684
}, - "oversize": {
- "excessLengthFront": 0,
- "excessLengthBack": 127,
- "excessWidthRight": 127,
- "excessWidthLeft": 127,
- "excessHeight": 42
}, - "observedTemperature": {
- "temperature": 17.4,
- "humidity": 40.1
}, - "seals": [
- {
- "type": "OPERATOR",
- "number": "PA02265"
}
]
}, - "location": {
- "id": "or_24277e9ef1ea8a41e4df0bb5c300aa966754f02241991d4e40d11fd3057c4fc5",
- "designation": "Contargo Neuss GmbH",
- "type": "ADMINISTRATIVE_TERMINAL",
- "locationCode": "DENSS",
- "internationalPortCode": "NLRTM",
- "edifactLocationCode": "0APMA",
- "address": {
- "street": "Floßhafenstraße 37",
- "postalCode": "41460",
- "city": "Neuss",
- "country": {
- "name": "Germany",
- "code": "DE"
}
}, - "geoLocation": {
- "coordinates": {
- "latitude": 50.393994,
- "longitude": 7.589209
}
}
}
}
}
}| identifier | string The unique identifier of the transport for which feasibility is reported |
| voyageNumber | string Identifier of the voyage onto which the transport is booked |
{- "identifier": "{738FABEE}NHdhcmQ_dHJhPTEyMjAyMDIwMzUtMi01LTEmcG9zPTImb3JkPTEyMjAyMDIwMzU",
- "voyageNumber": "SHP98755"
}| identifier | string Identifier of the train that processes the delivery or pick up of units |
{- "identifier": "MSC-SHUTTLE-FRANKFURT"
}| countryCode | string EU country code of the truck that processes the delivery or pick up of units. Can be left empty, when the country code is unknown |
| licensePlate | string License plate of the truck that processes the delivery or pick up of units |
| forwarder | string Company that has taken the order to transport goods from A to B |
{- "countryCode": "D",
- "licensePlate": "TR XB 32",
- "forwarder": "Deisser GmbH"
}