Getting Information on Operation by LogItem ID
You can get information about a specific operation performed during the backup job session.
Request
GET https://<hostname>:4443/v6/JobSessions/{jobSessionsId}/LogItems/{logItemId} |
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 |
---|---|---|
sessionId | string | Specifies the identification number of the job session. For more information on how to get this parameter, see Getting 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
In the response body, the server returns a resource representation of the /JobSessions/{jobSessionsId}/LogItems/{logItemId} resource. The response body contains the following properties:
Property | Type | Description |
---|---|---|
id | string | Specifies the ID of the operation performed during the backup or backup copy job. |
usn | integer | Specifies the order number of the operation performed during the backup or backup copy job. |
title | string | Specifies status and short description of the operation performed during the backup or backup copy job. |
creationTime | UTC | Specifies date and time of the operation start. |
endTime | UTC | Specifies date and time of the operation end. |
_links | Dictionary of string [key] and Object [value] | Links to related resources (navigation property). |
Example
The example returns a resource representation of the specified operation that was performed during the specified backup job session.
Request: GET https://abc.tech.local:4443/v6/JobSessions/d5f34eeb-17cc-48f9-bab0-4fc5cee225b5/LogItems/e4d5f4b7-1e4c-4c60-858e-daf9f1e339fe
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "id": "e4d5f4b7-1e4c-4c60-858e-daf9f1e339fe", "usn": 1, "title": "[Success] Job started at 1/31/2022 5:08:19 PM", "creationTime": "2022-01-31T16:08:19.7539769Z", "endTime": "2022-01-31T16:08:19.7539769Z", "_links": { "self": { "href": "/v6/jobsessions/d5f34eeb-17cc-48f9-bab0-4fc5cee225b5/logitems/e4d5f4b7-1e4c-4c60-858e-daf9f1e339fe" }, "jobsessions": { "href": "/v6/jobsessions/d5f34eeb-17cc-48f9-bab0-4fc5cee225b5" } } } |