ナビゲーションにスキップ

Update Procedure Visibility

Update or clear the visibility of a procedure draft. This is the condition that controls if a procedure is visible to the agent in its procedure menu.

パスパラメータ

agent_idstring必須

手順のドラフトを取得するエージェントID

branch_idstring必須

プロシージャドラフトを取得するブランチID

procedure_idstring必須

プロシージャID

ヘッダー

xi-api-keystringオプション

リクエスト

This endpoint expects an object.
visibilityobject or null必須
The condition that controls if the procedure is visible to the agent in its procedure menu. Null clears it, so the procedure is always visible.

レスポンス

成功レスポンス。

procedure_idstring

手順ID

namestring<=200 characters

手順名

contentstring<=50000 characters

手順コンテンツ

typeenumデフォルト値 free_form

手順タイプ

許可された値:
triggerstringオプションデフォルト値

エージェントがこの手順を使用するタイミング。空の文字列は、別の手順から参照された場合にのみ開始するサブ手順であることを示します。

folder_parent_idstring or nullオプション

この手順を配置するフォルダーの手順ID。Noneはルートを意味します。

visibilityobject or nullオプション
The condition that controls if the procedure is visible to the agent in its procedure menu. None means always visible.

エラー

422
Unprocessable Entity Error