Response structure

Last Updated: Apr 01, 2017

The format of return value is unified. The returned HTTP status code like 2xx indicates a successful call, 4xx or 5xx indicates a failed call.

The response body of the successful calls is in XML format(the unformatted one includes line breaks, indentation, etc.) to enhance the readability like this document.

Success

The followed return value in XML includes the information indicating if it is successful or failed and the specific business data. As follows:

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!—Root Node-->
  3. <Root node xmlns="http://mns.aliyuncs.com/doc/v1/">
  4. <!—Subnode-->
  5. </Root node>

Error

Error code instead of the response body above would be returned if an error occurs. The <Error Code Table> in the appendix would help you to track the cause of the error.

When an error occurs, the HTTP status code like 4xx or 5xx will be returned. The returned message body contains the specific error code and error message, as well as the globally unique request ID (RequestId) for this request and the ID of the site you accessed for this time (HostId).

If unable to rectify the error, you could contact Alibaba Cloud customer service and provide the HostId and RequestId to help us to solve your problem as soon as possible.

Thank you! We've received your feedback.