GET https://api.zoined.com/v2/download/workShifts.json?limit=1000&offset=0&start=2017-01-01&end=2017-01-31
Security
bearerAuth
- Mock serverhttps://zapi-api.zoined.com/_mock/v2/download/workShifts.json
- https://api.zoined.comhttps://api.zoined.com/v2/download/workShifts.json
curl -i -X GET \
'https://zapi-api.zoined.com/_mock/v2/download/workShifts.json?limit=1000&offset=0&start=2017-01-01&end=2017-01-31' \
-H 'Authorization: Bearer <YOUR_token_HERE>'Request has been processed successfully.
Headers
Content-Type: application/json
Identifier of sales person / employee working. Required for punched shifts
Example:"345"
Type of the shift. Freeform, will be available as dimension in portal.
Example:"Chef"
Whether this shift is calculated in active work time, default is true
Example:true
Currency for the purchase price as ISO 4217 currency code. Required if multiple currencies are used.
Example:"EUR"
Response
{ "organisation_id": "234", "department_id": "5401", "salesperson_id": "345", "shift_id": "123", "start_date": "2016-01-01", "start_time": "15:00:00", "duration": 8.15, "shift_type": "Chef", "salary_type": "Evening compensation", "staff_cost": 500, "breaks_duration": 0.5, "breaks_cost": 40, "overtime_duration": 2, "overtime_cost": 120, "absence_code": "BREAK", "productive": true, "active_work_time": true, "scheduled": false, "currency": "EUR", "custom_field_1": "XYZ", "custom_field_2": "XYZ", "custom_field_3": "XYZ", "custom_field_4": "XYZ", "custom_field_5": "XYZ", "custom_metric_1": 1, "custom_metric_2": 100, "custom_metric_3": 2.2, "custom_metric_4": 1.05, "custom_metric_5": 10000 }