GET api/PR_PayrollTotalsReport?DB={DB}&CompanyID={CompanyID}&PeriodOfReport={PeriodOfReport}&YearOfReport={YearOfReport}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DB | string |
Required |
|
| CompanyID | string |
Required |
|
| PeriodOfReport | string |
Required |
|
| YearOfReport | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PR_Totals| Name | Description | Type | Additional information |
|---|---|---|---|
| BasicPay | decimal number |
None. |
|
| Allowances | decimal number |
None. |
|
| Bonuses | decimal number |
None. |
|
| Benefits | decimal number |
None. |
|
| Overtime | decimal number |
None. |
|
| SocialSecurity | decimal number |
None. |
|
| Taxes | decimal number |
None. |
|
| PAYE | decimal number |
None. |
|
| LoanDeduction | decimal number |
None. |
|
| Earnings | decimal number |
None. |
|
| Deductions | decimal number |
None. |
|
| NetPay | decimal number |
None. |
|
| EmployerContribution | decimal number |
None. |
|
| EmployeeContribution | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"BasicPay": 1.0,
"Allowances": 2.0,
"Bonuses": 3.0,
"Benefits": 4.0,
"Overtime": 5.0,
"SocialSecurity": 6.0,
"Taxes": 7.0,
"PAYE": 8.0,
"LoanDeduction": 9.0,
"Earnings": 10.0,
"Deductions": 11.0,
"NetPay": 12.0,
"EmployerContribution": 13.0,
"EmployeeContribution": 14.0
},
{
"BasicPay": 1.0,
"Allowances": 2.0,
"Bonuses": 3.0,
"Benefits": 4.0,
"Overtime": 5.0,
"SocialSecurity": 6.0,
"Taxes": 7.0,
"PAYE": 8.0,
"LoanDeduction": 9.0,
"Earnings": 10.0,
"Deductions": 11.0,
"NetPay": 12.0,
"EmployerContribution": 13.0,
"EmployeeContribution": 14.0
}
]
application/xml, text/xml
Sample:
<ArrayOfPR_Totals xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdroitERPWebApis">
<PR_Totals>
<Allowances>2</Allowances>
<BasicPay>1</BasicPay>
<Benefits>4</Benefits>
<Bonuses>3</Bonuses>
<Deductions>11</Deductions>
<Earnings>10</Earnings>
<EmployeeContribution>14</EmployeeContribution>
<EmployerContribution>13</EmployerContribution>
<LoanDeduction>9</LoanDeduction>
<NetPay>12</NetPay>
<Overtime>5</Overtime>
<PAYE>8</PAYE>
<SocialSecurity>6</SocialSecurity>
<Taxes>7</Taxes>
</PR_Totals>
<PR_Totals>
<Allowances>2</Allowances>
<BasicPay>1</BasicPay>
<Benefits>4</Benefits>
<Bonuses>3</Bonuses>
<Deductions>11</Deductions>
<Earnings>10</Earnings>
<EmployeeContribution>14</EmployeeContribution>
<EmployerContribution>13</EmployerContribution>
<LoanDeduction>9</LoanDeduction>
<NetPay>12</NetPay>
<Overtime>5</Overtime>
<PAYE>8</PAYE>
<SocialSecurity>6</SocialSecurity>
<Taxes>7</Taxes>
</PR_Totals>
</ArrayOfPR_Totals>