Getting Organization Backups for Restore
This section explains how to get a resource representation of an organization database to explore and restore mailbox backups.
Request
GET https://<hostname>:4443/v5/RestoreSessions/{restoreSessionId}/Organization |
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 organization, whose database is available for exploring and restoring during the restore session. |
Name | string | Specifies the name of the organization, whose database is available for exploring and restoring during the restore session. |
_links | Dictionary of string [key] and Object [value] | Links to related resources (navigation property). |
Example
The following request returns an entity representation of the organization's database for exploring and restoring 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" } } } |