POST api/{programid}/Timesheets/GetSickLeave
Call to get Sick Leave data
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid |
The Program ID |
string |
Required |
Body Parameters
The Consumer No
GetSickLeaveFilterDTOName | Description | Type | Additional information |
---|---|---|---|
ParticipantID | string |
None. |
|
ProviderID | string |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
UseEligibilityStatus | boolean |
None. |
|
EmployerId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ParticipantID": "sample string 1", "ProviderID": "sample string 2", "StartDate": "2024-11-15T18:45:12.7217662+00:00", "EndDate": "2024-11-15T18:45:12.7217662+00:00", "UseEligibilityStatus": true, "EmployerId": "sample string 6" }
application/xml, text/xml
Sample:
<GetSickLeaveFilterDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Timesheet"> <EmployerId>sample string 6</EmployerId> <EndDate>2024-11-15T18:45:12.7217662+00:00</EndDate> <ParticipantID>sample string 1</ParticipantID> <ProviderID>sample string 2</ProviderID> <StartDate>2024-11-15T18:45:12.7217662+00:00</StartDate> <UseEligibilityStatus>true</UseEligibilityStatus> </GetSickLeaveFilterDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
A List SickLeave Objects
Collection of SickLeaveName | Description | Type | Additional information |
---|---|---|---|
Consumer | string |
None. |
|
Provider | string |
None. |
|
Eligibility | string |
None. |
|
Carryover | decimal number |
None. |
|
Accrued | decimal number |
None. |
|
Used | decimal number |
None. |
|
Balance | decimal number |
None. |
|
Available | decimal number |
None. |
|
Employer | string |
None. |
|
HoursWorkedPerDay | decimal number |
None. |
|
Cap | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Consumer": "sample string 1", "Provider": "sample string 2", "Eligibility": "sample string 3", "Carryover": 4.0, "Accrued": 5.0, "Used": 6.0, "Balance": 7.0, "Available": 8.0, "Employer": "sample string 9", "HoursWorkedPerDay": 10.0, "Cap": 11.0 }, { "Consumer": "sample string 1", "Provider": "sample string 2", "Eligibility": "sample string 3", "Carryover": 4.0, "Accrued": 5.0, "Used": 6.0, "Balance": 7.0, "Available": 8.0, "Employer": "sample string 9", "HoursWorkedPerDay": 10.0, "Cap": 11.0 } ]
application/xml, text/xml
Sample:
<ArrayOfSickLeave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Timesheet"> <SickLeave> <Accrued>5</Accrued> <Available>8</Available> <Balance>7</Balance> <Cap>11</Cap> <Carryover>4</Carryover> <Consumer>sample string 1</Consumer> <Eligibility>sample string 3</Eligibility> <Employer>sample string 9</Employer> <HoursWorkedPerDay>10</HoursWorkedPerDay> <Provider>sample string 2</Provider> <Used>6</Used> </SickLeave> <SickLeave> <Accrued>5</Accrued> <Available>8</Available> <Balance>7</Balance> <Cap>11</Cap> <Carryover>4</Carryover> <Consumer>sample string 1</Consumer> <Eligibility>sample string 3</Eligibility> <Employer>sample string 9</Employer> <HoursWorkedPerDay>10</HoursWorkedPerDay> <Provider>sample string 2</Provider> <Used>6</Used> </SickLeave> </ArrayOfSickLeave>