Skip to main content

Tasks General Report

Individual task records with status timeline and assignment details.

GET/apidev/v1/reports/gt/tasks-general
PermissionAPICLI_RPTGT_TAREAS
Rate Limit10 req/min
Cache300s
Max Range31 days

Request

Query Parameters

ParameterTypeRequiredDefaultDescription
startdatestringYesISO 8601 start date-time (e.g. 2026-03-01T00:00:00).
enddatestringYesISO 8601 end date-time. Max range 31 days from startdate.
devicesstringNoComma-separated device IDs. Max 500.
driversstringNoComma-separated driver IDs. Max 500.
statusesstringNoComma-separated status codes. Max 50.
service_type_idstringNoSingle service type ID.
cause_idstringNoSingle cause ID.
date_typeenumNocreatedDate field to filter by: created, scheduled, finished.
limitintegerNo25Number of records per page (1100).
offsetintegerNo0Number of records to skip for pagination.

Code Examples

curl -s -H "Authorization: Bearer $TOKEN" \
-H "X-API-Key: $APIKEY" \
-H "tenant: $TENANT" \
"https://$TENANT/apidev/v1/reports/gt/tasks-general?startdate=2026-03-01T00:00:00&enddate=2026-03-15T23:59:59&date_type=created&limit=25"

Response

Response Fields

FieldTypeDescription
task_idstring | nullTask identifier.
created_atstring | nullTask creation timestamp.
scheduled_atstring | nullScheduled timestamp.
accepted_atstring | nullAccepted timestamp.
started_atstring | nullStarted timestamp.
finished_atstring | nullFinished timestamp.
device_namestringAssigned vehicle.
driver_namestringAssigned driver.
statusesarrayStatus history entries.

Example Response

{
"success": true,
"data": [
{
"task_id": "104820580001",
"created_at": "2026-03-05T08:15:00",
"scheduled_at": "2026-03-05T09:00:00",
"accepted_at": "2026-03-05T08:22:00",
"started_at": "2026-03-05T09:05:00",
"finished_at": "2026-03-05T10:30:00",
"device_name": "Truck A-101",
"driver_name": "Carlos Martinez",
"statuses": [
{"status": "ASI", "datetime": "2026-03-05T08:15:00"},
{"status": "ACE", "datetime": "2026-03-05T08:22:00"},
{"status": "FIN", "datetime": "2026-03-05T10:30:00"}
]
}
],
"meta": {
"total": 1,
"limit": 25,
"offset": 0
}
}

Errors

CodeHTTPDescription
BAD_REQUEST400Missing required headers.
VALIDATION_ERROR400Invalid params: missing dates, range > 31 days, invalid enum values.
UNAUTHORIZED401Invalid or expired JWT / API Key.
FORBIDDEN403User lacks required permission.
RATE_LIMITED429Exceeded 10 req/min.
INTERNAL_ERROR500Unexpected server error.