latestSwagger 2.02026-08-08454367651.1 KB

bd42075f6b02

ResourceOwnerWorkOrder

Update or create one or many work orders

For work orders, items, attachments and notes with an id is updated. When id is not provided new objects is created. If an item, attachment or note is missing on an existing work order that item, attachment or note is removed.

put/v1/resourceowner/workorders

Request body

JobDatestring date-time
EstimatedTimeInMinutesinteger
JobDescriptionstring
ExternalIdstring
CustomerContactNamestring
CustomerEmailstring
CustomerNamestring
CustomerCommunicationLanguageISO639_2string
CustomerPhoneNumberstring
NotificationType0 | 1 | 2 | 3
WorkOrderCategoryIdinteger
CategoryNamestring
AssignedToContactIdinteger
QuoteIdinteger
WorkOrderCustomerIdinteger
Status0 | 1 | 2 | 3 | 4 | 5 | 6
WorkOrderIdinteger

Response

Successful update

JobDatestring date-time
EstimatedTimeInMinutesinteger
JobDescriptionstring
ExternalIdstring
CustomerContactNamestring
CustomerEmailstring
CustomerNamestring
CustomerCommunicationLanguageISO639_2string
CustomerPhoneNumberstring
NotificationType0 | 1 | 2 | 3
WorkOrderCategoryIdinteger
CategoryNamestring
AssignedToContactIdinteger
QuoteIdinteger
WorkOrderCustomerIdinteger
Status0 | 1 | 2 | 3 | 4 | 5 | 6
WorkOrderIdinteger
Createdstring date-time
IsDeletedboolean
Ratingnumber double
RequestedByContactIdinteger