GET api/AFNI/GetPayrollPeriod
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
payrollPeriod| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| year | integer |
None. |
|
| month | string |
None. |
|
| payrollDesc | string |
None. |
|
| payrollPeriod1 | integer |
None. |
|
| PayrollStart | date |
None. |
|
| PayrollEnd | date |
None. |
|
| UserID | string |
None. |
|
| IsActive | boolean |
None. |
|
| IsPosted | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"year": 1,
"month": "sample string 2",
"payrollDesc": "sample string 3",
"payrollPeriod1": 1,
"PayrollStart": "2025-12-21T15:04:14.0994989+00:00",
"PayrollEnd": "2025-12-21T15:04:14.0994989+00:00",
"UserID": "sample string 4",
"IsActive": true,
"IsPosted": true
}
application/xml, text/xml
Sample:
<payrollPeriod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AFNIAPI.Models"> <ID>1</ID> <IsActive>true</IsActive> <IsPosted>true</IsPosted> <PayrollEnd>2025-12-21T15:04:14.0994989+00:00</PayrollEnd> <PayrollStart>2025-12-21T15:04:14.0994989+00:00</PayrollStart> <UserID>sample string 4</UserID> <month>sample string 2</month> <payrollDesc>sample string 3</payrollDesc> <payrollPeriod1>1</payrollPeriod1> <year>1</year> </payrollPeriod>