JobTypes
Retrieve a list of Job Types
Changed onRetrieves a paginated list of Job Types.
get/v2/jobtypes
Request
- Base URLhttps://api.workiz.com/crm/api
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageSizenumber
Example:10
Number of records to return per page.
pagenumber
Example:1
The page index.
disabledboolean
Filter by disabled state. When true, returns only disabled job types; when false, returns only enabled job types.
Headers
Authorizationstring required
Example:Bearer <token>
Bearer Token
Response
A paginated list of Job Types.
Example response
{
"pageSize": 10,
"page": 1,
"totalResults": 50,
"hasMore": true,
"data": [
{
"id": "JT-8718036049ec4c4d",
"name": "Cleaning",
"avgDuration": 60,
"displayOrder": 1
}
]
}Changes
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
added the new optional
queryrequest parameterdisabled - info
added the non-success response with the status
- info