Reject batch of timesheets

POST /api-v1/timesheet/batch/reject

Returns the ids of timesheets that have been rejected

Headers

Body Required

ids

array[integer] array[integer]

Responses

POST /api-v1/timesheet/batch/reject
curl \
 -X POST http://wyzio.app/api-v1/timesheet/batch/reject \
 -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
]