v1

latestOpenAPI 3.1.02026-07-245531,0212.1 MB
Legal Hold

Manage eDiscovery Download Client jobs - v4

Use this API to cancel, retry, pause, and resume download jobs.

put/legalholds/v4/job

Request body

jobIdsinteger[] required

List of Job IDs for which action is to be taken. Example-[115,114]

action'Cancel' | 'Pause' | 'Retry' | 'Resume' required

Specify the action that you want to take. Use any of the following:

Example request

{
  "action": "Cancel"
}

Response

Ok

messagestring

Example response

{
  "message": "Download Job has been Cancelled Successfully.",
  "jobs": [
    {
      "custodianEmail": "john@druva.org",
      "jobId": 55,
      "percentComplete": 100,
      "webdavUrl": "https://restore-c1-druva.com/webdav/legal-policy1/John/OneDrive/",
      "jobEndTime": 1597914384,
      "clientSecretId": "jEpceguNqE98heUe7rboMh9kkahXWyW",
      "legalholdId": 47,
      "metadataDownload": 1,
      "ddClientId": 48,
      "totalFiles": 10,
      "data_integrity": 10,
      "type_name": "Human Resources",
      "jobStatus": "Successful",
      "dataDownloaded": 5731256,
      "legalholdName": "Legal-Policy1",
      "jobStartTime": 1597909321,
      "totalDataSize": 5731256,
      "cplatform": "win32",
      "dCategory": "cloudapp-others",
      "custodian": "John Doe",
      "errorMessage": "ERR_401",
      "filesDownloaded": 10,
      "dataSource": "OneDrive",
      "createdBy": "Ernie Carter",
      "totalFilesZipped": 15,
      "downloadLocation": "D:\\Downloads",
      "data_integrity_enabled": 1,
      "downloadOption": 1,
      "total_data_integrity": 131,
      "customerId": 7,
      "clientName": "Client-1.0.0"
    }
  ]
}