Saltar al contenido principal
POST
/
v1
/
planning
/
purchaseOrders
/
{orderReference}
/
files
Upload a new file attached to the purchase order
curl --request POST \
  --url https://api.bold-factory.com/v1/planning/purchaseOrders/{orderReference}/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form formFile='@example-file'
{
  "id": "<string>",
  "fileName": "<string>",
  "tags": [
    "<string>"
  ],
  "readOnlyUri": "<string>",
  "contentType": "<string>",
  "systemManaged": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "createdBy": "<string>",
  "lastModifiedAt": "2023-11-07T05:31:56Z",
  "lastModifiedBy": "<string>"
}

Autorizaciones

Authorization
string
header
requerido

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Parámetros de ruta

orderReference
string
requerido

Cuerpo

multipart/form-data
formFile
file

Respuesta

Created

id
string
requerido
fileName
string
requerido
tags
string[]
requerido
readOnlyUri
string<uri>
requerido
contentType
string
requerido
systemManaged
boolean
requerido
createdAt
string<date-time>
requerido
createdBy
string
requerido
lastModifiedAt
string<date-time>
requerido
lastModifiedBy
string
requerido