👤GET - User Call Center

my_api.get.user_call_center()

Retrieves a list of call centers that the specified user is currently associated with.

Parameters

  • user_id (str): Target User ID.

Returns

  • Dict: Agents Call Centers setting and a list of the User's associated Call Centers.

How To Use:

from odins_spear import api

my_api= api.Api(base_url="https://base_url/api/vx", username="john.smith", password="ODIN_INSTANCE_1")
my_api.authenticate()

my_api.get.user_call_center(
    user_id="myUserID@domain.com"
)

Example Returned Data (Formatted)

{
  "agentACDState": "Available",
  "agentThresholdProfileName": "Default Agent Threshold Profile",
  "useDefaultGuardTimer": true,
  "enableGuardTimer": false,
  "guardTimerSeconds": 5,
  "useSystemDefaultUnavailableSettings": true,
  "forceAgentUnavailableOnDNDActivation": false,
  "forceAgentUnavailableOnPersonalCalls": false,
  "forceAgentUnavailableOnBouncedCallLimit": false,
  "numberConsecutiveBouncedCallsToForceAgentUnavailable": 3,
  "forceAgentUnavailableOnNotReachable": false,
  "makeOutgoingCallsAsCallCenter": false,
  "userId": "myUserID@domain.com",
  "callCenters": [
    {
      "serviceUserId": "TestCallCenter",
      "phoneNumber": null,
      "extension": null,
      "available": true,
      "logoffAllowed": false,
      "type": "Premium",
      "priority": 1,
      "routingType": "Priority Based",
      "skillLevel": null
    }
  ]
}

Last updated