Cisco Unified Contact Center Enterprise Developer Reference Release 10.0(x)
Media Routing Domain API
Downloads: This chapterpdf (PDF - 1.15MB) The complete bookPDF (PDF - 2.25MB) | The complete bookePub (ePub - 145.0KB) | The complete bookMobi (Mobi - 238.0KB) | Feedback

Media Routing Domain API

Media Routing Domain API

A media routing domain is a collection of skill groups associated with a common media class. It is used to organize how requests for different media are routed.

Use the Media Routing Domain (MRD) API to list the MRDs currently defined in the database.

URL

https://<server>/unifiedconfig/config/mediaroutingdomain

Operations

  • list: Retrieves a list of media routing domains.
  • get: Returns one media routing domain using the URL https://<server>/unifiedconfig/config/mediaroutingdomain/<id>.

Parameters

  • refURL: The refURL of the media routing domain. See Shared Parameters.
  • name: Name of the media routing domain. See Shared Parameters.
  • description: See Shared Parameters.
  • mediaClass: Includes the following parameters:
    • name: The name of the media class.
    • id: The ID of the media class.
  • serviceLevelThreshold: Value in seconds within which calls must be answered.
  • interruptible: Indicates if an agent can be interrupted by assigned tasks from another MRD. Values are true/false.
  • maxCallsInQueue: The maximum number of calls allowed to be queued at one time.
  • maxCallsInQueuePerCallType: The maximum number of calls allowed to be queued, per call type.
  • maxTimeInQueue: The maximum amount of time, in seconds, a call can queued.

Search and Sort Values

The following table shows the parameters that are searched and the parameters that are sortable.

Search parameters Sort parameters
  • name
  • description
  • name (default)
  • description
  • interruptible
  • maxCallsInQueue
  • maxCallsInQueuePerCallType
  • maxTimeInQueue

See Search and Sort.

Advanced search parameters

You can perform a nonVoiceOnly search on the Media Routing Domain API:
  • nonVoiceOnly: Set this attribute to true in the search query parameter to make the API return only media routing domains other than the Cisco_Voice media routing domain. For example, q=nonVoiceOnly:true.

Example Get Response

 <mediaRoutingDomains>
   <mediaRoutingDomain>
      <changeStamp>0</changeStamp>
      <refURL>/unifiedconfig/config/mediaroutingdomain/5001</refURL>
      <description>System-provided media routing domain for Cisco_Chat</description>
      <interruptible>false</interruptible>
      <maxCallsInQueue>1000</maxCallsInQueue>
      <maxCallsInQueuePerCallType>1000</maxCallsInQueuePerCallType>
      <maxTimeInQueue>1000</maxTimeInQueue>
      <mediaClass>
        <name>Cisco_Chat</name>
        <id>6</id>
      </mediaClass>
      <name>Cisco_Chat</name>
      <serviceLevelThreshold>30</serviceLevelThreshold>
   </mediaRoutingDomain>
   <mediaRoutingDomain>
      <changeStamp>0</changeStamp>
      <refURL>/unifiedconfig/config/mediaroutingdomain/1</refURL>
      <description>Default Media Routing Domain for Cisco_Voice</description>
      <interruptible>false</interruptible>
      <mediaClass>
        <name>Cisco_Voice</name>
        <id>4</id>
      </mediaClass>
      <name>Cisco_Voice</name>
      <serviceLevelThreshold>30</serviceLevelThreshold>
    </mediaRoutingDomain>
  </mediaRoutingDomains>