v1

latestOpenAPI 3.0.12026-07-245752052.0 MB
timesheets

Returns exported headers, rows, filename for timesheets. Specify target timesheets by uuid or by filter

post/api/serviceattendance/processes/timesheets/export

Request body

timesheetUuidsstring[]

Example request

{
  "filter": {
    "limit": 10,
    "order": [
      "prop DESC"
    ]
  }
}

Response

Exported timesheets

Example response

{
  "data": {
    "filename": "exported-timesheets.csv"
  },
  "meta": {
    "timestamp": "2021-05-05T09:47:58.924Z",
    "verb": "GET",
    "path": "/api/structure/resources/5949cf7c-fec6-4b31-947c-3aceabff58c5",
    "jti": "%cQN3RIGp",
    "rid": "$2d2zkHZ5",
    "count": 1,
    "status": "200",
    "duration": 17,
    "size": 1234
  }
}