Request the carrier company to grant you with the token. The given token should be included in the 'Authorization' header for each request. Full control over the token management is done by the carrier company.
Description: Returns current information of the company vehicles.
| Name | Type | Mandatory | Default value |
|---|---|---|---|
| page | Integer | No | 0 |
| size | Integer | No | 10 |
curl -X 'GET' 'https://api.1s-eastwest-eld.com/logger/integrations/access/vehicles?page=0&limit=10' -H 'accept: */*' -H 'Authorization: Bearer {token}''
{
"result": {
"code": "success",
"message": "success"
},
"records": [...],
"pagination": {
"total_count": "total number of entries",
"previous": "prior page index | null",
"following": "next page index | null",
"active": "active page index"
}
}
Note: `pageable` is present only if response HTTP status is 200
{
"result": {
"code": "success",
"message": "success"
},
"records": [
{
"truck": {
"truck_id": 1386,
"brand": "TT",
"type": "TT",
"truck_vin_number": "1G6KF5790YU309404",
"fleet_number": "11"
},
"operator_info": {
"operator_id": 1231,
"operator_name": "John H"
},
"position": {
"truck_coordinates": {
"truck_lat": 42.71968318087507,
"truck_lng": -114.54129318087507
},
"adjacent_coordinates": {
"adjacent_lat": 42.7247,
"adjacent_lng": -114.518
},
"radius": 1.51,
"region": "ID",
"town": "Jerome",
"timestamp": "2026-02-06T12:13:44",
"heading": "sw"
},
"dot_number": "123456",
"fuel_level": null,
"def_level": null
},
],
"pagination": {
"total_count": 2,
"previous": null,
"following": 1,
"active": 0
}
}
{
"result": {
"code": "restricted",
"message": "restricted"
},
"records": null
}
{
"result": {
"code": "invalid_token",
"message": "Invalid token"
},
"records": null
}
Description: Returns current information of the company vehicle by unit number.
curl -X 'GET' 'https://api.1s-eastwest-eld.com.net/logger/integrations/access/vehicles/{id}' -H 'accept: */*' -H 'Authorization: Bearer {token}'
{
"result": {
"code": "success",
"message": "success"
},
"record": {
"truck": {
"truck_id": 1386,
"brand": "TT",
"type": "TT",
"truck_vin_number": "1G6KF5790YU309404",
"fleet_number": "11"
},
"operator_info": {
"operator_id": 1231,
"operator_name": "John H"
},
"position": {
"truck_coordinates": {
"truck_lat": 42.71968318087507,
"truck_lng": -114.54129318087507
},
"adjacent_coordinates": {
"adjacent_lat": 42.7247,
"adjacent_lng": -114.518
},
"radius": 1.51,
"region": "ID",
"town": "Jerome",
"timestamp": "2026-02-06T12:13:44",
"heading": "sw"
},
"dot_number": "123456",
"fuel_level": null,
"def_level": null
}
}