Upload a supporting document

Uploads or replaces a supporting document for a specific BOP requirement slot on an order. Idempotent — re-uploading replaces the previous file and resets the document status to uploaded. Max file size: 50 MB. Allowed MIME types: image/png, image/jpeg, application/pdf.

Authentication

AuthorizationBearer
Token obtained via the login flow.

Path parameters

orderIdstringRequired
docIdstringRequired

Request

This endpoint expects a multipart form containing a file.
filefileRequired

The file to upload (PNG, JPEG, or PDF; max 50 MB).

Response

Document uploaded successfully.
idstring
orderIdstring
labelstring

Human-readable document label from the BOP document requirement.

requiredboolean
Whether this document is mandatory for this BOP category.
statusenum
Current upload and review status of this document slot.
originalFilenamestring or null
contentTypestring or null
fileSizeByteslong or null
uploadedAtdatetime or null

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error