Accounts-account-email-domain-usernames-mailboxName-autoresponder:GET

From Hostway API Documentation
(Difference between revisions)
Jump to: navigation, search
m (1 revision: Release 105)
 

Latest revision as of 12:57, 3 April 2015

[edit] GET accounts/{account}/email/{domain}/usernames/{mailbox}/autoresponder

Gets the autoresponder info.

Contents


[edit] Request

GET accounts/{account}/email/{domain}/usernames/{mailbox}/autoresponder

[edit] URI Parameters

account - string
domain - string
mailbox - string

[edit] Request Headers

Authorization - HTTP Authorization header [1]
The Authentication credentials of the client application.
Content-Type
Required. Set this header to application/json; charset=UTF-8

[edit] Response

[edit] Status Code

200 Ok
Success
401 Unauthorized
The supplied credentials are invalid or do not provide permissions for this operation.
404 Not Found
The domain name does not exist.

[edit] Response Body

{
   "autoresponder": {
       "body": "{body}", 
       "active": {active}, 
       "subject": "{subject}"
   }, 
   "links": [
      {
         "location": "{APIBaseURL}/accounts/{account}/email/{domain}/usernames/{mailbox}/autoresponder/", 
         "rel": "self"
      }
   ]
}
 


[edit] Parameters

body - string
The body of auto-responder.
active - boolean
The status of auto-responder.
subject- string
The subject of auto-responder.

[edit] Examples

[edit] Success getting the autoresponder info

Request

GET accounts/test-account123/email/test.com/usernames/test/autoresponder
 

Response

200 OK

{
   "body": "AutoRespond", 
   "active": true, 
   "links": [
      {
         "href": "http://coreapi01.ote.chicago.hostway:8095/accounts/test-account123/email/test.com/usernames/test/autoresponder", 
         "rel": "self"
      }
   ], 
   "subject": "Subject"
}
 


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox