Emlpoyee
Last updated
Last updated
Working with employees you have the following features:
List the of employees per counterparty
To create a new employee in the Counterparty you should use this endpoint.
Example of response:
After you created an employee they has to be verified via email.
Please replace {bank_alias}
and {email}
in the link accordingly.
It is expected a password is set up by the employee themselves using the verification code sent to their email.
A role contains permissions that you need to set for employees.
to set an appropriate role while creating an employee you should feel the parameter "roles"
in the request body (as it is mentioned above);
if you need to change/add/remove role of an employee look How to add a user to a role.
(optional) you may be interested to use branches for segregating employees.
to set an appropriate branch role while creating an employee you should feel the parameter "branch_name"
in the request body (as it is mentioned above);
if you need to change/add/remove the role of an employee take a look atHow to add employee to branch.
Example of response:
In the response you can see the employees of counterparty with their parameters and total amount of employees.
Get employees
Counterparty GUID
Employee's GUIDs
Employee's logins
Employee's names
Include disabled
Employee's branch_guids
Offset
Limit
Ordering
create employees and assign roles if not empty
Counterparty GUID
branch's guid
employee's email
employee's name
employee's paternal name
employee's phone
Roles if not empty assign created employee to roles from list
employee's surname
update employee
Counterparty GUID
Employee GUID
the employee's branch
if you need to disable an employee you should make this parameter true, default it is false
the employee's login
employee's name
employee's paternal name
employee's phone
employee's surname