Dataset: Questions and Answers

Dataset name: ds_questions_answers

Description

Question & Answer Data Record

Fields in this dataset

Name Field Name Description Field Type Field Example
Answer Question Version answer_question_version The version of the question this answer was made against. int
Answer Result answer_result JSON obejct of the structured answer result. blob
Answer Timestamp answer_timestamp Timestamp of when answer was made. varchar
Answer Version History answer_version_history JSON BLOB, contains the question version, content, change description. blob
Answer Version Id answer_version_id The Version ID of this question. Not Null. varchar
Connection ID con_id The organisation that asked this question. varchar
Group ID group_id The group ID that this question belongs to. blob
Questions and Answers ID id The primary identifier for this record. serial
Questions and Answers Instance instance The instance this item relates to. int
Question ID question_id The identifier for a question-answer. varchar
Question Label question_label The main question label text of the queston. varchar
Question Set Format question_set_format JSON BLOB, contains the format of the question set. blob
Question Tags question_tags Tags of associated with this question, comma seperated. varchar
Question Timestamp question_timestamp The timestamp of when this question was created. varchar
Question Version History question_version_history JSON BLOB, contains the question version, content, change description. blob
Question Version Id question_version_id The Version ID of this question. Not Null. varchar
Question Modified Timestamp queston_modified_timestamp The timestamp of when this question was last modified. varchar
Questions and Answers Source source The source of the data - user or connection. varchar

Making an API request for this Dataset

Example Request to the Sandbox Server

http://sbx-api.mydex.org/api/pds/transaction/UID.json
  ?key=KEY
  &api_key=API_KEY
  &con_id=CON_ID
  &source_type=connection
  &dataset=ds_questions_answers
  &instance=N

Replace the following with your own details: UID KEY, API_KEY, CON_ID and instance N.

Replace sbx-api with api when making a connection to a real member on the production server (must be authenticated).

To return the data in XML, change UID.json to UID.xml.

Example Response

A response to this API request will be structured as follows.

{
  "": {
    "id": null,
    "ds_id": null,
    "answer_question_version": null,
    "answer_result": null,
    "answer_timestamp": null,
    "answer_version_history": null,
    "answer_version_id": null,
    "con_id": null,
    "group_id": null,
    "question_id": null,
    "question_label": null,
    "question_set_format": null,
    "question_tags": null,
    "question_timestamp": null,
    "question_version_history": null,
    "question_version_id": null,
    "queston_modified_timestamp": null
  }
}