Getting Backup Job Session by Session ID
This section explains how to get a resource representation of a job session with the specified ID.
Request
GET https://<hostname>:4443/v5/JobSessions/{jobSessionsId} |
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
The following parameters must be posted as URL.
Parameter | Type | Description |
---|---|---|
jobSessionsId | string | An identification number of the backup session. |
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} resource has the following properties:
Property | Type | Description |
---|---|---|
Id | string | Specifies the ID of the job session. |
CreationTime | UTC | Specifies date and time when the job session was created. |
EndTime | UTC | Specifies date and time when the latest job session ended. |
Progress | int | Specifies the number of processed mailboxes during the job session. |
Status | string | Specifies the status of the backup job:
|
Statistics | Specifies the job session statistics. | |
_links | Dictionary of string [key] and Object [value] | Links to related resources (navigation property). |
Specifies the following job session statistics:
Property | Type | Description |
---|---|---|
ProcessingRateBytesPS | string | Specifies the average speed of data processing. This counter is a ratio between the amount of data that has actually been read and job duration. The value is given in bytes per second. |
ProcessingRateItemsPS | string | Specifies the average speed of data processing. This counter is a ratio between the amount of data that has actually been read and job duration. The value is given in items per second. |
ReadRateBytesPS | string | Specifies the average speed of reading data from the backup repository. The value is given in bytes per second. |
WriteRateBytesPS | string | Specifies the average speed of writing data to the backup repository. The value is given in bytes per second. |
TransferredDataBytesPS | string | Specifies the amount of data transferred from the source-side to the target-side after applying compression and deduplication. The value is given in bytes per second. |
ProcessedObjects | int | Specifies the number of mailbox items processed by the backup job. |
BottleNeck | string | Specifies the bottleneck in the data transmission process:
|
Example
The following request returns an entity representation of the job session with ID a8cf9a63-64c3-4748-9c95-b1fbac0cce1d.
Request: GET https://abc.tech.local:4443/v5/JobSessions/a8cf9a63-64c3-4748-9c95-b1fbac0cce1d
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "id": "a8cf9a63-64c3-4748-9c95-b1fbac0cce1d", "creationTime": "2019-02-04T16:49:22.8529769Z", "endTime": "2019-02-04T16:50:21.3024288Z", "progress": 1, "status": "Success", "statistics": { "processingRateBytesPS": 1683256, "processingRateItemsPS": 20, "readRateBytesPS": 5383429, "writeRateBytesPS": 26015396, "transferredDataBytes": 98142970, "processedObjects": 1193, "bottleneck": "Source" }, "_links": { "self": { "href": "https://abc.tech.local:4443/v5/jobsessions/a8cf9a63-64c3-4748-9c95-b1fbac0cce1d" }, "log": { "href": "https://abc.tech.local:4443/v5/jobsessions/a8cf9a63-64c3-4748-9c95-b1fbac0cce1d/log" }, "job": { "href": "https://abc.tech.local:4443/v5/jobs/b20cedd4-66b2-49b1-86de-a575dc67e83b" } } } |