Work Requests
Create work request
Changed onpost/workrequests
Request
- Base URLhttps://api.getmaintainx.com/v1
- AuthHTTP bearer
Query parameters
skipWebhookboolean
Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
Headers
x-organization-idinteger
Required if using a multi organizations token
Request body
Example request
{
"description": "A forklift that needs to be reviewed for any potential problems",
"priority": "MEDIUM",
"title": "Forklift Preventive Maintenance Form",
"assetId": 843,
"locationId": 852,
"extraFields": {
"Request Type": "Water Leak"
},
"approverTeamId": 254,
"creatorContactInfo": "james@example.com",
"externalId": "ext-workrequest-001"
}Response
Successfully created work request
Example response
{
"id": 963
}Changes
- info
added the new optional request property
- info
added the non-success response with the status
- info
- breaking
removed the media type
application/octet-streamfrom the request body - info
added the new optional
headerrequest parameterx-organization-id - info
added the new optional
queryrequest parameterskipWebhook - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable
- breaking