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 Administration and Configuration Guide for Packaged CCE.

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

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>