QuestionnaireData
Contains the information about the questionnaire including questions and answers.
Properties
Key | string | Key of the questionnaire. |
---|---|---|
Name | string | Name of the questionnaire. |
Description | string | Description of the questionnaire. |
StatusCode | int | Status code of the questionnaire:
|
Status | string | String representation of the status code. |
AppointmentKey | string | The appointment the questionnaire is created for. |
Expiration | DateTime | When the questionnaire expires. |
Answers | QuestionnaireAnswerData[] | All saved answers for this questionnaire. |
Markup | string | XML contains questions. See Questionnaire markup. |
JSON Example
{
"Key": "q13788",
"Name": "Basic questionnaire",
"Description": "",
"StatusCode": 0,
"Status": "Incomplete",
"AppointmentKey": "apt5821",
"Expiration": "2013-08-25",
"Answers": [
{
"QuestionId": 236,
"Answer": "Yes"
},
{
"QuestionId": 237,
"Answer": "No"
}
],
"Markup": "<?xml version=\"1.0\" encoding=\"utf-8\"?><Questionnaire> see Questionnaire markup to see full markup"
}