Add Attachment
Add an attachment to the work order. Work order must be in the DRAFT
state. One attachment can be added per request. Attachments can be IMAGE
, FILE
, or TEXT
(corresponding to the same data types in Serial).
Authorizations
API Key or Token formatted as Bearer <YOUR_KEY_OR_TOKEN>
Headers
Should be multipart form data
Path Parameters
The work order UUID (work_order.id
) or work order number (work_order.wo_number
). Both will map to the same work order
Body
The request body is multipart form data and must include a JSON metadata object named metadata
as well as optionally an image or file (of any format) named attachment
if metadata.type
is set to IMAGE
or FILE
. The example body shown here is that only of the metadata
. The file binary would need to be attached sperately.
The body is of type object
.
Response
OK
Work Order Data