Skip to main content
Call this API to check whether a department or an employee belongs to an attendance group.

API Call Description

  • If you check an employee list, this API returns the userId values of the employees in the attendance group.
  • If you check a department list, this API returns the IDs of the departments in the attendance group. It does not return the userId list of the employees in those departments.
For example, the attendance members of an attendance group include the Test Department and the employee John. The Test Department includes the employee Mike. The API returns the following results for different departments or users:
  • If you check Mike’s userId, this API does not return Mike’s userId.
  • If you check John’s userId, this API returns John’s userId.
  • If you check the Test Department ID, this API returns the Test Department ID.
  • If you check whether John and Mike are in the attendance group, this API returns John’s userId.

Request

Query Parameters

Request Body

Request Example

Java
Python
PHP
C#

Response

Response Body

Response Body Example

Error Codes

If the API call returns an error, find a solution in the Global Error Codes document based on the error message.