data-service
2023.4
false
  • Data Service OpenAPI
重要 :
请注意此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Data Service API 指南

Automation CloudAutomation Cloud Public SectorAutomation Suite
上次更新日期 2024年4月19日

更新多条实体记录

批量更新多个现有实体记录。

API 端点

docs imageBaseURL/EntityService/<Entity>/update-batch
  • 基本 URL:

请求标头

页眉

授权

Bearer <access_token>

Content-Type

application/json

备注:
将尖括号 <...> 之间的所有值替换为其相应的用例值。
<access_token> 是您在授权外部应用程序时收到的。 它可用 1 小时,然后您需要生成新令牌,或请求刷新令牌。

查询参数

查询参数

数据类型

描述

默认值

扩展级别 (可选)

int32

指定要检索的相关记录的深度。 此参数的值可以是 1、2 或 3。

2

首次失败 (可选)

boolean

指定当记录处理失败时,Data Service 是否应停止处理剩余的记录。 如果设置为 true,Data Service 将在第一次失败时停止处理剩余的记录。

false

请求正文 (必填)

[
  {
    "ClosingDate": "2021-03-04",
    "CreatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "CreateTime": "2021-03-04T10:36:28.230Z",
    "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "Logo": {
      "Name": "string",
      "Path": "string",
      "Size": 0,
      "Type": "string"
    },
    "Name": "string",
    "Nations": 0,
    "OlymipcsVersion": 0,
    "OpeningDate": "2021-03-04",
    "UpdatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "UpdateTime": "2021-03-04T10:36:28.230Z"
  },
  {
    "ClosingDate": "2021-03-04",
    "CreatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "CreateTime": "2021-03-04T10:36:28.230Z",
    "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "Logo": {
      "Name": "string",
      "Path": "string",
      "Size": 0,
      "Type": "string"
    },
    "Name": "string",
    "Nations": 0,
    "OlymipcsVersion": 0,
    "OpeningDate": "2021-03-04",
    "UpdatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "UpdateTime": "2021-03-04T10:36:28.230Z"
  }
][
  {
    "ClosingDate": "2021-03-04",
    "CreatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "CreateTime": "2021-03-04T10:36:28.230Z",
    "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "Logo": {
      "Name": "string",
      "Path": "string",
      "Size": 0,
      "Type": "string"
    },
    "Name": "string",
    "Nations": 0,
    "OlymipcsVersion": 0,
    "OpeningDate": "2021-03-04",
    "UpdatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "UpdateTime": "2021-03-04T10:36:28.230Z"
  },
  {
    "ClosingDate": "2021-03-04",
    "CreatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "CreateTime": "2021-03-04T10:36:28.230Z",
    "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "Logo": {
      "Name": "string",
      "Path": "string",
      "Size": 0,
      "Type": "string"
    },
    "Name": "string",
    "Nations": 0,
    "OlymipcsVersion": 0,
    "OpeningDate": "2021-03-04",
    "UpdatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "UpdateTime": "2021-03-04T10:36:28.230Z"
  }
]

响应

200 OK

{
  "successRecords": [
    {
      "ClosingDate": "2021-03-04",
      "CreatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "CreateTime": "2021-03-04T10:37:47.459Z",
      "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "Logo": {
        "Name": "string",
        "Path": "string",
        "Size": 0,
        "Type": "string"
      },
      "Name": "string",
      "Nations": 0,
      "OlymipcsVersion": 0,
      "OpeningDate": "2021-03-04",
      "UpdatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "UpdateTime": "2021-03-04T10:37:47.459Z"
    }
  ],
  "failureRecords": {
    "error": "string",
    "record": {
      "ClosingDate": "2021-03-04",
      "CreatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "CreateTime": "2021-03-04T10:37:47.459Z",
      "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "Logo": {
        "Name": "string",
        "Path": "string",
        "Size": 0,
        "Type": "string"
      },
      "Name": "string",
      "Nations": 0,
      "OlymipcsVersion": 0,
      "OpeningDate": "2021-03-04",
      "UpdatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "UpdateTime": "2021-03-04T10:37:47.459Z"
    }
  }
}{
  "successRecords": [
    {
      "ClosingDate": "2021-03-04",
      "CreatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "CreateTime": "2021-03-04T10:37:47.459Z",
      "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "Logo": {
        "Name": "string",
        "Path": "string",
        "Size": 0,
        "Type": "string"
      },
      "Name": "string",
      "Nations": 0,
      "OlymipcsVersion": 0,
      "OpeningDate": "2021-03-04",
      "UpdatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "UpdateTime": "2021-03-04T10:37:47.459Z"
    }
  ],
  "failureRecords": {
    "error": "string",
    "record": {
      "ClosingDate": "2021-03-04",
      "CreatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "CreateTime": "2021-03-04T10:37:47.459Z",
      "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "Logo": {
        "Name": "string",
        "Path": "string",
        "Size": 0,
        "Type": "string"
      },
      "Name": "string",
      "Nations": 0,
      "OlymipcsVersion": 0,
      "OpeningDate": "2021-03-04",
      "UpdatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "UpdateTime": "2021-03-04T10:37:47.459Z"
    }
  }
}

401 未经授权

您未通过身份验证,无法访问 Data Service。确保您的 Assistant 或 Robot 已连接到您帐户中的新式文件夹。

403 Forbidden

您无权访问实体、字段或记录,或者您使用的机器人类型不受支持。请联系管理员以获取必要权限。

  • API 端点
  • 请求标头
  • 查询参数
  • 请求正文 (必填)
  • 响应
  • 200 OK
  • 401 未经授权
  • 403 Forbidden

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。