From Bright Pattern Documentation
Jump to: navigation, search
This page contains changes which are not marked for translation.
• 5.19


Gets list of available reasons for an agent's “not ready” state.



getAgentNotReadyReasons(): Promise<OperationResult<string[]>>



Example Request

   getAgentNotReadyReasonsButton.onclick = async () => {

       const result = await adApi.getAgentNotReadyReasons();


Return Value

Object Object Values Data Type Optional?


Return Value Description
Strings Array List of configured in the Call Center available not ready reasons for the current agent. They are required for the API method “setAgentState” when you would set an agent in the “not_ready” state.
< Previous | Next >