Attribute API

Attributes identify a call routing requirement, such as language, location, or agent expertise. You can create two types of attributes: boolean or proficiency. For example, you can create a Boston attribute that specifies that the agent assigned to this attribute must be located in Boston. Then, if a precision queue requires an agent who lives in Boston, then an agent with the attributes Boston = True is a good match. When you create a proficiency attribute, you assign a proficiency level to the agent.

Use the Attribute API to list the attributes currently defined in the database, define new attributes, and view, edit, and delete existing attributes.

URL

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

Operations

Parameters

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)
  • dataType
  • defaultValue
  • description

See Search and Sort.

Example Get Response

<attribute>
     <changeStamp>0</changeStamp>
     <refURL>/unifiedconfig/config/attribute/5002</refURL>
     <agentCount>1</agentCount>
     <dataType>4</dataType>
     <defaultValue>1</defaultValue>
     <description>test</description>
     <name>AttributeA</name>
     <agentAttributes>
           <agentAttribute>
                <attributeValue>5</attributeValue>
                <description>test</description>
                <agent>
                     <refURL>/unifiedconfig/config/agent/8467</refURL>
                     <agentId>123</agentId>
                     <firstName>Jane</firstName>
                     <lastName>Smith</lastName>
                     <userName>jsmith</userName>
                </agent>
            </agentAttribute>
       </agentAttributes>
</attribute>