提供: Bright Pattern Documentation
移動先: 案内検索
• English


getAgentNotReadyReasons

エージェントの「準備完了前」状態の原因として利用可能な理由のリストを取得します。

リクエスト

構文

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

パラメータ

(なし)

リクエスト例

   getAgentNotReadyReasonsButton.onclick = async () => {

const result = await adApi.getAgentNotReadyReasons();

}

戻り値

オブジェクト オブジェクトの値 データ型 オプションですか?

(Y/N)

戻り値の説明
文字列の配列 現在のエージェントについて、コールセンターで設定済みの「受付不可」理由の一覧です。これらは、エージェントを「受付不可」の状態に設定する際、SDKメソッド「setAgentState」で必須となります。
< 前へ | 次へ >