Get Timesheet By Generic Filter
Changed onpost/timesheets/filter
Request
- Base URLhttps://dc-region.zuperpro.com/api
- URLhttps://dc-region.zuperpro.com/api/timesheets/filter
- AuthAPI key in header x-api-key
Query parameters
limitinteger required
pageinteger required
sort_by''checked_time'' | ''created_at'' | ''updated_at'' required
sort''DESC'' | ''ASC'' required
Request body
Response
200
Example response
{
"type": "success",
"data": [
{
"employee_timesheet_uid": "c7fccc35-4726-4c9b-a42e-4163f0a97b15",
"type_of_check": "CHECK_IN",
"latitude": 12.9895,
"longitude": 77.7281,
"checked_time": "2024-09-19T03:30:00.000Z",
"created_at": "2024-09-19T09:50:08.000Z",
"location": {
"location_uid": "f6e0ec91-2d5a-4fbf-b5b4-a77f6babde1c",
"location_name": "test",
"radius": "21",
"address": "nexus",
"latitude": "12.989536",
"longitude": "77.7281015"
}
}
],
"total_records": 5,
"total_pages": 1,
"current_page": 1
}Changes
- info
endpoint added
- info