Getting Mailboxes
This section explains how to get a resource representation of organization mailboxes to explore and restore data.
Request
GET https://<hostname>:4443/v5/RestoreSessions/{restoreSessionId}/Organization/Mailboxes/{mailboxId} |
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's backed-up mailbox. |
string | Specifies the email address of the organization's backed-up mailbox. | |
Name | string | Specifies the name of the organization's backed-up mailbox. |
IsArchive | boolean | If set to True, indicates that archiving is enabled for this backed-up mailbox. Archiving can be enabled or disabled in an Exchange organization. |
_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 mailbox with ID 9f786f0f-de9a-4a90-8118-093b6cb2c4fc.
Request: GET https://abc.tech.local:4443/v5/RestoreSessions/9f786f0f-de9a-4a90-8118-093b6cb2c4fc/Organization/Mailboxes/9e9b7199-f547-467a-b580-9d283a75eaad
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: { "id": "9e9b7199-f547-467a-b580-9d283a75eaad", "name": "support.south", "email": "support.south@westsupport.com", "isArchive": "false", "_links": { "self": { "href": "https://abc.tech.local:4443/v5/restoresessions/8dd690ce-7dd8-4a8b-a6ec-16bdcb04dc97/organization/mailboxes/9e9b7199-f547-467a-b580-9d283a75eaad" }, "folders": { "href": "https://abc.tech.local:4443/v5/restoresessions/8dd690ce-7dd8-4a8b-a6ec-16bdcb04dc97/organization/mailboxes/9e9b7199-f547-467a-b580-9d283a75eaad/folders?parentId=null" }, "allfolders": { "href": "https://abc.tech.local:4443/v5/restoresessions/8dd690ce-7dd8-4a8b-a6ec-16bdcb04dc97/organization/mailboxes/9e9b7199-f547-467a-b580-9d283a75eaad/folders" }, "items": { "href": "https://abc.tech.local:4443/v5/restoresessions/8dd690ce-7dd8-4a8b-a6ec-16bdcb04dc97/organization/mailboxes/9e9b7199-f547-467a-b580-9d283a75eaad/items" } }, "_actions": { "restoretoOriginallocation": { "uri": "https://abc.tech.local:4443/v5/restoresessions/8dd690ce-7dd8-4a8b-a6ec-16bdcb04dc97/organization/mailboxes/9e9b7199-f547-467a-b580-9d283a75eaad/action", "method": "POST" }, "restoreTo": { "uri": "https://abc.tech.local:4443/v5/restoresessions/8dd690ce-7dd8-4a8b-a6ec-16bdcb04dc97/organization/mailboxes/9e9b7199-f547-467a-b580-9d283a75eaad/action", "method": "POST" }, "exporttoPst": { "uri": "https://abc.tech.local:4443/v5/restoresessions/8dd690ce-7dd8-4a8b-a6ec-16bdcb04dc97/organization/mailboxes/9e9b7199-f547-467a-b580-9d283a75eaad/action", "method": "POST" }, "search": { "uri": "https://abc.tech.local:4443/v5/restoresessions/8dd690ce-7dd8-4a8b-a6ec-16bdcb04dc97/organization/mailboxes/9e9b7199-f547-467a-b580-9d283a75eaad/action", "method": "POST" } } } |