Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
bgColor#EAF4FD

When requesting ListUsers, the values for the "Inactive" and "Employment Ended" statuses are the same — 3.

To differentiate between these statuses, use the ListUsers/v2 request. In this way, in the status parameter, inactive users will be indicated by status 3, while users who are identified as "Employment Ended" will be indicated by status 5.

...

ParameterTypeDescription
token (required)stringAccess token. You can obtain a token by making a request
groupId (optional)string

If this parameter is used, only users belonging to the specified group will be retrieved

departmentId (optional)stringIf this parameter is used, only users belonging to the specified department will be retrieved
pageSize (optional)stringThe number of entries per page. If not indicated, equal to 1000
pageToken  (optional)stringThe token needed to continue to the next page
logins (optional)stringAn array of logins whose users you want to retrieve
emails (optional)stringAn array of emails whose users you want to retrieve

...

ParameterTypeDescription
usersUserProfile[]

An array containing user profiles.The UserProfile object has the same properties as the getUserProfile method

nextPageTokenstringThe token needed to continue to the next page
workLeaveStatus (optional)string

A work leave status. An array with the following parameters:

  • workLeaveReason  
    Reasons for work leave status
  • startDate
    The work leave status start date. You can add it in the yyyy-mm-dd format
  • endDate
    The work leave status end date. You can add it in the yyyy-mm-dd format

...