After the operation is called, data is returned in a unified format. A returned HTTP status code of 2xx indicates that the call was successful. A returned HTTP status code of 4xx or 5xx indicates that the call failed. If the call succeeds, data can be returned in either XML or JSON format. When sending a request from an external system, you can enter a parameter that specifies the returned data format. The default format is XML.

Note Sample responses in our API documents are formatted in a way that is easier for you to read. The actual responses are not formatted with line breaks or indentation.

Sample success response

HTTP/1.1 201 Created
Date: Fri, 11 Sep 2015 05:28:48 GMT
Content-Type: application/json
Content-Length: 155
Connection: close
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET, OPTIONS
Access-Control-Allow-Headers: X-Requested-With, X-Sequence, _aop_secret, _aop_signature
Access-Control-Max-Age: 172800
X-Acs-Request-Id: 14EB3BE2-B4A8-4F84-BD6E-52F222DDB66C
Server: Jetty(7.2.2.v20101205)


Sample error response

HTTP/1.1 409 Conflict
Content-Type: application/json; charset=UTF-8
Content-Length: 79
Date: Fri, 13 Nov 2015 08:06:46 GMT

    "Message" : "The Stack (test_link_044) already exists.",
    "Code" : "StackExists"

Error codes

Error code Error message HTTP status code Description
MissingParameter The Action parameter that is mandatory for processing this request is not supplied. 400 The Action parameter is missing.