Update Meter Trigger's Work Order Template
Changed onRequest
- Base URLhttps://api.getmaintainx.com/v1
- AuthHTTP bearer
Path parameters
ID of the work order template
Query parameters
Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
Request body
Example request
{
"data": {
"assigneeIds": [
1
],
"description": "A work order sample description",
"partsUsed": [
{
"partId": 963,
"quantityUsed": 120,
"locationId": 852
}
],
"priority": "MEDIUM",
"procedure": {
"id": 1234,
"title": "Control dashboard audit",
"fields": [
{
"label": "Metal Parts: broken, loose, dented, rusty, missing",
"type": "INSPECTION_CHECK",
"choices": [
"Partially"
],
"urls": [
{
"label": "MaintainX Website",
"link": "www.getmaintainx.com"
}
],
"meterId": 1,
"index": 1
}
]
},
"tagsIds": [
1
],
"teamIds": [
1
],
"vendorIds": [
1
]
}
}Response
Successfully edited the procedure template
Changes
- breaking
removed the media type
application/octet-streamfrom the request body - warning
removed the request property
//// - 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
added the new optional request property
//// - info
added the new optional request property
//// - info
added the new optional request property
//// - info
request property
//deprecated - info
request property
/deprecated - info
added the new
CYCLE_COUNTenum value to the request property//// - info
added the new
UNSUPPORTEDenum value to the request property////
- breaking