Skip to main content

ListJobsQueryParamsModel

JobApi.list_jobs query parameters.

Breaking Changes

No breaking changes.

Examples

Fill this template out with real values.

{
"completed": "Boolean, optional",
"completed_by": "Integer, optional",
"completed_by_driver": "Boolean, optional",
"created_on_gte": "String, optional",
"deleted": "Boolean, optional",
"driver_id": "String, optional",
"failed": "Boolean, optional",
"is_dispatched": "Boolean, optional",
"last_updated_gte": "String, optional",
"page_index": "Integer, optional",
"page_limit": "Integer, optional",
"returned_by": "Integer, optional",
"returned_by_driver": "Boolean, optional",
"schedule_gt": "String, optional",
"schedule_gte": "String, optional",
"schedule_lt": "String, optional",
"schedule_lte": "String, optional",
"truck_id": "Integer, optional"
}

Fields

completed Boolean, Optional

If true, return only records marked completed. If false, return only records marked incomplete. If unspecified, return all.

  • One of 0, 1, True, False (case insensitive).

completed_by Integer, Optional

Driver or dispatcher identifier.


completed_by_driver Boolean, Optional

If true, return only records marked completed by a driver. If false, return only records marked incomplete. If unspecified, return all.

  • One of 0, 1, True, False (case insensitive).

created_on_gte String, Optional

Return records created on or after the specified date. If unspecified, return all.

  • Date occurring in the past in an ISO 8601 compatible format.

deleted Boolean, Optional

If true, return only active records. If false, return only inactive records. If unspecified, return all.

  • One of 0, 1, True, False (case insensitive).

driver_id String, Optional

If specified, return only records matching this driver. If unspecified, return all.


failed Boolean, Optional

If true, return only records marked deleted. If false, return only records marked as deleted. If unspecified, return all.

  • One of 0, 1, True, False (case insensitive).

is_dispatched Boolean, Optional

Filter jobs based on dispatch status. If true, records with a valid truck_id (dispatched) are returned. If false, records with no truck_id (not dispatched) are returned. If null, all records are returned.

  • One of 0, 1, True, False (case insensitive).

last_updated_gte String, Optional

Return only records updated after (must be in past). If unspecified, return all.

  • Date occurring in the past in an ISO 8601 compatible format.

page_index Integer, Optional

Paged results page index (starting from 1).

  • Less than or equal to 10000.
  • Greater than or equal to 1.

page_limit Integer, Optional

Maximun number of results per page.

  • Less than or equal to 1000.
  • Greater than or equal to 1.

returned_by Integer, Optional

Driver or dispatcher identifier.


returned_by_driver Boolean, Optional

Return only records returned by driver when TRUE.

  • One of 0, 1, True, False (case insensitive).

schedule_gt String, Optional

Return only jobs scheduled after (must be in past). If unspecified, return all.

  • Date occurring in the past in an ISO 8601 compatible format.

schedule_gte String, Optional

Return only jobs scheduled on or after (must be in past). If unspecified, return all.

  • Date occurring in the past in an ISO 8601 compatible format.

schedule_lt String, Optional

Return only jobs scheduled before.

  • Date in an ISO 8601 compatible format.

schedule_lte String, Optional

Return only jobs scheduled on or before.

  • Date in an ISO 8601 compatible format.

truck_id Integer, Optional

If specified, return only records matching this truck. If unspecified, return all.