Worker
Worker Pay Component
Update a single pay component associated to the "Active" worker.
patch/workers/{workerId}/paycomponents/{workerComponentId}
Request
- Base URLhttps://api.paychex.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workerIdstring required
ID associated with desired worker.
workerComponentIdstring required
The id of a single pay component that a workers has.
Request body
Example request
{
"workerComponentId": "970000223656831",
"componentId": "970000180599325",
"name": "Deduction - 1",
"calculationBaseId": "00H2A1IUJE7MXV6TQ37U",
"value": 5,
"startDate": "2018-03-01T00:00:00Z",
"effectOnPay": "REDUCTION",
"frequency": {
"applied": "BY_PAY_PERIOD",
"occurrence": "QUARTERLY",
"occurrenceIntervals": {
"interval1": "2",
"interval2": "Last"
},
"effectedChecks": "EVERY_CHECK"
}
}Response
Successful operation
Example response
{
"content": {
"workerComponentId": "970000223656831",
"componentId": "970000180599325",
"name": "Deduction - 1",
"calculationBaseId": "00H2A1IUJE7MXV6TQ37U",
"value": 5,
"startDate": "2018-03-01T00:00:00Z",
"effectOnPay": "REDUCTION",
"frequency": {
"applied": "BY_PAY_PERIOD",
"occurrence": "QUARTERLY",
"occurrenceIntervals": {
"interval1": "2",
"interval2": "Last"
},
"effectedChecks": "EVERY_CHECK"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.