Create Reason Code
POST https://{{axpAPIDomain}}/api/admin/voice/v1/accounts/:accountId/communication-managers/:communicationManagerId/reason-codes
This API requires the Account Administrator role.
Creates a new Reason Code that can then be selected by agents in a agent desktop client. Reason codes can be of type 'NOTREADY', 'LOGOUT' or 'CALLWORKCODE'. 'NOTREADY' is used to indicate the reason the agent has went not ready (will not receive any new Engagements).
Request Body
{"codeName"=>"Lunch", "codeNumber"=>"21", "codeType"=>"NOT_READY", "description"=>"Agent is on Lunch.", "isInterruptible"=>true, "systemDefinedAttributes"=>["WORK_ON_DIGITAL"], "organizationNodeId"=>"EXMPLE"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
appkey | string | ||
Content-Type | string | ||
Accept | string |