ControlSet

Jump to: navigation, search

ControlSet

Contains status data from the server about an HTTP response.

Elements

NameTypeDescription
code Integer HTTP status code. See the status field for the text part of the code.
messages message [ ] Response status code and explanation.
status String Text part of the HTTP status code that is shown in the code field.

JSON Response Example

A successful response.
  "controlSet": {
    "status": "ok",
    "code": 200,
    "messages": [""]
  },

JSON Response Example 2

A sample error message.
  "controlSet": {
    "status": "ok",
    "code": 502,
    "messages": [
      {
      "code": "Empty Result",
      "name": "No results available for this request"
      }
    ]
  },
 
Personal tools