- 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
Retrieve a Timeline
Developing
Testing Env
https://demo.modaltrans.com
Testing Env
https://demo.modaltrans.com
GET
/api/v1/timelines/{id}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
id
integer
required
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/'
Responses
🟢200OK
application/json
Body
id
integer
required
status_date
string <date-time>
required
status_code
string
required
notes
string
required
source
string
required
country_id
string
required
Examples:
GBCN
lng
number
required
lat
number
required
Example
{
"id": 0,
"status_date": "2019-08-24T14:15:22Z",
"status_code": "string",
"notes": "string",
"source": "string",
"country_id": "GB",
"lng": 0,
"lat": 0
}
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
Modified at 2024-08-23 13:34:07