Accounts-account-email-domain-usernames-mailboxName-migration:POST
From Hostway API Documentation
				
								
				Revision as of 06:02, 27 September 2013 by Stanimir.dimitrov  (Talk)
				
			POST accounts/{account}/email/{domain}/usernames/{mailboxName}/migration
Creates a support ticket for failed mailbox migration
Contents | 
Request
POST accounts/{account}/email/{domain}/usernames/{mailboxName}/migration
URI Parameters
- account - string
 - domain - string
 - mailboxName - 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 
Request Body
{
    "subject": "{subject}", 
    "body": "{body}"
}
 
Parameters
- subject - string
 - Subject of the support ticket
 
- body - string
 - Body of the support ticket
 
Response
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.
 
Examples
Success creating a support ticket
Request
POST accounts/test-account123/email/test.com/usernames/john.smith/migration
{
   "subject": "subject"
   "body": "body", 
}
 
Response
201 Created
See also