Approve batch of timesheets

POST /api-v1/timesheet/batch/approve

Returns the ids of timesheets that have been approved

Headers

Body Required

ids

array[integer] array[integer]

Responses

POST /api-v1/timesheet/batch/approve
curl \
 -X POST http://wyzio.app/api-v1/timesheet/batch/approve \
 -H "TARGET-ORGANIZATION-ID: 42" \
 -H "WEAL-TOKEN: string" \
 -d '[42]'
Request example
# Headers
TARGET-ORGANIZATION-ID: 42
WEAL-TOKEN: string

# Payload
[
  42
]
Response examples (200)
[
  42
]