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 11:57, 3 April 2015

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