v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
ServiceOrder

Attach file to service order V3

This endpoint requires the following scopes: serviceOrder:update.

Attach a file to a service order.

post/api/v3/serviceOrders/{id}/files

Path parameters

idstring required

Request body

titlestring

Title of the file

descriptionstring

Description of the file

keyword'otherFile' | 'coverPage' | 'attachment' | 'eInvoice' | 'receipt' | 'paymentReceipt' required

Document keyword/type

fileNamestring required

Name of the file

fileContentstring required

Base64 encoded file content

Example request

{
  "title": "Supporting document",
  "description": "Additional documentation",
  "keyword": "otherFile",
  "fileName": "document.txt",
  "fileContent": "c2FtcGxlIGNvbnRlbnQ="
}

Response

Attach a file to a service order.

Example response

{
  "data": {
    "id": 123
  }
}