v1

latestOpenAPI 3.0.0Proprietary2026-08-06130577659.7 KB
Cost control|Cost Booking

Create an export for cost bookings.

This endpoint allows you to create an export for cost booking data. You will receive a job id which will be used to collect the exported data after the job has finished.

post/cost_booking/createExport

Request body

formatstring

The export format.

ValueDescription
CSVSimple csv file
DATAFLORDataflor xml format
CATEGORY_GROUPED_CSVGrouped csv file
PDFGrouped pdf file
BRZ_TIME_SHEETSBRZ csv file
SBSSBS xml file
mark_as_exportedboolean

Whether the exported cost booking should be marked as exported or not. Default value is true.

Example request

{
  "filter": {
    "from": "2015-02-20",
    "to": "2015-02-20"
  }
}

Response

Success Response:

jobIdinteger

The id of the cost export job. (The status of the job can be queried via the job API)

Example response

{
  "data": {
    "filter": {
      "from": "2015-02-20",
      "to": "2015-02-20"
    },
    "createdAt": "2015-02-20T12:59:21+01:00"
  }
}