Department API

Packaged CCE allows you to create departments, add configuration items to departments, and assign administrators to departments to limit the scope of their control. For example, the call center for a hospital might have departments for Radiology, Surgery, and Cardiology. Use of departments is optional.

For more information on how departments work, see the Cisco Packaged Contact Center Enterprise Administration and Configuration Guide at https://www.cisco.com/c/en/us/support/customer-collaboration/packaged-contact-center-enterprise/products-maintenance-guides-list.html.

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

URL

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

Operations

  • create: Creates one department.

  • delete: Marks one department for deletion.

  • get: Returns one department, using the URL https://<server>/unifiedconfig/config/department/<id>.

  • list: Retrieves a list of departments.

  • update: Updates one department.

Note

When you create, update or delete a department in Packaged CCE, the corresponding operations takes place in the Enterprise Chat and Email as well.

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)

  • description

See Search and Sort.

Example Get Response

<department>
   <changeStamp>0</changeStamp>
   <refURL>/unifiedconfig/config/department/(id)</refURL>
   <name>department1</name>
   <description>test department1</description>
   <administrators>
      <administrator>
         <refURL>/unifiedconfig/config/administrator/(id_1)</refURL>
         <userName>JohnSmith</userName>
         <domainName>BOSTON.COM</domainName>
      </administrator>
      <administrator>
         <refURL>/unifiedconfig/config/administrator/(id_2)</refURL>
         <userName>JaneDoe</userName>
         <domainName>BOSTON.COM</domainName>
      </administrator>
   </administrators>
</department>