This API helps you to retrieve all the employees that are active in the center on the specified date.
You must specify the unique identifier of the center as center_id in the API request.
You can also leverage the pagination feature by passing page and size query parameters if you have a large number of records to be displayed. By default, page is set as 1 and size is set as 10. size cannot be more than 100: which means that the maximum records per page cannot be more than 100.
Response Details
Name
Type
Description
employees
object
Object that contains all the employees-related elements.
job_info
object
Object containing the job details of the employee.
error
object
Object that contains error message and error code details. For more information, refer to the error Object table.
employees Object
Name
Type
Description
id
guid
Unique identifier of the employee.
code
string
Code of the employee.
personal_info
object
Object containing the personal details of the employee.
first_name
string
First name of the employee.
last_name
string
Last name of the employee.
name
string
Name of the employee.
gender
enum
Gender of the employee: NotSpecified = -1, Male = 1, Female = 0, Other = 3.
job_info Object
Name
Type
Description
id
guid
Unique identifier of the job of the employee.
name
string
Name of the job of the employee.
error Object
code
message
438
user does not have authorization.
502
Invalid center_id.
400
The request is invalid.
Language
Credentials
Header
Click Try It! to start a request and see the response here!