PO Attachments
Retrieve and manage purchase order attachments.
| Field | Data Type | POST | PATCH |
|---|---|---|---|
| POID | String | X | X |
| ReleaseID | Int32 | X | X |
| FileName | String | X | X |
| Description | String | X | X |
| AttachmentType | String | X | X |
| FileData | Binary | X | X |
| FileLink | String | X | X |
| FileSize | Int32 | ||
| HttpLink | String | X | X |
| CreatedBy | String | ||
| DateCreated | DateTimeOffset | ||
| EditedBy | String | ||
| DateEdited | DateTimeOffset |
Key: POID, ReleaseID, FileName
Endpoints
GET
URL: https://{site}.mvpplant.com/ODataApi/v1/POAttachments
Description: Retrieve purchase order attachments.
POST
URL: https://{site}.mvpplant.com/ODataApi/v1/POAttachments
Description: Create a purchase order attachment.
Body: Send the property values marked in the POST column.
PATCH
URL: https://{site}.mvpplant.com/ODataApi/v1/POAttachments(POID='poID',ReleaseID=releaseID,FileName='fileName')
Description: Update an existing purchase order attachment.
Body: Send only the property values you want to update from the PATCH column.
Notes
AttachmentTypeallowed values:File,FileLink,HttpLinkFileDatais required whenAttachmentType = FileFileLinkis required whenAttachmentType = FileLinkHttpLinkis required whenAttachmentType = HttpLink
