- Introduction
- Getting Started
- Authentication
- Error Handling
- Contact Support
- Modaltrans API
- Get Auth Token
- Accounting
- Customs
- Logistics
- Depot
- Fleet Management
- CRM
- Timelines
- S3 Files
- Notifications
- User Details
List Timelines
Developing
Testing Env
https://demo.modaltrans.com
Testing Env
https://demo.modaltrans.com
GET
/api/v1/timelines
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
parent_type
enum<string>
required
Allowed values:
Logistics::LoadingLogistics::Position
Example:
Logistics::Loading
parent_id
string
required
Example:
6552090c-c7a2-4e55-b262-89572324c885
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/timelines?parent_type=Logistics::Loading&parent_id=6552090c-c7a2-4e55-b262-89572324c885'
Responses
🟢200OK
application/json
Body
id
integer
required
parent_type
string
required
status_date
string <date>
required
status_code
string
required
place_id
integer
required
country_id
string
required
notes
string
required
user_id
integer
required
lng
number
required
lat
number
required
place_name
string
required
icon_code
string
required
status_desc
string
required
status_text
string
required
Example
[
{
"id": 5262810,
"parent_type": "Logistics::Loading",
"status_date": "2024-08-08T13:14:00.000+03:00",
"status_code": "Onay Bekliyor ",
"place_id": 14181,
"country_id": "ZA",
"notes": "Deneme 2",
"user_id": 8091,
"lng": 22.937506,
"lat": -30.559482,
"place_name": ".",
"icon_code": null,
"status_desc": null,
"status_text": "Translation missing: en.simple_form.options.timeline.status_code.Onay Bekliyor "
},
{
"id": 5262128,
"parent_type": "Logistics::Loading",
"status_date": "2024-08-08T12:05:00.000+03:00",
"status_code": "Araca Yüklendi",
"place_id": 50525,
"country_id": "TR",
"notes": "Deneme Deneme",
"user_id": 8091,
"lng": 29.0285355,
"lat": 41.068616,
"place_name": "Beşiktaş/İstanbul, Türkiye",
"icon_code": null,
"status_desc": null,
"status_text": "Translation missing: en.simple_form.options.timeline.status_code.Araca Yüklendi"
}
]
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
Modified at 2024-08-23 13:34:00