Skip to main content
GET
/
v1
/
api
/
tracking
/
{bookingId}
/
history
Get location history
curl --request GET \
  --url http://localhost:3091/v1/api/tracking/{bookingId}/history \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "bookingId": 123,
    "carrierId": 123,
    "latitude": 123,
    "longitude": 123,
    "accuracy": 123,
    "status": "<string>",
    "createdAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Path Parameters

bookingId
integer<int32>
required

Response

Location history retrieved successfully

id
integer<int64>
bookingId
integer<int32>
carrierId
integer<int32>
latitude
number<double>
longitude
number<double>
accuracy
number<double>
status
string
createdAt
string<date-time>