Update Accrual Balance
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Updates an accrual balance corresponding to an accrual policy in Zeal's system.
Returns Skip link to Returns
Returns boolean indicating success status and a list of added or removed employees and corresponding policy code.
| attribute | type | description |
|---|---|---|
| success | boolean | Response status |
| data | array | Updated accrual balance and corresponding policy code |
| errors | array | Contains list of error objects which consists of:message: Error messagecode: Error code as described in Error codes |
companyID
string
required
ID of the company
policy_code
string
required
Unique code assigned to a policy
employees
array of objects
Array of objects of employees and corresponding accrual balances to be updated
employees
ADD object
``200 200
``400 400
Updated 7 months ago
ShellNodeRubyPHPPython
xxxxxxxxxx
curl --request PATCH \
--url https://api.zeal.com/accrualBalance \
--header 'accept: application/json' \
--header 'content-type: application/json'
application/json
200 - Result400 - Result
Updated7 months ago