POST api/{programid}/Employee/PayStubYearList
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| programid | string |
Required |
Body Parameters
EmployeePayStubYearListRequestParams| Name | Description | Type | Additional 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:
Response Information
Resource Description
EmployeePayStubYearListResponse| Name | Description | Type | Additional 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>