- 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 all Service Logs
Developing
Testing Env
https://demo.modaltrans.com
Testing Env
https://demo.modaltrans.com
GET
/api/v1/servicelogs
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
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/servicelogs?page='
Responses
🟢200OK
application/json
Body
Service logs for vehicles
array of:
uuid
string <uuid>
required
notes
string
required
damage_type
enum<string>
required
Allowed values:
Tire BreakdownEngine FailureElectronic FailureOther Failure
vehicle_code
string
required
service_date
string <date>
required
Example
[
{
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"notes": "string",
"damage_type": "Tire Breakdown",
"vehicle_code": "string",
"service_date": "2019-08-24"
}
]
🟠400Bad Request
🟠403Forbidden
🟠404Record Not Found
Modified at 2024-08-26 07:48:19