Allows you to upload worked hours for specific time. This is interesting when combined with number of visitors or receipts - are the sales people working during the busiest times?
This endpoint is intended to be used when you have aggregate level information per minute/hour/day. If your data is consists of workshifts, you should use Workshifts endpoint.
POST https://api.zoined.com/employeeHours?dryRun=false&separator=%3B&encoding=utf-8
Security
bearerAuth
Any of:
Currency for the purchase price as ISO 4217 currency code. Required if multiple currencies are used.
Example:"EUR"
- Mock serverhttps://zapi-api.zoined.com/_mock/employeeHours
- https://api.zoined.comhttps://api.zoined.com/employeeHours
curl -i -X POST \
'https://zapi-api.zoined.com/_mock/employeeHours?dryRun=false&separator=%3B&encoding=utf-8' \
-H 'Authorization: Bearer <YOUR_token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"organisation_id": "540",
"department_id": "54021",
"salesperson_id": "5402101",
"employee_type": "Permie",
"employeehours_id": "4244",
"absence_code": "BREAK",
"date": "2016-01-01",
"time": "15:00:00",
"scheduled": false,
"productive": true,
"hours": 8,
"staff_cost": 500,
"breaks": 0.5,
"breaks_cost": 40,
"currency": "EUR",
"custom_field_1": "XYZ",
"custom_field_2": "XYZ",
"custom_field_3": "XYZ",
"custom_field_4": "XYZ",
"custom_field_5": "XYZ",
"source_system": "ABCDEF"
}'Response
{ "status": "OK", "msg": "1 entity added" }