Update Procedure
Replace an existing procedure on the named receptionist. Send every field: an omitted body resets to empty.
路径参数
agent_id
procedure_id
请求头
xi-api-key
xi-workspace-id
The customer workspace a reseller's API key acts on.
请求
This endpoint expects an object.
name
Name of the procedure.
trigger
When the receptionist should run the procedure, in natural language. The receptionist matches caller requests against it, e.g. 'When the caller wants to book an appointment'.
body
Step-by-step instructions, as markdown.
响应
成功响应
name
Name of the procedure.
trigger
When the receptionist should run the procedure, in natural language. The receptionist matches caller requests against it, e.g. 'When the caller wants to book an appointment'.
body
Step-by-step instructions, as markdown.
id
created_at_unix
Unix timestamp (seconds since epoch)
source_key
错误
422
Unprocessable Entity Error