Get archive process batch details by its archiveGUID

get

/ArchiveService/api/v1/archives/{archiveGUID}/batches

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successfull retrieved archival process batch details
Body ()
Root Schema : BatchResponse
Type: array
Archival Batch Response Schema
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : failedEntities
Type: array
Show Source
Nested Schema : ArchivalBatchEntityResponse
Type: array
Archival Batch Entity Response Schema
Show Source
Nested Schema : items
Type: object
Show Source

404 Response

No archival process batch details found for the archiveGUID
Back to Top

Examples

This example describes how to the service will provide all the batch details of an Archival job.

Example cURL Command

Use the following cURL command to submit a request on the REST resource:

curl \
  -X GET \
  -H "Content-Type: application/json" \
  -u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
  -L "http://server:port/ArchiveService/api/v1/archives/{archiveGUID}/batches"

Example Response Body

The following shows an example of the response body in JSON format:

[
    {
        "archiveGUID": "E28FAF74-7971-4169-8A46-2ED526A7037C",
        "batchID": 1,
        "batchStatus": "FAILED",
        "createdDate": "2023-06-06",
        "endTime": "2023-06-06T09:40:37.199Z",
        "failedEntities": [
            {
                "entityGuid": "62946103-F951-444F-B4BA-1D2D32B1D584",
                "status": "FAILED"
            }
        ],
        "startTime": "2023-06-06T09:40:37.117Z"
    },
    {
        "archiveGUID": "E28FAF74-7971-4169-8A46-2ED526A7037C",
        "batchID": 2,
        "batchStatus": "COMPLETED",
        "createdDate": "2023-06-06",
        "endTime": "2023-06-06T09:40:37.288Z",
        "failedEntities": [],
        "startTime": "2023-06-06T09:40:37.203Z"
    }
]

Back to Top