VERSION: 4.0, DEPRECATED: NO
POSTwork
Params
curl --location --request POST "{{ROOT}}reporting/work/" \ -H "Authorization: Bearer {{BEARER_TOKEN}}" \ -H "app-id:{{APP_ID}}" \ -H "Content-Type: application/json" \ -H "Accept-Encoding: gzip" \ -H "accept: */*" \ --data '{"map_type_id": "0","map_id": "123456","user_status_id": "0"}'
[ { "object_name":"user_id", "type":"Int32", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"first_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"last_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"department_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"allowance_type_id", "type":"custom", "is_nullable":false, "nest":null, "custom":[ { "name":"days", "value":"0" }, { "name":"hours", "value":"1" }] "note": }, { "object_name":"monday", "type":"minute(int32)", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"tuesday", "type":"minute(int32)", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"wednesday", "type":"minute(int32)", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"thursday", "type":"minute(int32)", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"friday", "type":"minute(int32)", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"saturday", "type":"minute(int32)", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"sunday", "type":"minute(int32)", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"total", "type":"[Int32]", "is_nullable":false, "nest":null, "custom":null "note": }]
POSTlast login
curl --location --request POST "{{ROOT}}reporting/last-login/" \ -H "Authorization: Bearer {{BEARER_TOKEN}}" \ -H "app-id:{{APP_ID}}" \ -H "Content-Type: application/json" \ -H "Accept-Encoding: gzip" \ -H "accept: */*" \ --data '{"map_type_id": "0","map_id": "123456"}'
[ { "object_name":"user_id", "type":"Int32", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"first_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"last_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"department_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"logins", "type":"NESTED", "is_nullable":false, "nest":[ { "object_name":"login_date", "type":"DateTime", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"device", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }], "custom":null "note": }]
POSTrestricted user
curl --location --request POST "{{ROOT}}reporting/restricted-user/" \ -H "Authorization: Bearer {{BEARER_TOKEN}}" \ -H "app-id:{{APP_ID}}" \ -H "Content-Type: application/json" \ -H "Accept-Encoding: gzip" \ -H "accept: */*" \ --data '{"map_type_id": "0","map_id": "123456","user_status_id": "0"}'
[ { "object_name":"staff_code", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"first_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"last_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"department_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"status_id", "type":"custom", "is_nullable":false, "nest":null, "custom":[ { "name":"disabled", "value":"0" }, { "name":"active", "value":"1" }] "note": }, { "object_name":"restricted_first_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"restricted_last_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"restricted_department_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"restricted_status_id", "type":"Byte", "is_nullable":false, "nest":null, "custom":null "note": }]
POSTstaff
curl --location --request POST "{{ROOT}}reporting/staff/" \ -H "Authorization: Bearer {{BEARER_TOKEN}}" \ -H "app-id:{{APP_ID}}" \ -H "Content-Type: application/json" \ -H "Accept-Encoding: gzip" \ -H "accept: */*" \ --data '{"map_type_id": "0","map_id": "123456","user_status_id": "0"}'
[ { "object_name":"staff_code", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"first_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"last_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"user_type_id", "type":"custom", "is_nullable":false, "nest":null, "custom":[ { "name":"staff", "value":"100" }, { "name":"approver", "value":"200" }, { "name":"approver plus add", "value":"210" }, { "name":"approver plus add edit cancel", "value":"220" }, { "name":"superuser", "value":"300" }, { "name":"poweruser", "value":"310" }] "note": }, { "object_name":"approver_for_total", "type":"Int32", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"employee_start_date", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"employee_end_date", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"department_id", "type":"[Int32]", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"department_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"approver_id", "type":"[Int32]", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"approver_first_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"approver_last_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"allowance_type_id", "type":"custom", "is_nullable":false, "nest":null, "custom":[ { "name":"days", "value":"0" }, { "name":"hours", "value":"1" }] "note": }, { "object_name":"opening", "type":"minute(int32)", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"remaining", "type":"minute(int32)", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"carryover_opening", "type":"minute(int32)", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"carryover_remaining", "type":"minute(int32)", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"lieu", "type":"minute(int32)", "is_nullable":false, "nest":null, "custom":null "note": }]
POSTstaff directory
curl --location --request POST "{{ROOT}}reporting/staff-directory/" \ -H "Authorization: Bearer {{BEARER_TOKEN}}" \ -H "app-id:{{APP_ID}}" \ -H "Content-Type: application/json" \ -H "Accept-Encoding: gzip" \ -H "accept: */*" \ --data '{"map_type_id": "0","map_id": "123456","user_status_id": "0"}'
[ { "object_name":"title", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"first_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"last_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"email_contact", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"email_type_id", "type":"custom", "is_nullable":false, "nest":null, "custom":[ { "name":"none", "value":"0" }, { "name":"text", "value":"1" }, { "name":"html", "value":"2" }] "note": }, { "object_name":"work_telephone", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"mobile_telephone", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"department_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"mfa_method_id", "type":"[Int32]", "is_nullable":false, "nest":null, "custom":null "note": }]
POSTyearly
curl --location --request POST "{{ROOT}}reporting/yearly/" \ -H "Authorization: Bearer {{BEARER_TOKEN}}" \ -H "app-id:{{APP_ID}}" \ -H "Content-Type: application/json" \ -H "Accept-Encoding: gzip" \ -H "accept: */*" \ --data '{"user_id": "123456"}'
[ { "object_name":"work", "type":"NESTED", "is_nullable":false, "nest":[ { "object_name":"start_date", "type":"DateTime", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"end_date", "type":"DateTime", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"monday", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"tuesday", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"wednesday", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"thursday", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"friday", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"saturday", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"sunday", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }], "custom":null "note": }, { "object_name":"leave", "type":"NESTED", "is_nullable":false, "nest":[ { "object_name":"code", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"colour", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"status_id", "type":"custom", "is_nullable":False, "nest":null, "custom":"[ { "name":"disabled", "value":"0" }, { "name":"active", "value":"1" }]" "note":"", }, { "object_name":"leave_type_id", "type":"[Int32]", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"start_date", "type":"DateTime", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"end_date", "type":"DateTime", "is_nullable":False, "nest":null, "custom":null "note":"", }], "custom":null "note": }, { "object_name":"free_days", "type":"NESTED", "is_nullable":false, "nest":[ { "object_name":"start_date", "type":"DateTime", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"end_date", "type":"DateTime", "is_nullable":False, "nest":null, "custom":null "note":"", }], "custom":null "note": }, { "object_name":"restricted_days", "type":"NESTED", "is_nullable":false, "nest":[ { "object_name":"start_date", "type":"DateTime", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"end_date", "type":"DateTime", "is_nullable":False, "nest":null, "custom":null "note":"", }], "custom":null "note": }, { "object_name":"leave_types", "type":"NESTED", "is_nullable":false, "nest":[ { "object_name":"leave_type_id", "type":"Int32", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"code", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"colour", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"name", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }], "custom":null "note": }]
POSTwhosoff
Nested object(s)[]
curl --location --request POST "{{ROOT}}reporting/whosoff/" \ -H "Authorization: Bearer {{BEARER_TOKEN}}" \ -H "app-id:{{APP_ID}}" \ -H "Content-Type: application/json" \ -H "Accept-Encoding: gzip" \ -H "accept: */*" \ --data '{"map_type_id": "0","map_id": "123456","user_status_id": "0","date_option": "0","leave_type_ids": [{"leave_type_id":"234"},{"leave_type_id":"234"}],"status_id": "0","return_record_option_id": "1","date_range_only": false,"show_bradford_factor": false}'
[ { "object_name":"user_id", "type":"Int32", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"staff_code", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"first_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"last_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"allowance_type_id", "type":"custom", "is_nullable":false, "nest":null, "custom":[ { "name":"days", "value":"0" }, { "name":"hours", "value":"1" }] "note": }, { "object_name":"department_id", "type":"[Int32]", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"department_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"bradford_factor_instance", "type":"[Int32]", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"total_shifts", "type":"[Decimal]", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"allowances", "type":"NESTED", "is_nullable":false, "nest":[ { "object_name":"start_date", "type":"Date", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"end_date", "type":"Date", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"opening", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"remaining", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"carryover_opening", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"carryover_remaining", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"pending", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"lieu", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }], "custom":null "note": }, { "object_name":"leave", "type":"NESTED", "is_nullable":false, "nest":[ { "object_name":"status_id", "type":"custom", "is_nullable":False, "nest":null, "custom":"[ { "name":"disabled", "value":"0" }, { "name":"active", "value":"1" }]" "note":"", }, { "object_name":"leave_type_id", "type":"[Int32]", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"start_date", "type":"Date", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"end_date", "type":"Date", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"split_start_date", "type":"Date", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"split_end_date", "type":"Date", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"leave_type_name", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"code", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"colour", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"shifts", "type":"[Decimal]", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"allowance_type_id", "type":"custom", "is_nullable":False, "nest":null, "custom":"[ { "name":"days", "value":"0" }, { "name":"hours", "value":"1" }]" "note":"", }, { "object_name":"duration", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"allowance_duration", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"work_duration", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"free_duration", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"request_note", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"approve_note", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"cancel_note", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"approved_by_id", "type":"[Int32]", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"approved_by_first_name", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"approved_by_last_name", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }], "custom":null "note": }]
POSTleave summary
curl --location --request POST "{{ROOT}}reporting/leave-summary/" \ -H "Authorization: Bearer {{BEARER_TOKEN}}" \ -H "app-id:{{APP_ID}}" \ -H "Content-Type: application/json" \ -H "Accept-Encoding: gzip" \ -H "accept: */*" \ --data '{"map_type_id": "0","map_id": "123456","user_status_id": "0","date_option": "0","leave_type_ids": [{"leave_type_id":"234"},{"leave_type_id":"234"}]}'
[ { "object_name":"leave_types", "type":"NESTED", "is_nullable":false, "nest":[ { "object_name":"leave_type_id", "type":"[Int32]", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"name", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"code", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"colour", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"deduct_allowance_id", "type":"custom", "is_nullable":False, "nest":null, "custom":"[ { "name":"no", "value":"0" }, { "name":"yes", "value":"1" }, { "name":"no hours only", "value":"2" }]" "note":"", }], "custom":null "note": }, { "object_name":"leave_summary", "type":"NESTED", "is_nullable":false, "nest":[ { "object_name":"staff_code", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"first_name", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"last_name", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"allowance_type_id", "type":"custom", "is_nullable":False, "nest":null, "custom":"[ { "name":"days", "value":"0" }, { "name":"hours", "value":"1" }]" "note":"", }, { "object_name":"start_date", "type":"Date", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"end_date", "type":"Date", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"opening", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"remaining", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"carryover_opening", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"carryover_remaining", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"pending", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"lieu", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"leave_summary", "type":"ResObjReportSummaryUserLeaveAllowance", "is_nullable":False, "nest":null, "custom":null "note":"", }], "custom":null "note": }]
POSTovertime
curl --location --request POST "{{ROOT}}reporting/overtime/" \ -H "Authorization: Bearer {{BEARER_TOKEN}}" \ -H "app-id:{{APP_ID}}" \ -H "Content-Type: application/json" \ -H "Accept-Encoding: gzip" \ -H "accept: */*" \ --data '{"map_type_id": "0","map_id": "123456","user_status_id": "0","date_option": "0","overtime_type_ids": [{"overtime_type_id":"234"},{"overtime_type_id":"234"}],"status_id": "0","return_record_option_id": "1"}'
[ { "object_name":"user_id", "type":"Int32", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"staff_code", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"first_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"last_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"department_id", "type":"[Int32]", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"department_name", "type":"String", "is_nullable":false, "nest":null, "custom":null "note": }, { "object_name":"allowance_type_id", "type":"custom", "is_nullable":false, "nest":null, "custom":[ { "name":"days", "value":"0" }, { "name":"hours", "value":"1" }] "note": }, { "object_name":"overtime", "type":"NESTED", "is_nullable":false, "nest":[ { "object_name":"overtime_id", "type":"[Int32]", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"overtime_type_id", "type":"[Int32]", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"overtime_type_name", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"colour", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"status_id", "type":"custom", "is_nullable":False, "nest":null, "custom":"[ { "name":"disabled", "value":"0" }, { "name":"active", "value":"1" }]" "note":"", }, { "object_name":"start_date", "type":"DateTime", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"end_date", "type":"DateTime", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"duration", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"lieu_requested", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"lieu_approved", "type":"minute(int32)", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"request_note", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"approve_note", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"cancellation_note", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"code", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"approved_by_id", "type":"[Int32]", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"approved_by_first_name", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }, { "object_name":"approved_by_last_name", "type":"String", "is_nullable":False, "nest":null, "custom":null "note":"", }], "custom":null "note": }]
INSTANTLY REDUCE TIME SPENT ON LEAVE MANAGEMENT
Start Your Free Trial