POST api/{programid}/Employee/PayStubYearList

Get pay stub years for a provider.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

string

Required

Body Parameters

EmployeePayStubYearListRequestParams
NameDescriptionTypeAdditional information
ProgramCode

string

None.

ProviderId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProgramCode": "sample string 1",
  "ProviderId": "sample string 2"
}

application/xml, text/xml

Sample:
<EmployeePayStubYearListRequestParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Employee">
  <ProgramCode>sample string 1</ProgramCode>
  <ProviderId>sample string 2</ProviderId>
</EmployeePayStubYearListRequestParams>

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 'EmployeePayStubYearListRequestParams'.

Response Information

Resource Description

EmployeePayStubYearListResponse
NameDescriptionTypeAdditional information
ProviderId

string

None.

Years

Collection of integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ProviderId": "sample string 1",
  "Years": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<EmployeePayStubYearListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Employee">
  <ProviderId>sample string 1</ProviderId>
  <Years xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Years>
</EmployeePayStubYearListResponse>