2.0 QuestionResponse object

A question response is returned upon requesting a practice question. It contains a question, and any number of notifications. A question is always comprised of an Ask and a Tell-side.

Example

{
  "question": {
    "reference": "pepKDyrLR760Dk7XqxODrw",
    "sequenceNr": 314,
    "ask": {
      "name": "Capital",
      "term": {
        "value": "Tripoli"
      }
    },
    "tell": {
      "name": "Country",
      "composition": "SINGLE",
      "type": "MULTIPLE_CHOICE",
      "terms": [{
        "value": "Comoros"
      }, {
        "value": "Trinidad and Tobago"
      }, {
        "value": "Libya"
      }, {
        "value": "Vietnam"
      }]
    }
  },
  "notifications" : [ ]
}

Fields

Field Type Description
question
required
2.0 Question This is the requested question.
notifications
optional
List of 2.0 Notification objects Notifications can be reported back by the platform to notify the client of information that is relevant to the returned question.