(GET) /Jobs/{id}/JobSessions
Returns a resource representation of а collection of sessions created for the backup job with a specified ID.
Request
To get a list of job sessions created for the backup job with a specified ID, send the GET HTTPS request to the URL of the /Jobs/{id}/JobSessions resource.
HTTPS Request
GET https://<Backup-Office365>:4443/v3/Jobs/{id}/JobSessions |
Request Headers
The request header must contain the authorization token for the current logon session.
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns 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 request body message: application/json; charset=utf-8 |
Response Body
In the response body, the server returns a representation of the /Jobs/{id}/JobSessions collection resource.
Example
The following request returns an entity representation of all job sessions created for a backup job with ID 00b96531-1a68-4c90-a398-91141ffedb3b.
Request: GET https://support.east.local:4443/v3/JobSessions
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://support.east.local:4443/v3/jobsessions/a8cf9a63-64c3-4748-9c95-b1fbac0cce1d" }, "log": { "href": "https://support.east.local:4443/v3/jobsessions/a8cf9a63-64c3-4748-9c95-b1fbac0cce1d/log" }, "job": { "href": "https://support.east.local:4443/v3/jobs/b20cedd4-66b2-49b1-86de-a575dc67e83b" } } }, ...] |