getServicePresenceStatusChannels

Retrieves the service channels that are associated with an Omni-Channel user’s current presence status. Available in API versions 32.0 and later.

NameTypeDescription
callbackfunctionJavaScript method to call when the channels associated with a presence status are retrieved.

This method is asynchronous so it returns its response in an object in a callback method. The response object contains the following properties:

NameTypeDescription
successBooleantrue if retrieving the current presence status channels was successful; false if the retrieving the current presence status channels wasn’t successful.
channelsJSON string of channel objectsReturns the IDs and API names of the channels associated with the presence status.