Accounts-account-email-domain-usernames-mailboxName-migration:POST
From Hostway API Documentation
				
								
				(Difference between revisions)
				
																
				
				
								
				m (moved Accounts-account-email-domain-usernames-mailbox-migration:POST to Accounts-account-email-domain-usernames-mailboxName-migration:POST)  | 
		Mike.robski  (Talk | contribs)  m (1 revision: Release 91)  | 
		||
| (2 intermediate revisions by one user not shown) | |||
| Line 70: | Line 70: | ||
== See also ==  | == See also ==  | ||
| − | * [[Email   | + | * [[Email API|Email API]]  | 
{{disqus}}  | {{disqus}}  | ||
[[Category:Hostway API]]  | [[Category:Hostway API]]  | ||
[[Category:Email API]]  | [[Category:Email API]]  | ||
Latest revision as of 11:18, 11 March 2014
[edit] POST accounts/{account}/email/{domain}/usernames/{mailboxName}/migration
Creates a support ticket for failed mailbox migration
Contents | 
[edit] Request
POST accounts/{account}/email/{domain}/usernames/{mailboxName}/migration
[edit] URI Parameters
- account - string
 - domain - string
 - mailboxName - 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] Request Body
{
    "subject": "{subject}", 
    "body": "{body}"
}
 
[edit] Parameters
- subject - string
 - Subject of the support ticket
 
- body - string
 - Body of the support ticket
 
[edit] Response
[edit] Status Code
- 201 Created
 - Success
 
- 400 Bad Request
 - The format of the request body is invalid or the username does not meet the requirements.
 
- 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] Examples
[edit] Success creating a support ticket
Request
POST accounts/test-account123/email/test.com/usernames/john.smith/migration
{
   "subject": "subject"
   "body": "body", 
}
 
Response
201 Created
[edit] See also