Getting Restore Sessions
This section explains how to get a list with properties for the specified restore session.
Request
GET https://<hostname>:4443/v5/RestoreSessions/{restoreSessionId} |
Request Headers
The request header must contain an authorization token of the current 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
Property | Type | Description |
---|---|---|
Id | string | Specifies the ID of the restore session. |
Type | sessionType | Specifies the type of the restore session:
|
CreationTime | UTC | Specifies date and time when the restore session was started. |
EndTime | UTC | Specifies date and time when the restore session ended. |
State | string | Specifies the state of the restore session:
|
Result | sessionResult | Specifies the result of the restore session actions:
|
_links | Dictionary of string [key] and Object [value] | Links to related resources (navigation property). |
Example
The following request returns an entity representation of the restore session with ID 9f786f0f-de9a-4a90-8118-093b6cb2c4fc.
Request: GET https://abc.tech.local:4443/v5/RestoreSessions/9f786f0f-de9a-4a90-8118-093b6cb2c4fc
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "id": "9f786f0f-de9a-4a90-8118-093b6cb2c4fc", "type": "Vex", "creationTime": "2017-06-29T08:30:05.0983973Z", "state": "Working", "result": "Success", "_links": { "self": { "href": "https://abc.tech.local:4443/v5/restoresessions/9f786f0f-de9a-4a90-8118-093b6cb2c4fc" }, "organization": { "href": "https://abc.tech.local:4443/v5/restoresessions/9f786f0f-de9a-4a90-8118-093b6cb2c4fc/organization" } } } |