UiPath Documentation
maestro
latest
false
Maestro API guide
  • CaseApp API
    • CaseApp requests
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

CaseApp requests

API endpoints for triggering ad-hoc case tasks through the CaseApp v3 API.

Trigger an ad-hoc case task

Triggers one manually-triggered (ad-hoc) task, identified by its case plan name, on a running Maestro Case instance.

发布

{AutomationCloudURL}/{organizationName}/{tenantName}/pims_/api/v3/caseapp/instances/{instanceId}/tasks/trigger

请求标头

密钥
授权承载
X-UIPATH-FolderKeyThe folder key of the case instance

请求正文

字段类型必填描述
taskName字符串The name of the ad-hoc task to trigger, exactly as it resolves in the case plan. Matching is case-sensitive.
taskInputobjectA free-form JSON object forwarded verbatim to the triggered task as a nested payload, for example approval references or decision data. The platform doesn't interpret or schema-validate this payload, and it isn't bound to the task's declared inputs.
{
  "taskName": "string",
  "taskInput": {}
}
{
  "taskName": "string",
  "taskInput": {}
}

响应代码

200 Success (empty body)

错误响应

代码意义
400The request body is missing or invalid.
401The caller is not authenticated.
403The caller lacks the required permission for this task.
404The case instance doesn't exist, or no ad-hoc task with that name exists on the case plan. Only tasks with an "adhoc" entry condition are eligible — other names return 404.
500An unexpected server error occurred.

权限

Requires the Cases.RunAdhocTasks permission, authorized at the scope of the stage that owns the requested task.

Close a case instance

Closes a running Maestro Case instance.

发布

{AutomationCloudURL}/{organizationName}/{tenantName}/pims_/api/v3/caseapp/instances/{instanceId}/close

请求标头

密钥
授权承载
X-UIPATH-FolderKeyThe folder key of the case instance

响应代码

代码意义
200The instance transitioned to Canceling. The worker completes the shift to Cancelled asynchronously. An already-terminal instance returns its current status unchanged.
400The instance has already reached Completed and can't be cancelled.
401The caller is not authenticated.
403The caller lacks the required permission for this instance.
404The instance ID doesn't resolve to a case instance.

权限

Requires the Cases.Close persona grant.

  • Trigger an ad-hoc case task
  • 请求标头
  • 请求正文
  • 响应代码
  • 错误响应
  • 权限
  • Close a case instance
  • 请求标头
  • 响应代码
  • 权限

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新