automation-hub
latest
false
检索特定概念的成本收益分析
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
Automation Hub API 指南
Last updated 2024年7月3日
检索特定概念的成本收益分析
自动化管道最重要的方面之一是查看投资回报率,您可以在 Automation Hub 的“成本收益分析”页面中轻松找到和管理投资回报率,但仍需要聚合 ROI 数据并将其导出到外部系统,以便进一步计算和处理。要轻松检索此信息,您可以使用 /cba
API 调用。
以下请求举例说明了如何检索您某个概念的成本收益分析详细信息。
备注:
-
此调用必须添加自动化概念的 ID。要检索它,请先发出 GET 自动化概念调用。
-
另请查看 GET 自动化概念调用示例。
在此示例中,我们将检索为标识号为 29 (id=29) 的概念输入的成本收益分析。
GET:
https://cloud.uipath.com/{orgName}/{tenantName}/automationhub_/api/v1/openapi/cba?id=29'
请求:
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": {
"baseline_is_set": 1,
"sections": [
{
"title": "Project Plan",
"sections": [
{
"title": "Ease of Implementation",
"input_fields": [
{
"field_name": "Estimated by Algorithm",
"value": "Easy"
},
{
"field_name": "Final",
"input_options": [
"Easy",
"Medium",
"Difficult"
],
"input_selected": "Easy"
},
{
"field_name": "Comment",
"value": null
}
]
},
{
"title": "Baseline",
"input_fields": [
{
"field_name": "Analysis",
"start_date": {
"value": "07/16/2020"
},
"end_date": {
"value": "07/31/2020"
},
"baseline_cycle_time": {
"value": 12
}
},
{
"field_name": "Solution Design",
"start_date": {
"value": "07/31/2020"
},
"end_date": {
"value": "08/13/2020"
},
"baseline_cycle_time": {
"value": 10
]
}
]
{
"message": "Success",
"statusCode": 200,
"data": {
"baseline_is_set": 1,
"sections": [
{
"title": "Project Plan",
"sections": [
{
"title": "Ease of Implementation",
"input_fields": [
{
"field_name": "Estimated by Algorithm",
"value": "Easy"
},
{
"field_name": "Final",
"input_options": [
"Easy",
"Medium",
"Difficult"
],
"input_selected": "Easy"
},
{
"field_name": "Comment",
"value": null
}
]
},
{
"title": "Baseline",
"input_fields": [
{
"field_name": "Analysis",
"start_date": {
"value": "07/16/2020"
},
"end_date": {
"value": "07/31/2020"
},
"baseline_cycle_time": {
"value": 12
}
},
{
"field_name": "Solution Design",
"start_date": {
"value": "07/31/2020"
},
"end_date": {
"value": "08/13/2020"
},
"baseline_cycle_time": {
"value": 10
]
}
]