automation-hub
2023.10
false
在概念阶段检索自动化概念,等待审核状态
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
Automation Hub API 指南
Last updated 2024年4月19日
在概念阶段检索自动化概念,等待审核状态
以下请求举例说明了如何检索在租户中注册且符合以下条件的所有自动化概念的详细信息:
-
概念处于概念阶段:phases=1
-
概念状态为“等待审核”:status=46
-
类别 ID 为:category=717
备注:
请使用较低的类别 ID,以便输入整个链。
GET:
https://{yourDomain}/automationhub_/api/v1/openapi/automations?category=717
请求:
Headers
Content-Type: application/json
Authorization: Bearer [Tenant ID/Token]
x-ah-openapi-app-key: [API key if added]
x-ah-openapi-auth: openapi-token
Headers
Content-Type: application/json
Authorization: Bearer [Tenant ID/Token]
x-ah-openapi-app-key: [API key if added]
x-ah-openapi-auth: openapi-token
响应:
Content-Type: application/json
{
"message": "Success",
"statusCode": 200,
"data": {
"page": 1,
"pageSize": 4,
"totalItems": 4,
"totalPages": 1,
"processes": [
{
"process_id": 1,
"process_slug": "onboarding-of-new-employee",
"process_submitter_user_id": 2,
"process_name": "Onboarding of new employee",
"process_description": "{\"blocks\":
"process_rules_id": 2,
"process_input_type_id": 6,
"process_stability_id": 17,
"process_input_structure_id": 11,
"process_documentation_availability_ids": "21",
"owner": 2,
"process_created_epoch": 1600350166000,
"process_created_at": "2020-09-17T13:42:46.000Z",
"process_updated_epoch": 1600350166000,
"process_updated_at": "2020-09-17T13:42:46.000Z",
"process_updated_user_id": 1,
"process_phase_id": 9,
"process_phase_status_id": 89,
"process_challenges_encountered":
...see more fields examples in swagger or postman documentation
{
"message": "Success",
"statusCode": 200,
"data": {
"page": 1,
"pageSize": 4,
"totalItems": 4,
"totalPages": 1,
"processes": [
{
"process_id": 1,
"process_slug": "onboarding-of-new-employee",
"process_submitter_user_id": 2,
"process_name": "Onboarding of new employee",
"process_description": "{\"blocks\":
"process_rules_id": 2,
"process_input_type_id": 6,
"process_stability_id": 17,
"process_input_structure_id": 11,
"process_documentation_availability_ids": "21",
"owner": 2,
"process_created_epoch": 1600350166000,
"process_created_at": "2020-09-17T13:42:46.000Z",
"process_updated_epoch": 1600350166000,
"process_updated_at": "2020-09-17T13:42:46.000Z",
"process_updated_user_id": 1,
"process_phase_id": 9,
"process_phase_status_id": 89,
"process_challenges_encountered":
...see more fields examples in swagger or postman documentation