FleetWorkAPI Docs
Dashboard

Places by Date

Get a paginated list of task destination places with coordinates and status.

GET/api/v1/workspace/dashboard/places-by-date

Query Parameters

ParameterRequiredTypeDescription
fromTimeRequiredlongStart of date range (Unix ms)
toTimeRequiredlongEnd of date range (Unix ms)
pageSizeOptionalintPage size (default: 10)
pageNumberOptionalintPage number (default: 1)

Example

Request

curl -X GET \
  "https://live.fleetwork.vn/api/v1/workspace/dashboard/places-by-date?fromTime=1713139200000&toTime=1713225600000&pageSize=20" \
  -H "API-KEY: <your-key>"

Response

{
  "code": "OK",
  "message": null,
  "data": [
    {
      "id": "t1a2b3c4-d5e6-7f8a-9b0c-d1e2f3a4b5c6",
      "status": 4,
      "jobName": "Delivery Batch #1234",
      "address": "123 Nguyễn Huệ, Q.1, TP.HCM",
      "lat": 10.7769,
      "lng": 106.7009
    },
    {
      "id": "t2b3c4d5-e6f7-8a9b-0c1d-e2f3a4b5c6d7",
      "status": 2,
      "jobName": "Delivery Batch #1234",
      "address": "456 Lê Lợi, Q.1, TP.HCM",
      "lat": 10.7735,
      "lng": 106.6981
    }
  ]
}

On this page