Returned result

Last Updated: Apr 19, 2017

After the API service is called, the returned data adopts a uniform format. A returned HTTP status code of 2xx indicates that the call is successful. A returned HTTP status code of 4xx or 5xx indicates that the call fails. For successful calls, the primary formats of returned data are XML and JSON. When a request is sent, an external system can input parameters to specify the format of returned data. XML is the default format. In this document, examples of returned results are formatted in a way that is easier for you to view. The actual results returned are not formatted with line breaks, indentation, and so on.

Successful results

  1. HTTP/1.1 201 Created
  2. Date: Fri, 11 Sep 2015 05:28:48 GMT
  3. Content-Type: application/json
  4. Content-Length: 155
  5. Connection: close
  6. Access-Control-Allow-Origin: *
  7. Access-Control-Allow-Methods: POST, GET, OPTIONS
  8. Access-Control-Allow-Headers: X-Requested-With, X-Sequence, _aop_secret, _aop_signature
  9. Access-Control-Max-Age: 172800
  10. X-Acs-Request-Id: 14EB3BE2-B4A8-4F84-BD6E-52F222DDB66C
  11. Server: Jetty(7.2.2.v20101205)
  12. {
  13. "Id":"b44afc3c-46a4-4087-a215-c333a1218316",
  14. "Name":"myStack"
  15. }

Error results

  1. HTTP/1.1 409 Conflict
  2. Content-Type: application/json; charset=UTF-8
  3. Content-Length: 79
  4. Date: Fri, 13 Nov 2015 08:06:46 GMT
  5. {
  6. "Message" : "The Stack (test_link_044) already exists.",
  7. "Code" : "StackExists"
  8. }

Public error codes

Error code Description HTTP status code Meaning
MissingParameter The input parameter “Action” that is mandatory for processing this request is not supplied. 400 The parameter Action is missing.
Thank you! We've received your feedback.