SprintPass Pro API description
SprintPass Pro
/- Orchestration Specification
API Specification
- Submit one or many orchestration requests
Cancel orchestration
Update orchestration
Cancel appointment
Orchestration status
Unit status
Submit one or many orches...
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
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
[ { "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
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
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
{
"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
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
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'