WO Attachments
Retrieve and manage work order attachments.
| Field | Data Type | POST | PATCH |
|---|---|---|---|
| WOID | String | X | X |
| FileName | String | X | X |
| Description | String | X | X |
| FileData | Binary | X | X |
| FileSize | Int32 | ||
| FileLink | String | X | X |
| HttpLink | String | X | X |
| AttachmentType | String | X | X |
Key: WOID
Required property: WOID
Endpoints
GET
URL: https://{site}.mvpplant.com/ODataApi/v1/WOAttachments
Description: Retrieve work order attachments.
POST
URL: https://{site}.mvpplant.com/ODataApi/v1/WOAttachments
Description: Create a work order attachment.
Body: Send the property values marked in the POST column.
PATCH
URL: https://{site}.mvpplant.com/ODataApi/v1/WOAttachments
Description: Update an existing work order attachment.
Body: Send only the property values you want to update from the PATCH column.
Notes
AttachmentTypeallowed values:File,FileLink,HttpLink- Attachments can be created, retrieved, and updated for both Work Orders (WOID) and Work Requests (WRID). When the attachment is associated with a Work Request, provide the corresponding WRID in place of WOID while still using WOID as the Field ID.
