orchestrator
2024.10
true
Orchestrator API 指南
流程请求
获取
https://{yourDomain}/{organizationName}/{tenantName}/orchestrator_/odata/Releases?$filter=%20Name%20eq%20'all_activities_DocEnv'
{
"@odata.context": "https://{yourDomain}/{organizationName}/{tenantName}/orchestrator_/odata/$metadata#Releases",
"@odata.count": 1,
"value": [
{
"Key": "01b7cf62-98e0-4a69-9a65-be7514643229",
"ProcessKey": "all_activities",
"ProcessVersion": "1.0.6666.26728",
"IsLatestVersion": false,
"IsProcessDeleted": false,
"Description": null,
"Name": "all_activities_DocEnv",
"EnvironmentId": 7,
"EnvironmentName": "DocEnv",
"InputArguments": null,
"Id": 6,
"Arguments": null
}
]
}
{
"@odata.context": "https://{yourDomain}/{organizationName}/{tenantName}/orchestrator_/odata/$metadata#Releases",
"@odata.count": 1,
"value": [
{
"Key": "01b7cf62-98e0-4a69-9a65-be7514643229",
"ProcessKey": "all_activities",
"ProcessVersion": "1.0.6666.26728",
"IsLatestVersion": false,
"IsProcessDeleted": false,
"Description": null,
"Name": "all_activities_DocEnv",
"EnvironmentId": 7,
"EnvironmentName": "DocEnv",
"InputArguments": null,
"Id": 6,
"Arguments": null
}
]
}
通过对
/odata/Releases(Id)
端点发出以下 PATCH 请求,您可以在流程级别添加或更改特定输入参数的值。如果要在开始作业时添加这些值,请参阅作业请求主题。
注意:对于 API 调用,全部输入参数的 JSON 表示不得超过 10,000 个字符,包括参数名称、所有转义字符、空格、方括号和参数值。
补丁
https://{yourDomain}/{organizationName}/{tenantName}/orchestrator_/odata/Releases(55)
{
"Arguments": {
"Input": "{\"age\":27,\"trueOrFalse\":false,\"stringNew\":\"testing\"}"
}
}
{
"Arguments": {
"Input": "{\"age\":27,\"trueOrFalse\":false,\"stringNew\":\"testing\"}"
}
}