POST api/PayrollAccreditaion/all
Request Information
URI Parameters
None.
Body Parameters
PayrollAccreditaionDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| PayrollAccreditaionID | integer |
None. |
|
| SystemUserID | integer |
None. |
|
| StaffID | integer |
None. |
|
| Name | string |
None. |
|
| TotalSalary | decimal number |
None. |
|
| Salary | decimal number |
None. |
|
| ExtraTime | decimal number |
None. |
|
| Discounts | decimal number |
None. |
|
| Year | string |
None. |
|
| Month | string |
None. |
|
| IsDeleted | boolean |
None. |
|
| CreationDate | date |
None. |
|
| ModifiedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"PayrollAccreditaionID": 1,
"SystemUserID": 2,
"StaffID": 3,
"Name": "sample string 4",
"TotalSalary": 5.0,
"Salary": 6.0,
"ExtraTime": 1.0,
"Discounts": 1.0,
"Year": "sample string 7",
"Month": "sample string 8",
"IsDeleted": true,
"CreationDate": "2025-12-12T10:38:39.397373-08:00",
"ModifiedDate": "2025-12-12T10:38:39.397373-08:00"
}
application/xml, text/xml
Sample:
<PayrollAccreditaionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR.Objects.DTOs"> <CreationDate>2025-12-12T10:38:39.397373-08:00</CreationDate> <Discounts>1</Discounts> <ExtraTime>1</ExtraTime> <IsDeleted>true</IsDeleted> <ModifiedDate>2025-12-12T10:38:39.397373-08:00</ModifiedDate> <Month>sample string 8</Month> <Name>sample string 4</Name> <PayrollAccreditaionID>1</PayrollAccreditaionID> <Salary>6</Salary> <StaffID>3</StaffID> <SystemUserID>2</SystemUserID> <TotalSalary>5</TotalSalary> <Year>sample string 7</Year> </PayrollAccreditaionDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of PayrollAccreditaionDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| PayrollAccreditaionID | integer |
None. |
|
| SystemUserID | integer |
None. |
|
| StaffID | integer |
None. |
|
| Name | string |
None. |
|
| TotalSalary | decimal number |
None. |
|
| Salary | decimal number |
None. |
|
| ExtraTime | decimal number |
None. |
|
| Discounts | decimal number |
None. |
|
| Year | string |
None. |
|
| Month | string |
None. |
|
| IsDeleted | boolean |
None. |
|
| CreationDate | date |
None. |
|
| ModifiedDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PayrollAccreditaionID": 1,
"SystemUserID": 2,
"StaffID": 3,
"Name": "sample string 4",
"TotalSalary": 5.0,
"Salary": 6.0,
"ExtraTime": 1.0,
"Discounts": 1.0,
"Year": "sample string 7",
"Month": "sample string 8",
"IsDeleted": true,
"CreationDate": "2025-12-12T10:38:39.397373-08:00",
"ModifiedDate": "2025-12-12T10:38:39.397373-08:00"
},
{
"PayrollAccreditaionID": 1,
"SystemUserID": 2,
"StaffID": 3,
"Name": "sample string 4",
"TotalSalary": 5.0,
"Salary": 6.0,
"ExtraTime": 1.0,
"Discounts": 1.0,
"Year": "sample string 7",
"Month": "sample string 8",
"IsDeleted": true,
"CreationDate": "2025-12-12T10:38:39.397373-08:00",
"ModifiedDate": "2025-12-12T10:38:39.397373-08:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfPayrollAccreditaionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR.Objects.DTOs">
<PayrollAccreditaionDTO>
<CreationDate>2025-12-12T10:38:39.397373-08:00</CreationDate>
<Discounts>1</Discounts>
<ExtraTime>1</ExtraTime>
<IsDeleted>true</IsDeleted>
<ModifiedDate>2025-12-12T10:38:39.397373-08:00</ModifiedDate>
<Month>sample string 8</Month>
<Name>sample string 4</Name>
<PayrollAccreditaionID>1</PayrollAccreditaionID>
<Salary>6</Salary>
<StaffID>3</StaffID>
<SystemUserID>2</SystemUserID>
<TotalSalary>5</TotalSalary>
<Year>sample string 7</Year>
</PayrollAccreditaionDTO>
<PayrollAccreditaionDTO>
<CreationDate>2025-12-12T10:38:39.397373-08:00</CreationDate>
<Discounts>1</Discounts>
<ExtraTime>1</ExtraTime>
<IsDeleted>true</IsDeleted>
<ModifiedDate>2025-12-12T10:38:39.397373-08:00</ModifiedDate>
<Month>sample string 8</Month>
<Name>sample string 4</Name>
<PayrollAccreditaionID>1</PayrollAccreditaionID>
<Salary>6</Salary>
<StaffID>3</StaffID>
<SystemUserID>2</SystemUserID>
<TotalSalary>5</TotalSalary>
<Year>sample string 7</Year>
</PayrollAccreditaionDTO>
</ArrayOfPayrollAccreditaionDTO>