Getting Organization Backups for Restore
You can get a resource representation of an organization database to explore and restore backups.
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 organization, whose database is available to explore and restore during the restore session. |
name | string | Specifies the name of the organization, whose database is available to explore and restore during the restore session. |
_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 organization's database to explore and restore backup items.
Request: GET https://abc.tech.local:4443/v5/RestoreSessions/0800471b-d0e2-422b-9d7c-35d15661c3fb/Organization
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "id": "673b91dc-b4a7-4d49-8318-04ef47c0ac50", "name": "westsupport.onmicrosoft.com (6/26/2017 3:07:39 PM)", "_links": { "self": { "href": "https://abc.tech.local:4443/v5/RestoreSessions/1ae9f2e8-02ba-49c6-9dbd-d0c17cceaf4c/organization" }, "mailboxes": { "href": "https://abc.tech.local:4443/v5/RestoreSessions/1ae9f2e8-02ba-49c6-9dbd-d0c17cceaf4c/organization/mailboxes" } }, "_actions": { "exporttoPst": { "uri": "https://abc.tech.local:4443/v5/RestoreSessions/1ae9f2e8-02ba-49c6-9dbd-d0c17cceaf4c/organization/action", "method": "POST" }, "search": { "uri": "https://abc.tech.local:4443/v5/RestoreSessions/1ae9f2e8-02ba-49c6-9dbd-d0c17cceaf4c/organization/action", "method": "POST" } } } |