Export shifts
GET
/api/timesheets/export
shifts
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/timesheets/export?type&startDate&endDate&forward'
Response Response Example
200 - Example 1
{
"message": "Data exported successfully."
}
Request
Query Params
type
string
required
Example:
csv
startDate
string <date>
required
Example:
2023-10-27
endDate
string <date>
required
Example:
2023-10-28
employees
array[string]
optional
Example:
["emp_001","emp_002"]
locations
array[string]
optional
Example:
["loc_001","loc_002"]
roles
array[string]
optional
Example:
["role_001","role_002"]
forward
boolean
required
Example:
false