Absence

Description

Input

Parameter Requirement Level Default Comment
districtid required n/a Unique District ID number
unitid optional n/a Unique Business Unit ID number for specific District

Output

Parameter Type Example Comment
Leave ID Integer 91534388 Unique leave application ID
BadgeNo String "384858" Unique employee badge number
Name String "Peter Jones" Employee full name
Date String "2021-11-16" Employee absence start date in the following format: YYYY-MM-DD
Leave Reason String "Sickness" Employee's reason for absence
Job Title String "Ambulance Care Assistant" Employee job title
Hours Decimal 10.0 Employee total absence hours including breaks
From Date String "2021-11-16" Employee absence start date in the following format: YYYY:MM:DD
To Date String "2021-11-17" Employee absence end date in the following format: YYYY:MM:DD
From Time String "01:00:00.000000" Applied leave start time in the following format: HH:MM:SS.MS
To Time String "01:00:00.000000" Applied leave end time in the following format: HH:MM:SS.MS
Leave Status Integer 1 Applied leave status (0 = applied for leave, 1 = leave approved, 2 = leave denied)
unitId String "60500" Unique Business Unit ID number for a specific District
districtId String "10291" Unique District ID
unitName String "Imperial" Unique Business Unit name for a specific District

Example Query

https://falckws.com/absence?districtid=10291&unitid=60500

Example Output
  • [ { "Leave ID": 91534388, "BadgeNo": "384858", "Name": "Aamir Aftab", "Date": "2021-11-16", "Leave Reason": "Sickness", "Job Title": "Ambulance Care Assistant", "Hours": 10.0, "From Date": "2021-11-16", "To Date": "2021-11-17", "From Time": "15:00:00.000000", "To Time": "01:00:00.000000", "Leave Status": 1, "unitId": "60500", "districtId": "10291", "unitName": "Imperial" }, ...