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

From Hostway API Documentation
Revision as of 06:01, 27 September 2013 by Stanimir.dimitrov (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Gets the autoresponder info.

Contents


Request

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

URI Parameters

account - string
domain - string
mailbox - string

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

Response

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.

Response Body

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


Parameters

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

Examples

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