- Introduction
- Getting Started
- Authentication
- Error Handling
- Contact Support
- Modaltrans API
- Get Auth Token
- Accounting
- Customs
- Logistics
- Depot
- Fleet Management
- Drivers
- Vehicles
- Gps Service Controller
- Service Logs
- Periodic Documents
- CRM
- Timelines
- S3 Files
- Notifications
- User Details
List Driver Positions
Developing
Testing Env
https://demo.modaltrans.com
Testing Env
https://demo.modaltrans.com
GET
/api/v1/drivers/{uuid}/positions
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
uuid
string
required
Query Params
page
number
optional
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://demo.modaltrans.com/api/v1/drivers//positions?page='
Responses
🟢200OK
application/json
Body
array of:
uuid
string <uuid>
required
reference
string
required
branch_id
integer
required
user_id
integer
required
status
string
required
contract_type
string
required
extref
string
required
truck
string
required
truck_type
string
required
trailer
string
required
trailer_type
string
required
truck_uuid
string <uuid>
required
trailer_uuid
string <uuid>
required
driver_name
string
required
driver_gsm
string
required
departure_date
string <date-time>
required
arrival_date
string <date-time>
required
route
string
required
notes
string
required
supplier_id
integer
required
supplier_name
string
required
operator_name
string
required
dep_place
string | null
optional
dep_city
object
required
id
integer
required
code
string | null
optional
name
string
required
tel_code
string | null
optional
country_id
string
required
created_at
string <date-time>
required
updated_at
string <date-time>
required
states_code
string | null
optional
dep_country_id
string
required
arv_place
string | null
optional
arv_city
object
required
id
integer
required
code
string | null
optional
name
string
required
tel_code
string | null
optional
country_id
string
required
created_at
string <date-time>
required
updated_at
string <date-time>
required
states_code
string | null
optional
arv_country_id
string
required
transit_points
array[string]
required
untransit_points
array[string]
required
border_date
string <date>
required
waybill_type
string
required
route_km
string
required
consigments
array [object {38}]
required
transaction_id
integer
required
uuid
string <uuid>
required
reference
string
required
branch_id
integer
required
company_id
integer
required
company_name
string
required
customer_ref
string
optional
agent_ref
string
optional
consignee_name
string
required
sender_name
string
required
load_place_id
integer | null
optional
load_city
string
required
load_zipcode
string
optional
load_coun
string
required
load_place
string
required
unload_place_id
integer | null
optional
unload_city
string
required
unload_zipcode
string
optional
unload_coun
string
required
unload_place
string
required
brut_wg
number
required
volume
number
required
ladameter
number
required
status
string
required
commodity
string
optional
category
string | null
optional
group_id
integer
required
price_wg
number
required
teu
integer
required
saler_name
string
required
saler_email
string <email>
required
saler_office_tel
string
optional
total_pack
number
required
total_packs
string
required
points
array[string]
optional
timelines
array[string]
optional
company_code
string | null
optional
tag_names
array[string]
optional
Example
[
{
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"reference": "string",
"branch_id": 0,
"user_id": 0,
"status": "string",
"contract_type": "string",
"extref": "string",
"truck": "string",
"truck_type": "string",
"trailer": "string",
"trailer_type": "string",
"truck_uuid": "46f1af84-24ed-4225-a13b-1bce4acb6844",
"trailer_uuid": "84aa3b61-9461-47c5-90b0-d58f5ed5c1a6",
"driver_name": "string",
"driver_gsm": "string",
"departure_date": "2019-08-24T14:15:22Z",
"arrival_date": "2019-08-24T14:15:22Z",
"route": "string",
"notes": "string",
"supplier_id": 0,
"supplier_name": "string",
"operator_name": "string",
"dep_place": "string",
"dep_city": {
"id": 0,
"code": "string",
"name": "string",
"tel_code": "string",
"country_id": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"states_code": "string"
},
"dep_country_id": "string",
"arv_place": "string",
"arv_city": {
"id": 0,
"code": "string",
"name": "string",
"tel_code": "string",
"country_id": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"states_code": "string"
},
"arv_country_id": "string",
"transit_points": [
"string"
],
"untransit_points": [
"string"
],
"border_date": "2019-08-24",
"waybill_type": "string",
"route_km": "string",
"consigments": [
{
"transaction_id": 0,
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"reference": "string",
"branch_id": 0,
"company_id": 0,
"company_name": "string",
"customer_ref": "string",
"agent_ref": "string",
"consignee_name": "string",
"sender_name": "string",
"load_place_id": 0,
"load_city": "string",
"load_zipcode": "string",
"load_coun": "string",
"load_place": "string",
"unload_place_id": 0,
"unload_city": "string",
"unload_zipcode": "string",
"unload_coun": "string",
"unload_place": "string",
"brut_wg": 0,
"volume": 0,
"ladameter": 0,
"status": "string",
"commodity": "string",
"category": "string",
"group_id": 0,
"price_wg": 0,
"teu": 0,
"saler_name": "string",
"saler_email": "user@example.com",
"saler_office_tel": "string",
"total_pack": 0,
"total_packs": "string",
"points": [
"string"
],
"timelines": [
"string"
],
"company_code": "string",
"tag_names": [
"string"
]
}
]
}
]
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
Modified at 2024-08-26 07:48:48