POST api/{programid}/Timesheets/GetSickLeaveFilters

Call to get Sick Leave filters

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

The Program ID

string

Required

Body Parameters

The Consumer No

GetSickLeaveFilterDTO
NameDescriptionTypeAdditional 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-16T09:31:48.9451631+00:00",
  "EndDate": "2024-11-16T09:31:48.9451631+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-16T09:31:48.9451631+00:00</EndDate>
  <ParticipantID>sample string 1</ParticipantID>
  <ProviderID>sample string 2</ProviderID>
  <StartDate>2024-11-16T09:31:48.9451631+00:00</StartDate>
  <UseEligibilityStatus>true</UseEligibilityStatus>
</GetSickLeaveFilterDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetSickLeaveFilterDTO'.

Response Information

Resource Description

A List SickLeave Objects

SickLeaveFiltersDTO
NameDescriptionTypeAdditional information
DateRangeFilter

Collection of DateRangeFilterOptions

None.

Response Formats

application/json, text/json

Sample:
{
  "DateRangeFilter": [
    {
      "StartDate": "2024-11-16T09:31:48.9451631+00:00",
      "EndDate": "2024-11-16T09:31:48.9451631+00:00"
    },
    {
      "StartDate": "2024-11-16T09:31:48.9451631+00:00",
      "EndDate": "2024-11-16T09:31:48.9451631+00: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-16T09:31:48.9451631+00:00</EndDate>
      <StartDate>2024-11-16T09:31:48.9451631+00:00</StartDate>
    </SickLeaveFiltersDTO.DateRangeFilterOptions>
    <SickLeaveFiltersDTO.DateRangeFilterOptions>
      <EndDate>2024-11-16T09:31:48.9451631+00:00</EndDate>
      <StartDate>2024-11-16T09:31:48.9451631+00:00</StartDate>
    </SickLeaveFiltersDTO.DateRangeFilterOptions>
  </DateRangeFilter>
</SickLeaveFiltersDTO>