PO Attachments

PO Attachments

Retrieve and manage purchase order attachments.

FieldData TypePOSTPATCH
POIDStringXX
ReleaseIDInt32XX
FileNameStringXX
DescriptionStringXX
AttachmentTypeStringXX
FileDataBinaryXX
FileLinkStringXX
FileSizeInt32
HttpLinkStringXX
CreatedByString
DateCreatedDateTimeOffset
EditedByString
DateEditedDateTimeOffset

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

  • AttachmentType allowed values: File, FileLink, HttpLink
  • FileData is required when AttachmentType = File
  • FileLink is required when AttachmentType = FileLink
  • HttpLink is required when AttachmentType = HttpLink