data-service
latest
false
  • Data Service OpenAPI
重要 :
请注意此内容已使用机器翻译进行了部分本地化。
Data Service API 指南
Automation CloudAutomation Cloud Public SectorAutomation Suite
Last updated 2024年7月18日

删除多条实体记录

批量删除多个现有实体记录。

API 端点

docs imageBaseURL/EntityService/<Entity>/delete-batch
  • 基本 URL: https://cloud.uipath.com/{organizationName}/{tenantName}/dataservice_/api

请求标头

页眉

授权

Bearer <access_token>

Content-Type

application/json

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

查询参数

查询参数

数据类型

描述

默认值

首次失败 (可选)

boolean

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

false

请求正文 (必填)

[
  "1we90a12-4512-670i-15hj-3d213k09qgs8",
  "3fa85f64-5717-4562-b3fc-2c963f66afa6"
][
  "1we90a12-4512-670i-15hj-3d213k09qgs8",
  "3fa85f64-5717-4562-b3fc-2c963f66afa6"
]

响应

200 OK

{
  "successRecords": [
    {
      "ClosingDate": "2021-03-04",
      "CreatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "CreateTime": "2021-03-04T10:40:14.561Z",
      "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:40:14.561Z"
    }
  ],
  "failureRecords": {
    "error": "string",
    "record": {
      "ClosingDate": "2021-03-04",
      "CreatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "CreateTime": "2021-03-04T10:40:14.561Z",
      "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:40:14.561Z"
    }
  }
}{
  "successRecords": [
    {
      "ClosingDate": "2021-03-04",
      "CreatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "CreateTime": "2021-03-04T10:40:14.561Z",
      "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:40:14.561Z"
    }
  ],
  "failureRecords": {
    "error": "string",
    "record": {
      "ClosingDate": "2021-03-04",
      "CreatedBy": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "CreateTime": "2021-03-04T10:40:14.561Z",
      "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:40:14.561Z"
    }
  }
}

401 未经授权

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

403 Forbidden

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

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

此页面有帮助吗?

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