Add/Remove Employees to Accrual Policy

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Adds or removes an employee to/from an accrual policy in Zeal's system.

Returns

Returns boolean indicating success status and a list of added or removed employees and corresponding policy code.

attributetypedescription
successbooleanResponse status
dataarrayList of newly added or removed employees
errorsarrayContains list of error objects which consists of:
message: Error message
code: Error code as described in Error codes
Body Params
string
required

ID of the company

string
required

Unique code assigned to a policy

add_employees
array of strings

Adds an array of employeeIDs to be assigned to the respective policy

add_employees
remove_employees
array of strings

Removes employees from accrual policy (accepts array of employeeIDs)

remove_employees
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json