POST api/Payrate
Updates employee payrates. If the employee is a salaried employee, then the supplied payrate is treated as the employee's annual salary amount. Otherwise, the supplied payrate is treated as the employee's hourly pay amount.
Request Information
Parameters
| Name | Description |
|---|---|
|
payrates
(param in the body) |
Array of employee codes and payrates |
Request body formats
application/json, text/json
Sample:
[
{
"EmployeeCode": "",
"PayRate": 0.0
},
{
"EmployeeCode": "",
"PayRate": 0.0
},
{
"EmployeeCode": "",
"PayRate": 0.0
}
]
application/xml, text/xml
Sample:
<ArrayOfPayrateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netchex.API.External.Areas.Payroll.Models">
<PayrateDto>
<EmployeeCode></EmployeeCode>
<PayRate>0</PayRate>
</PayrateDto>
<PayrateDto>
<EmployeeCode></EmployeeCode>
<PayRate>0</PayRate>
</PayrateDto>
<PayrateDto>
<EmployeeCode></EmployeeCode>
<PayRate>0</PayRate>
</PayrateDto>
</ArrayOfPayrateDto>
Response Information
No documentation available.
Response body formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.