GET Exchange
From Hostway API Documentation
(Difference between revisions)
Mike.robski (Talk | contribs) m (1 revision: Release 95) |
Latest revision as of 23:59, 1 July 2014
[edit] GET /accounts/{accountNumber}/exchange/{domainName}
Retrieve an Exchange resource by domain name
Contents |
[edit] Request
GET /accounts/{accountNumber}/exchange/{domainName}
[edit] Request Parameters
- accountNumber - string
- the Id of the ServicePlex account
- domainName - string
- the domain name under which Exchange is provisioned
[edit] URI Parameters
None.
[edit] Request Headers
- Authorization - HTTP Authorization header [1]
- The Authentication credentials of the client application.
[edit] Response
[edit] Status Code
- 200 OK
- Success
- 304 Cached
- The resource has not been modified since the client cached it; the client should use the version in its cache
- 403 Forbidden
- The user lacks the necessary permissions to access the resource
- 404 Not Found
- The account or payment info was not found
- 405 Unsupported Method
- The request method is not supported by this resource
[edit] Response Headers
None.
[edit] Response Body
{
"domain": "{domainName}",
"links": [
{
"href": "https://api.hostway.com/accounts/{accountNumber}/exchange/{domainName}/",
"rel": "self"
}
],
"mailboxes": [
{
"href": "https://api.hostway.com/accounts/{accountNumber}/exchange/{domainName}/mailboxes/",
"rel": "related"
}
],
"globalContacts": [
{
"href": "https://api.hostway.com/accounts/{accountNumber}/exchange/{domainName}/globalContacts/",
"rel": "related"
}
],
"mailingLists": [
{
"href": "https://api.hostway.com/accounts/{accountNumber}/exchange/{domainName}/mailingLists/",
"rel": "related"
}
],
"version": "2010"
}
[edit] Parameters
- domainName - string
- The domain name under which Exchange is provisioned
- accountNumber - string
- The ServicePlex account number