Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  How to get all users with one API call?

    Posted 06-18-2018 15:41
    No replies, thread closed.
    I'm using the following API to get list of users:   https://developer.mypurecloud.com/api/rest/v2/users/index.html

    One thing that I want to do is get ALL users, regardless of state.   What I'm doing now is basically performing 3 separate calls -- one for active, one for inactive and one for deleted.  To reduce the number of API calls is it possible to put in a "all" value or something similar for the "state" parameter?

    ------------------------------
    Felice Vittoria
    Automated Voice & Data Solutions
    ------------------------------


  • 2.  RE: How to get all users with one API call?
    Best Answer

    Posted 06-19-2018 09:49
    No replies, thread closed.
    Unfortunately, GET api/v2/users only supports a value of active, inactive, or deleted for the state property at this time.

    ------------------------------
    Jim Crespino
    Genesys
    ------------------------------



  • 3.  RE: How to get all users with one API call?

    Posted 06-19-2018 09:51
    No replies, thread closed.
    By the way, https://developer.mypurecloud.com offers a "Forum" link to a developer specific forum where these types of questions are more appropriate.

    ------------------------------
    Jim Crespino
    Genesys
    ------------------------------



  • 4.  RE: How to get all users with one API call?

    Posted 06-19-2018 10:30
    No replies, thread closed.
    Thanks Jim for both the answer and recommendation on using the developer forum.

    ------------------------------
    Felice Vittoria
    Automated Voice & Data Solutions
    ------------------------------