POST api/{programid}/Timesheets/GetSickLeaveFilters
Call to get Sick Leave filters
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-16T04:33:40.0807775-05:00", "EndDate": "2024-11-16T04:33:40.0807775-05: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-16T04:33:40.0807775-05:00</EndDate> <ParticipantID>sample string 1</ParticipantID> <ProviderID>sample string 2</ProviderID> <StartDate>2024-11-16T04:33:40.0807775-05:00</StartDate> <UseEligibilityStatus>true</UseEligibilityStatus> </GetSickLeaveFilterDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
A List SickLeave Objects
SickLeaveFiltersDTOName | Description | Type | Additional information |
---|---|---|---|
DateRangeFilter | Collection of DateRangeFilterOptions |
None. |
Response Formats
application/json, text/json
Sample:
{ "DateRangeFilter": [ { "StartDate": "2024-11-16T04:33:40.0807775-05:00", "EndDate": "2024-11-16T04:33:40.0807775-05:00" }, { "StartDate": "2024-11-16T04:33:40.0807775-05:00", "EndDate": "2024-11-16T04:33:40.0807775-05:00" } ] }
application/xml, text/xml
Sample:
<SickLeaveFiltersDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Timesheet"> <DateRangeFilter> <SickLeaveFiltersDTO.DateRangeFilterOptions> <EndDate>2024-11-16T04:33:40.0807775-05:00</EndDate> <StartDate>2024-11-16T04:33:40.0807775-05:00</StartDate> </SickLeaveFiltersDTO.DateRangeFilterOptions> <SickLeaveFiltersDTO.DateRangeFilterOptions> <EndDate>2024-11-16T04:33:40.0807775-05:00</EndDate> <StartDate>2024-11-16T04:33:40.0807775-05:00</StartDate> </SickLeaveFiltersDTO.DateRangeFilterOptions> </DateRangeFilter> </SickLeaveFiltersDTO>