Skip to main content

Index Fleet Task Instant

GET 

/fleet-task-instant

Get the list of Fleet Task Instant

Description

A fleet task instant is a task that is assigned to a driver and vehicle to visit a list of planned locations.

Querying Fleet Task Instants

You can query fleet task instants using the following parameters:

Available Filter

Field NameValue Type
idstring
vehicle.idnumber
driver_user.idnumber
status.namestring
expected_started_ondate
actual_started_ondate
actual_arrival_ondate
created_ondate

Available Sort

Field Name
number
vehicle.license_plate
vehicle.type_name
driver_user.name
driver_user.phone
status
expected_started_on
actual_started_on
estimated_arrival_on
actual_arrival_on
created_on
updated_on
Field Name
number
vehicle_license_plate
vehicle_type_name
driver_user_name
driver_user_phone
contact_phone_number

Example Filter

Value TypeExample
stringFO-0001, "dbffb68c-f5ab-4ec4-83fd-91ca6bc1d1df"
date2010-02-02T20:23:05+07:00
float90.345
Operator TypeDescription
gteGreater Than or Equal
gtGreater Than
lteLower Than or Equal
ltLower Than
eqEqual
inIn

Filter with Format

{Field Name} {Operator} {Value}

Example :

  • To Filter single value, with quote

status.name eq 'STARTED'

  • To Filter with multiplies values, values is separated by space ('value1' 'value 2' 'value 3')

status.name in ('STARTED' 'ENDED')

When using the query param Search, it only searches the Available Search Field Name

Example Sort

Sort Format with Value is asc | desc.

{Field Name} {Value}

Example :

  • To sorting by the latest order.

created_on asc

  • To sorting by the oldest order.

created_on desc

Request

Responses

OK