Response results

We return the results in either XML or JSON format, but JSON is the default choice. You can switch to XML schema by specifying the request parameter Format. For more information, see common parameters.

Note Response examples in our API documents have line breaks and indentions to make them easy to read. The actual response results are not formatted.

Success response example

Every successful response has a request ID in the RequestId element and other API-specific response parameters. The HTTP status code for a success response is 2XX.

Error response example

Every error response consists of a request ID in the RequestId element and access endpoint in the HostId element, the error code, and the error message. The HTTP status code for an error response is 4xx or 5xx.

You can fix the exception according to the API-specific error codes or common error codes and try the request again. Alternatively, you can open a ticket and provide additional inputs such as the HostId and RequestId to get technical support from us.