- Integration API
- account
- import
- orders
- order-templates
- routes
- containers
- routes
- {routeId}
- Create a routePOST
- subscriptions
- userfields
- account
Get routes
Testing Env
Testing Env
GET
https://statimlogistics-test.dsapp.io/integration/api/v1/routes/routes
as such, make sure to provide the Authorization header with a valid value.
Request
Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Query Params
routeContainerId
string
required
Example:
<string>
Header Params
Accept
string
required
Example:
text/plain
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://statimlogistics-test.dsapp.io/integration/api/v1/routes/routes?routeContainerId=<string>' \
--header 'Accept: text/plain' \
--header 'Authorization: Basic Og=='
Responses
🟢200The routes from the specified container
text/plain
Body
object {0}
Example
{
"status": "integer",
"subStatus": "integer | null",
"canBeDispatched": "boolean",
"routes": [
{
"id": "string",
"routePlanId": "integer",
"routeContainerId": "string",
"name": "string",
"ordersCount": "integer",
"isManuallyCreated": "boolean",
"isDispatched": "boolean",
"hexColor": "string | null",
"startTime": "datetime",
"allocatedDriver": {
"email": "string",
"phoneNumber": "string",
"firstName": "string",
"lastName": "string",
"otherName": "string | null",
"plateNumber": "string | null",
"driverNumber": "string",
"mobileNumber": "string",
"hasPicture": "boolean",
"homeAddress": {
"addressLine1": "string | null",
"addressLine2": "string | null",
"company": "string | null",
"city": "string | null",
"postalCode": "string | null",
"stateProvince": "string | null"
},
"preferredModeOfCommunication": "string | null",
"employeeInformation": "string | null",
"vehicleDescription": "string | null",
"usesScheduleBasedOptimization": "boolean",
"zones": "array",
"lockoutEnd": "datetime | null",
"id": "string",
"userName": "string",
"vehicleTypeId": "string",
"status": "integer",
"workShiftEndTime": "datetime | null",
"dispatchNotes": "string | null",
"latitude": "float",
"longitude": "float",
"speed": "float",
"speedInKmh": "boolean",
"driverProfileId": "string",
"payoutScheduleId": "integer",
"lastPositionUpdate": "datetime | null",
"disableReturnHome": "boolean",
"excludeFromAutoDispatch": "boolean",
"homeLocation": "string | null",
"isArchived": "boolean",
"attributeIds": "array | null",
"driverNotes": "string | null",
"externalId": "string | null",
"vehicleWeightAdjustment": "float",
"vehicleVolumeAdjustment": "float",
"vehicleNumberOfPiecesAdjustment": "float",
"settlementCycleId": "integer",
"settlementTemplateId": "integer | null",
"hexColor": "string | null",
"cashSettlementCompanyId": "integer | null",
"deserializedAttributeIds": "array",
"isDisconnected": "boolean",
"fullName": "string",
"displayName": "string"
}
}
]
}
🟠404Container not found
🔴500An error occurred when trying to get the routes
🟠401Unauthorized
Modified at 2025-02-27 09:06:11