Getting Information on Operation by LogItem ID
You can get information about a specific operation performed during the backup job session.
Request
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
The following parameters must be specified in the URL of the request:
Parameter | Type | Description |
---|---|---|
jobSessionsId | string | Specifies the identification number of the backup session. For more information on how to get this parameter, see Getting Backup Job Sessions. |
logItemID | string | Specifies the identification number of the operation. For more information on how to get this parameter, see Getting Information on Operations by Session ID. |
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 OK.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
---|---|
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
The /JobSessions/{jobSessionsId}/LogItems/{logItemId} resource has the following properties:
Property | Type | Description |
---|---|---|
id | string | Specifies the ID of the operation performed during the backup job. |
usn | integer | Specifies the order number of the operation performed during the backup job. |
title | string | Specifies status and short description of the operation performed during the backup job. |
creationTime | UTC | Specifies date and time of the operation start. |
endTime | string | Specifies date and time of the operation end. |
_links | Dictionary of string [key] and Object [value] | Links to related resources (navigation property). |
Examples
Example 1
The example returns a resource representation of the operations that were performed during the backup job run.
Request: GET https://abc.tech.local:4443/v5/JobSessions/be376069-2865-4156-a9bc-825cef7d687e/LogItems/e7668151-524f-4fa5-a30a-c647bf7ca8c5
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "id": "6e61733d-738b-41e1-bd0d-d0b3340159d5", "usn": 1, "title": "[Success] Job started at 2/26/2021 1:00:00 AM", "creationTime": "2021-02-26T01:00:00.1732347+03:00", "endTime": "2021-02-26T01:00:00.1732347+03:00", "_links": { "self": { "href": "https://172.28.1.46:4443/v5/jobsessions/859277ed-b238-458c-9dec-2830e45e15fc/logitems/6e61733d-738b-41e1-bd0d-d0b3340159d5" }, "jobsessions": { "href": "https://172.28.1.46:4443/v5/jobsessions/859277ed-b238-458c-9dec-2830e45e15fc" } } } |