Genesys Cloud Developer Forum

UsersApi - expand: "presence" not working

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 = api_users.get_users(opts)

Thanks,
Jeroen

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

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