Getting Restore Sessions
You can get a list of properties for the specified restore session.
Request
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
The following parameter must be specified in the URL of the request:
Parameter | Type | Description |
---|---|---|
restoreSessionId | string | Specifies the identification number of the restore session. For more information on how to get this parameter, see Getting Restore Sessions. |
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 response contains the following information:
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). |
Examples
Example 1
The following request returns a resource representation of the restore session with the 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" } } } |