Job Management
Get Job
Retrieve details of a specific job by its ID.
GET/api/v1/workspace/jobs/{jobId}
Example
Request
curl -X GET \
"https://live.fleetwork.vn/api/v1/workspace/jobs/3fa85f64-5717-4562-b3fc-2c963f66afa6" \
-H "API-KEY: <your-key>"Response
{
"code": "OK",
"message": null,
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"accountId": "a1b2c3d4-0000-0000-0000-000000000000",
"jobName": "Delivery Batch #42",
"jobDescription": "Morning delivery run",
"refNo": "JB-2026-0042",
"status": 2,
"jobType": 1,
"metaData": null,
"createdDt": 1713139200000,
"modifiedDt": 1713225600000,
"tasks": [
{
"id": "a1b2c3d4-5717-4562-b3fc-2c963f66afa6",
"taskName": "Deliver to Customer A",
"taskType": 1,
"priority": 1,
"status": 4,
"contactName": "Ms. Lan",
"contactPhone": "+84907654321",
"place": {
"id": "b2c3d4e5-5717-4562-b3fc-2c963f66afa6",
"name": "Customer A Location",
"address": "123 Le Loi, D1",
"lat": 10.7731,
"lng": 106.703
},
"checkInDt": 1713225000000,
"checkOutDt": 1713225600000,
"createdDt": 1713139200000
}
]
}
}