Error
A valid request URL is required to generate request examples{
"id": 123,
"filename": "<string>",
"content_type": "application/pdf",
"byte_size": 123,
"url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_id": 123,
"deleted_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}ProcurementAttachment
Copy a file onto a purchase order
Copies one of the order’s related documents (related_documents) onto it as its own file, with no link to the original. The rules of an upload apply, and on an issued order it writes a new revision.
POST
/
purchase_orders
/
{purchase_order_id}
/
attachments
/
copy
Error
A valid request URL is required to generate request examples{
"id": 123,
"filename": "<string>",
"content_type": "application/pdf",
"byte_size": 123,
"url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by_id": 123,
"deleted_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}Body
application/json
Response
Created
A file attached to a procurement document (purchase order, supplier invoice, goods receipt or inspection), a project or a baseline row.