Benefits & tax profiles
Update Employee Tax Profile
Validates and stores a new tax-profile selection set for a legacy employee against a calculator version.
POSThttps://api.toku.com/hris/update-employee-tax-profile
Not available to API keys yet. It will need payroll:write.
curl --request POST \
--url 'https://api.toku.com/hris/update-employee-tax-profile' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"calculatorVersionID": 0,
"employeeID": 0,
"taxProfileSelections": {}
}'200 response
{}Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.
Body
application/json
calculatorVersionIDintegerrequiredAllowed: at least 1
employeeIDintegerrequiredAllowed: at least 1
taxProfileSelectionsobjectrequiredResponse
200Successful response
successanyrequired400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits