JobTypes
Create a new Job Type
Changed onCreates a new Job Type and returns the created Job Type object.
post/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.
Headers
Authorizationstring required
Example:Bearer <token>
Bearer Token
Request body
Example request
{
"name": "Some type",
"avgDuration": 60,
"displayOrder": 1,
"applyToSubAccounts": true
}Response
The created Job Type.
Example response
{
"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 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