PUT Exchange Mailbox Archiving

From Hostway API Documentation
Revision as of 07:35, 20 May 2013 by Mike.robski (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Adds Archiving to an existing Exchange Mailbox

PUT /accounts/{account-number}/exchange/{domain-name}/mailboxes/{username}/archiving/

Contents

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
username - string
The username of the requested mailbox

Request Body

No body required

Response Codes

202
Accepted
405
Unsupported method
409
Duplicate entry
502
Internal server error

Response Headers

Location  http://{server_name}/orders/{order_id}
hyperlink to the order where the archiving product has been added to. The order must be placed in order the archiving service to be purchased.

Examples

PUT {server_name}/accounts/{account_number}/exchange/{domain_name}/mailboxes/{username}/archiving

- Request Headers:

   Content-Type:application/json
   Charset=UTF-8
   Authorization:Base64-encoded username & password string

- Response Headers:

   Server	PasteWSGIServer/0.5 Python/2.7
   Date	Thu, 21 Jun 2012 11:36:53 GMT
   Content-Type	application/json
   Content-Length	0
   Location	http://127.0.0.1:6543/orders/000001269d0e168e2d189d5c000ae6fa2cb8a7d8

- Response: Accepted (202)

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox