UiPath Documentation
data-service
2.2610
true
Guide de l'API Data Fabric
  • Open API

Supprimer plusieurs enregistrements d’entités

API reference for deleting multiple entity records in a batch in Data Fabric, with the endpoint URL, request parameters, and example payloads.

Supprime plusieurs enregistrements d'entités existants dans un lot.

Point de terminaison de l’API​

image des documentsBaseURL/EntityService/<Entity>/delete-batch

  • URL de base : https://{yourDomain}/{organizationName}/{tenantName}/datafabric_

En-têtes de requête.​

En-têteValeur (Value)
AutorisationPorteur <your-access-token>
Type de contenuapplication/json
Remarque :

Remplacez toutes les valeurs entre les chevrons <...> par leurs valeurs de cas d’utilisation correspondantes.

Le <your-access-token> est celui que vous avez reçu lorsque vous avez autorisé l’application externe. Il est disponible pendant 1 heure, puis vous devez en générer un nouveau ou demander un jeton d'actualisation.

Paramètres de requête​

Paramètre de requêteType de donnéesDescriptionValeur par défaut
ÉchecOnPremier (Facultatif)booleanSpecifies if the Data Fabric should stop processing the remaining records when a record fails to process. If set to true, Data Fabric will stop processing the remaining records at the first failure.false

Corps de la requête (obligatoire)​

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

Réponses​

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 Non autorisé​

You are not authenticated to access Data Fabric. Make sure your Assistant or Robot is connected to a modern folder in your account.

403 Forbidden​

Vous n’êtes pas autorisé à accéder à l’entité, au champ, ni à l’enregistrement, ou utilisez un type de robot non pris en charge. Contactez votre administrateur afin d’obtenir les autorisations requises.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance(opens in new window)

Vous souhaitez apprendre ? UiPath Academy(opens in new window)

Vous avez des questions ? UiPath Forum(opens in new window)

Rester à jour