Legacy Dev Forum Posts

 View Only

Sign Up

UsersApi - expand: "presence" not working

  • 1.  UsersApi - expand: "presence" not working

    Posted 06-05-2025 18:14

    Jeroen | 2018-09-06 06:48:48 UTC | #1

    Hello,

    it seems the presence is not being returned anymore, did something change?

    We are now using gem version 36.1.0 and we get the presence information using expand as expected, but when we update to the latest version, that information is not being returned anymore.

    api_users = PureCloud::UsersApi.new

    opts = {

    page_size: 900, # Integer

    Page size

    page_number: 1, # Integer

    Page number

    sort_order: "ascending" # String

    Ascending or descending sort order

    expand: "presence" # Array<String>

    Which fields, if any, to expand

    }

    stats = apiusers.getusers(opts)

    Thanks, Jeroen


    tim.smith | 2018-09-06 15:00:41 UTC | #2

    Be sure you're making the request according to the documentation. expand should be an array, but is not in your example.


    system | 2018-10-07 15:00:41 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 3496