API Name:
api_v2/users/get_tomorrow_status
We use this API to get status of iFlow users with tomorrow's work schedule data.
Quick info:
Full url
Method: GET
https://app.iflow.ro/api/api_v2/users/get_tomorrow_status
CURL request
Method: GET
curl -X GET -H "Authorization: Bearer {ACCESS TOKEN}" https://app.iflow.ro/api/api_v2/users/get_tomorrow_status
Parameters:
Access token
The API access token is generated from Iflow, with a label name of your choosing and is assigned to an administrator from the company.
Language
Method: POST With api_language key and ro_RO value you can translate the status to romanian.
CURL request
Method: POST curl -X POST -H "Authorization: Bearer {ACCESS TOKEN}" -d "api_language={ro_RO/en_US}&attendance_type={live_attendance/work_schedule}" https://app.iflow.ro/api/api_v2/users/get_tomorrow_status
Returns:
Ok response:
If everything is ok, you get a list of attendances with no errors.
[ { "status": "Missing, Sick Leave", "at_work": false, "full_name": "Miclea Dorian", "cnp": "2222222222222", "user_id": "3",