jobtypes_getlist
Retrieve a filtered list of job types from the ServiceTitan API by specifying criteria such as creation/modification dates, IDs, duration, priority, and more to streamline job management.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
active | No | What kind of items should be returned (only active items will be returned by default)\ Values: [True, Any, False] | |
createdBefore | No | Format - date-time (as date-time in RFC3339). Return items created before certain date/time (in UTC) | |
createdOnOrAfter | No | Format - date-time (as date-time in RFC3339). Return items created on or after certain date/time (in UTC) | |
externalDataApplicationGuid | No | Format - guid. If this guid is provided, external data corresponding to this application guid will be returned. | |
ids | No | Perform lookup by multiple IDs (maximum 50) | |
includeTotal | No | Whether total count should be returned | |
maxDuration | No | Format - int32. Maximum length of time for this job type (in seconds) | |
minDuration | No | Format - int32. Minimum length of time for this job type (in seconds) | |
modifiedBefore | No | Format - date-time (as date-time in RFC3339). Return items modified before certain date/time (in UTC) | |
modifiedOnOrAfter | No | Format - date-time (as date-time in RFC3339). Return items modified on or after certain date/time (in UTC) | |
name | No | Filters by job type name | |
orderBy | No | Orders results by a field. Supported fields are "id", "modifiedOn", and "createdOn" | |
orderByDirection | No | Specifies order direction of results. Supported values are "asc"/"ascending" and "desc"/"descending" | |
page | No | Format - int32. The logical number of page to return, starting from 1 | |
pageSize | No | Format - int32. How many records to return (50 by default) | |
priority | No | Level of urgency for this type of job | |
tenant | Yes | Format - int64. Tenant ID |