Error
A valid request URL is required to generate request examples{
"projects": [
{
"id": 123,
"name": "<string>",
"files": [
{
"document_type": "project_document",
"document_id": 123,
"filename": "<string>",
"content_type": "<string>",
"url": "<string>",
"byte_size": 123
}
]
}
],
"items": [
{
"baseline_item_id": 123,
"project_id": 123,
"identifier": "<string>",
"name": "<string>",
"files": [
{
"document_type": "project_document",
"document_id": 123,
"filename": "<string>",
"content_type": "<string>",
"url": "<string>",
"byte_size": 123
}
],
"project_item_documents": [
{
"column_slug": "<string>",
"column_name": "<string>",
"files": [
{
"document_type": "project_document",
"document_id": 123,
"filename": "<string>",
"content_type": "<string>",
"url": "<string>",
"byte_size": 123
}
]
}
]
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}ProcurementAttachment
Files that can be copied onto a purchase order
The documents of the projects the order’s lines belong to, and per line’s baseline row its own documents and its spec item’s docs-column files. Needs purchase_orders_manage.
GET
/
purchase_orders
/
{purchase_order_id}
/
related_documents
Error
A valid request URL is required to generate request examples{
"projects": [
{
"id": 123,
"name": "<string>",
"files": [
{
"document_type": "project_document",
"document_id": 123,
"filename": "<string>",
"content_type": "<string>",
"url": "<string>",
"byte_size": 123
}
]
}
],
"items": [
{
"baseline_item_id": 123,
"project_id": 123,
"identifier": "<string>",
"name": "<string>",
"files": [
{
"document_type": "project_document",
"document_id": 123,
"filename": "<string>",
"content_type": "<string>",
"url": "<string>",
"byte_size": 123
}
],
"project_item_documents": [
{
"column_slug": "<string>",
"column_name": "<string>",
"files": [
{
"document_type": "project_document",
"document_id": 123,
"filename": "<string>",
"content_type": "<string>",
"url": "<string>",
"byte_size": 123
}
]
}
]
}
]
}{
"error": "<string>",
"errors": [
{
"message": "<string>",
"field": "<string>",
"code": "<string>"
}
]
}Response
OK
What can be copied onto a purchase order or supplier invoice — only sources of its own lines.