Approve batch of timesheets
Returns the ids of timesheets that have been approved
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
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 examples
# Headers
TARGET-ORGANIZATION-ID: 42
WEAL-TOKEN: string
# Payload
[
42
]
Response examples (200)
[
42
]