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 | Additional information |
---|---|---|
payrates | Array of employee codes and payrates |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
[ { "EmployeeCode": "sample string 1", "PayRate": 1.0 }, { "EmployeeCode": "sample string 1", "PayRate": 1.0 }, { "EmployeeCode": "sample string 1", "PayRate": 1.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>sample string 1</EmployeeCode> <PayRate>1</PayRate> </PayrateDto> <PayrateDto> <EmployeeCode>sample string 1</EmployeeCode> <PayRate>1</PayRate> </PayrateDto> <PayrateDto> <EmployeeCode>sample string 1</EmployeeCode> <PayRate>1</PayRate> </PayrateDto> </ArrayOfPayrateDto>
Response Information
No documentation available.
Response body formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.