People details using API

Hello Team,

We are attempting to obtain user information via the API (api/v2/users), but this isn't returning the information that appears in the Cloud application, such as the last time a person checked in, licence information, etc. So I'm attempting to utilise this technique, which will satisfy my needs: "https://apps.mypurecloud.com/directory/api/v2/users/bulk/xxxx,xxx,xxx,xxx,xx,xxx?personIds=true "But I'm receiving the below error when I call this method. Could you please assist me with this?

{"reason": "Not Found", "code": 404, "detail": "Entity [person] is not found by guid [c73f6add-c285-4d60-b468-93d91d047a77]", "payload": {"code": "NOT_FOUND", "entity": "person", "_id": "c73f6add-c285-4d60-b468-93d91d047a77"}}

Thanks,
Sudhakar Balla

This is not part of the Platform API and is not for external use. Private resources are not documented and can be changed or removed at any time without notice. Not all user data is available via the Platform API; supported endpoints can be found here: https://developer.genesys.cloud/useragentman/users/.

You can request new features and share your use case at https://genesyscloud.ideas.aha.io/.

Hi Smith,
Thanks for your replay. Is there is any way to get agent last login and roles information like that through any API or by Query. If so, could you please provide me the details.

Thanks in Advance,
Sudhakar Balla

Have you looked at the API resources I linked to above? The information you're asking about is on the user.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.