Job Management
Get Jobs
This endpoint retrieves jobs.
POST
Request
string
Set this if you want to retrieve a specific job.
array
Use this field to retrieve multiple specific jobs.
number
day is optional and defaults to today. To retrieve jobs with no date assigned, set day:0.
To specifically ignore the day field, set day:-1.string
To retrieve jobs that are not assigned to a worker, set
worker:"". To request jobs assigned to any worker, set worker:"+". To request all jobs, assigned and unassigned, for a specific date, set worker:"*".number
team is an optional filter to only request jobs for a specific team.number
Optional filter to request a specific job.
array
Optional filter to request multiple specific jobs.
number
default:0
progressSuccess is an optional filter to only retrieve jobs that are marked as successfully completed. For this, set the value to 1, else set it either to 0 or do not set the field at all.number
default:0
progressActive is an optional filter to only retrieve jobs that are not marked as completed (neither success nor issue). For this, set the value to 1, else set it either to 0 or do not set the field at all.number
default:0
Set to
1 to include archived jobs in the results. Defaults to 0 (exclude archived jobs).boolean
default:false
If set to
true, returns jobs in compact format (less verbose response). Defaults to false for legacy requests.object
Optional sorting and pagination configuration object with the following properties:
field(string): Field name to sort by (e.g., “tsCreated”, “priority”, “number”)ascending(boolean): Sort direction - true for ascending, false for descendinglimit(number): Maximum number of jobs to returnskip(number): Number of jobs to skip (for pagination)from(long): Filter jobs from this timestamp (milliseconds)until(long): Filter jobs until this timestamp (milliseconds)status(number): Optional status filter (-1 for all)
sort is provided, the day parameter defaults to undefined (all days) unless explicitly specified.