Reason Code API

Agents enter reason codes on their agent desktops when they go Not Ready. Reason codes appear in Unified Intelligence Center reports and help identify agent behavior.

Use the Reason Code API to define new reason codes, and edit and delete records of existing reason codes.

URL

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

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
  • text
  • description
  • text (default)
  • description
  • code

See Search and Sort.

Example get response

<reasonCode>
   <changeStamp>0</changeStamp>
   <refURL>/unifiedconfig/config/reasoncode/5001</refURL>
   <code>1</code>
   <description>This is a reason code.</description>
   <text>Reason Code1</text>
</reasonCode>