GET Exchange Email Encryption
From Hostway API Documentation
				
								
				Revision as of 07:42, 20 May 2013 by Mike.robski  (Talk | contribs)
				
			Retrieve an Exchange Email encryption and admin email
GET {server_name}/accounts/{account_number}/exchange/{domain_name}/emailEncryption/
Parameters
- account_number - string
 - The account number that the Exchange resource belongs to
 
- domain_name - string
 - The domain name that is associated with the Exchange resource
 
Response Body
{
  "enabled" : 1,
  "adminEmail" : "admin@domain.org",
  "links" : [ {
    "href" : "http://coreapi01.ote.chicago.hostway:8094/accounts/dinh754963/exchange/ng-test-dinh-123.com/emailEncryption/",
    "rel" : "self"
  } ],
}
 
- enabled - integer
 - whether encryption is enabled on the given exchange domain. Valid values are 0 and 1
 
- adminEmail - string
 - (OPTIONAL)
 - administrator email for the given email encryption. The field is shown only if encryption is enabled for the domain and the encryption is not in "pending" status.
 
- links - list
 - Hypermedia for this resource. Links to self.
 
Expected Response Codes
- 200
 - Success
 
- 404
 - Non-existent resource
 
- 405
 - Unsupported method
 
- 502
 - Internal server error