SprintPass Pro API description.
Orchestration API (v1)
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developer.cargosprint.com/_mock/sprintpasspro/sprintpassproapi
Request
A trace only orchestration reports the status of a container at a given location. See "Unit Status" for details.
A payment orchestration keeps container fees paid until the provided Guarantee Through Date. See "Orchestration" for more details.
An appointment orchestration attempts to secure an appointment according to the preferences passed.
An appointment orchestration can be initiated with an empty container. See examples.
An appointment orchestration can be initiated with a full container and linked to an empty return orchestration to perform a dual move. See examples.
Security
sprintpasspro_X-API-Key
- application/json
- application/*+json
- Mock serverhttps://developer.cargosprint.com/_mock/sprintpasspro/sprintpassproapi/v1/orchestrations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- application/json
- application/*+json
- Trace only import
- Payment only import
- First available import
- First available with threshold import
- Time range with threshold import
- After given date import
- Between dates import
- Time ranges import
- Multiple time ranges import
- Multiple time ranges after given date import
curl -i -X POST \
https://developer.cargosprint.com/_mock/sprintpasspro/sprintpassproapi/v1/orchestrations \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"order": [
{
"trade_type": "I",
"billoflading": "BOL12345",
"unit": {
"unit_nbr": "ABCD1234567"
},
"locations": [
{
"port_cd": "PORTA"
}
]
}
]
}'Response
application/json
- Example 1
- Example 2
[ { "service_order_nbr": "7a33afe8-0e9a-497d-8916-8dc92048e092", "order_nbr": 438984, "unit_nbr": 9348934, "tran_status": "OK", "msgs": [ … ] } ]
- Mock serverhttps://developer.cargosprint.com/_mock/sprintpasspro/sprintpassproapi/v1/orchestrations/trade-type/{tradeType}/unit-nbr/{unitNbr}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://developer.cargosprint.com/_mock/sprintpasspro/sprintpassproapi/v1/orchestrations/trade-type/{tradeType}/unit-nbr/{unitNbr}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
- text/plain
- application/json
- text/json
No response example- Mock serverhttps://developer.cargosprint.com/_mock/sprintpasspro/sprintpassproapi/v1/orchestrations/trade-type/{trade_type}/unit-nbr/{unit_nbr}/locations/{location_type}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
- application/json
- text/json
- application/*+json
- Update guarantee through date
- Update trucker information
curl -i -X PATCH \
https://developer.cargosprint.com/_mock/sprintpasspro/sprintpassproapi/v1/orchestrations/trade-type/I/unit-nbr/ABCD1234567/locations/O \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"guarantee_through_date": "2022-01-01"
}'Response
- text/plain
- application/json
- text/json
{
"messages": [
{
"message_cd": "10029",
"message_txt": "Orchestration update request accepted",
"message_severity_cd": "I"
}
]
}- Mock serverhttps://developer.cargosprint.com/_mock/sprintpasspro/sprintpassproapi/v1/orchestrations/trade-type/{trade_type}/unit-nbr/{unit_nbr}/locations/{location_type}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://developer.cargosprint.com/_mock/sprintpasspro/sprintpassproapi/v1/orchestrations/trade-type/{trade_type}/unit-nbr/{unit_nbr}/locations/{location_type}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
- text/plain
- application/json
- text/json
No response example- Mock serverhttps://developer.cargosprint.com/_mock/sprintpasspro/sprintpassproapi/v1/orchestrations/trade-type/{trade_type}/unit-nbr/{unit_nbr}/orchestration-status
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.cargosprint.com/_mock/sprintpasspro/sprintpassproapi/v1/orchestrations/trade-type/{trade_type}/unit-nbr/{unit_nbr}/orchestration-status' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
- text/plain
- application/json
- text/json
No response example- Mock serverhttps://developer.cargosprint.com/_mock/sprintpasspro/sprintpassproapi/v1/orchestrations/trade-type/{trade_type}/unit-nbr/{unit_nbr}/unit-status
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.cargosprint.com/_mock/sprintpasspro/sprintpassproapi/v1/orchestrations/trade-type/{trade_type}/unit-nbr/{unit_nbr}/unit-status' \
-H 'X-API-Key: YOUR_API_KEY_HERE'Response
- text/plain
- application/json
- text/json
No response example