GET api/QuestionnaireSections/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

QuestionnaireSections
NameDescriptionTypeAdditional information
Questions

Collection of Question

None.

ID

integer

None.

TITLE

string

None.

QUESTIONNAIRE_ID

integer

None.

OLD

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Questions": [
    {
      "QID": 1,
      "DIV_ID": 2,
      "STEP_ID": 1,
      "VERSION": "sample string 3",
      "SEQ": 4,
      "FIELDNAME": "sample string 5",
      "DESCRIPTION": "sample string 6",
      "TYPE_ID": 1,
      "FORM_ID": 1,
      "ALT_ID": 1,
      "HASCHILD": true,
      "FATHERID": 1,
      "LEVEL": 1,
      "TABLENAME": "sample string 8",
      "COLUMNNAME": "sample string 9",
      "SQL": "sample string 10",
      "DISPLAY": true,
      "MANDATORY": true,
      "MANDATORY_GROUP": true,
      "DESTINATION": "sample string 14",
      "GENDER": "sample string 15",
      "SECTION_ID": 16,
      "ON_RPT": true,
      "OLD": 1,
      "ON_DOC": true,
      "SHOW_IN_PATIENT_FORM": true,
      "Options": [
        {
          "OptionID": 1,
          "QID": 2,
          "OptionDescription": "sample string 3",
          "OptionAltID": "sample string 4",
          "OpenChild": true,
          "OpenIDs": "sample string 6",
          "PopUp": true,
          "Type_Msg": "sample string 8",
          "Formula": "sample string 9",
          "LastStep": true,
          "SEQ": 11,
          "OptionCode": "sample string 12",
          "OLD": 1,
          "ACTIVE": true
        },
        {
          "OptionID": 1,
          "QID": 2,
          "OptionDescription": "sample string 3",
          "OptionAltID": "sample string 4",
          "OpenChild": true,
          "OpenIDs": "sample string 6",
          "PopUp": true,
          "Type_Msg": "sample string 8",
          "Formula": "sample string 9",
          "LastStep": true,
          "SEQ": 11,
          "OptionCode": "sample string 12",
          "OLD": 1,
          "ACTIVE": true
        }
      ],
      "Conditions": [
        {
          "Id": 1,
          "Key": "sample string 2",
          "QID": 3,
          "OLD": 1,
          "Values": [
            {
              "Id": 1,
              "ConditionId": 2,
              "Code": "sample string 3",
              "Label": "sample string 4",
              "Checked": true,
              "OLD": 1
            },
            {
              "Id": 1,
              "ConditionId": 2,
              "Code": "sample string 3",
              "Label": "sample string 4",
              "Checked": true,
              "OLD": 1
            }
          ]
        },
        {
          "Id": 1,
          "Key": "sample string 2",
          "QID": 3,
          "OLD": 1,
          "Values": [
            {
              "Id": 1,
              "ConditionId": 2,
              "Code": "sample string 3",
              "Label": "sample string 4",
              "Checked": true,
              "OLD": 1
            },
            {
              "Id": 1,
              "ConditionId": 2,
              "Code": "sample string 3",
              "Label": "sample string 4",
              "Checked": true,
              "OLD": 1
            }
          ]
        }
      ],
      "Type": {
        "ID": 1,
        "CODE": "sample string 2",
        "NAME": "sample string 3",
        "TEMPLATE": "sample string 4",
        "SEQ": 1,
        "ACTIVE": true,
        "OLD": 1,
        "MEASURE_ID": 1,
        "GROUP": "sample string 6",
        "DIV_ID": 1,
        "MEASURE": {
          "ID": 1,
          "SEQ": 2,
          "DIV_ID": 3,
          "TYPE_ID": 1,
          "ACTIVE": true,
          "FREQUENCY": 1,
          "CHART_DEFAULT": true,
          "BILLABLE": true,
          "TYPE": {
            "ID": 1,
            "DEFAULT_NAME": "sample string 2",
            "SYSTEM_CODES": "sample string 3",
            "UNITS": "sample string 4",
            "GROUP_NAME": "sample string 5",
            "ORDER": 1,
            "DECIMALS": 1
          },
          "AbnormalRanges": [
            {
              "ID": 1,
              "MEASURE_ID": 2,
              "MIN_VALUE": 3.0,
              "MAX_VALUE": 4.0,
              "BADGE_COLOR": "sample string 5",
              "TYPE": "sample string 6",
              "LABEL": "sample string 7"
            },
            {
              "ID": 1,
              "MEASURE_ID": 2,
              "MIN_VALUE": 3.0,
              "MAX_VALUE": 4.0,
              "BADGE_COLOR": "sample string 5",
              "TYPE": "sample string 6",
              "LABEL": "sample string 7"
            }
          ]
        }
      }
    },
    {
      "QID": 1,
      "DIV_ID": 2,
      "STEP_ID": 1,
      "VERSION": "sample string 3",
      "SEQ": 4,
      "FIELDNAME": "sample string 5",
      "DESCRIPTION": "sample string 6",
      "TYPE_ID": 1,
      "FORM_ID": 1,
      "ALT_ID": 1,
      "HASCHILD": true,
      "FATHERID": 1,
      "LEVEL": 1,
      "TABLENAME": "sample string 8",
      "COLUMNNAME": "sample string 9",
      "SQL": "sample string 10",
      "DISPLAY": true,
      "MANDATORY": true,
      "MANDATORY_GROUP": true,
      "DESTINATION": "sample string 14",
      "GENDER": "sample string 15",
      "SECTION_ID": 16,
      "ON_RPT": true,
      "OLD": 1,
      "ON_DOC": true,
      "SHOW_IN_PATIENT_FORM": true,
      "Options": [
        {
          "OptionID": 1,
          "QID": 2,
          "OptionDescription": "sample string 3",
          "OptionAltID": "sample string 4",
          "OpenChild": true,
          "OpenIDs": "sample string 6",
          "PopUp": true,
          "Type_Msg": "sample string 8",
          "Formula": "sample string 9",
          "LastStep": true,
          "SEQ": 11,
          "OptionCode": "sample string 12",
          "OLD": 1,
          "ACTIVE": true
        },
        {
          "OptionID": 1,
          "QID": 2,
          "OptionDescription": "sample string 3",
          "OptionAltID": "sample string 4",
          "OpenChild": true,
          "OpenIDs": "sample string 6",
          "PopUp": true,
          "Type_Msg": "sample string 8",
          "Formula": "sample string 9",
          "LastStep": true,
          "SEQ": 11,
          "OptionCode": "sample string 12",
          "OLD": 1,
          "ACTIVE": true
        }
      ],
      "Conditions": [
        {
          "Id": 1,
          "Key": "sample string 2",
          "QID": 3,
          "OLD": 1,
          "Values": [
            {
              "Id": 1,
              "ConditionId": 2,
              "Code": "sample string 3",
              "Label": "sample string 4",
              "Checked": true,
              "OLD": 1
            },
            {
              "Id": 1,
              "ConditionId": 2,
              "Code": "sample string 3",
              "Label": "sample string 4",
              "Checked": true,
              "OLD": 1
            }
          ]
        },
        {
          "Id": 1,
          "Key": "sample string 2",
          "QID": 3,
          "OLD": 1,
          "Values": [
            {
              "Id": 1,
              "ConditionId": 2,
              "Code": "sample string 3",
              "Label": "sample string 4",
              "Checked": true,
              "OLD": 1
            },
            {
              "Id": 1,
              "ConditionId": 2,
              "Code": "sample string 3",
              "Label": "sample string 4",
              "Checked": true,
              "OLD": 1
            }
          ]
        }
      ],
      "Type": {
        "ID": 1,
        "CODE": "sample string 2",
        "NAME": "sample string 3",
        "TEMPLATE": "sample string 4",
        "SEQ": 1,
        "ACTIVE": true,
        "OLD": 1,
        "MEASURE_ID": 1,
        "GROUP": "sample string 6",
        "DIV_ID": 1,
        "MEASURE": {
          "ID": 1,
          "SEQ": 2,
          "DIV_ID": 3,
          "TYPE_ID": 1,
          "ACTIVE": true,
          "FREQUENCY": 1,
          "CHART_DEFAULT": true,
          "BILLABLE": true,
          "TYPE": {
            "ID": 1,
            "DEFAULT_NAME": "sample string 2",
            "SYSTEM_CODES": "sample string 3",
            "UNITS": "sample string 4",
            "GROUP_NAME": "sample string 5",
            "ORDER": 1,
            "DECIMALS": 1
          },
          "AbnormalRanges": [
            {
              "ID": 1,
              "MEASURE_ID": 2,
              "MIN_VALUE": 3.0,
              "MAX_VALUE": 4.0,
              "BADGE_COLOR": "sample string 5",
              "TYPE": "sample string 6",
              "LABEL": "sample string 7"
            },
            {
              "ID": 1,
              "MEASURE_ID": 2,
              "MIN_VALUE": 3.0,
              "MAX_VALUE": 4.0,
              "BADGE_COLOR": "sample string 5",
              "TYPE": "sample string 6",
              "LABEL": "sample string 7"
            }
          ]
        }
      }
    }
  ],
  "ID": 1,
  "TITLE": "sample string 2",
  "QUESTIONNAIRE_ID": 3,
  "OLD": 1
}

application/octet-stream

Sample:
{"Questions":[{"QID":1,"DIV_ID":2,"STEP_ID":1,"VERSION":"sample string 3","SEQ":4,"FIELDNAME":"sample string 5","DESCRIPTION":"sample string 6","TYPE_ID":1,"FORM_ID":1,"ALT_ID":1,"HASCHILD":true,"FATHERID":1,"LEVEL":1,"TABLENAME":"sample string 8","COLUMNNAME":"sample string 9","SQL":"sample string 10","DISPLAY":true,"MANDATORY":true,"MANDATORY_GROUP":true,"DESTINATION":"sample string 14","GENDER":"sample string 15","SECTION_ID":16,"ON_RPT":true,"OLD":1,"ON_DOC":true,"SHOW_IN_PATIENT_FORM":true,"Options":[{"OptionID":1,"QID":2,"OptionDescription":"sample string 3","OptionAltID":"sample string 4","OpenChild":true,"OpenIDs":"sample string 6","PopUp":true,"Type_Msg":"sample string 8","Formula":"sample string 9","LastStep":true,"SEQ":11,"OptionCode":"sample string 12","OLD":1,"ACTIVE":true},{"OptionID":1,"QID":2,"OptionDescription":"sample string 3","OptionAltID":"sample string 4","OpenChild":true,"OpenIDs":"sample string 6","PopUp":true,"Type_Msg":"sample string 8","Formula":"sample string 9","LastStep":true,"SEQ":11,"OptionCode":"sample string 12","OLD":1,"ACTIVE":true}],"Conditions":[{"Id":1,"Key":"sample string 2","QID":3,"OLD":1,"Values":[{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1},{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1}]},{"Id":1,"Key":"sample string 2","QID":3,"OLD":1,"Values":[{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1},{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1}]}],"Type":{"ID":1,"CODE":"sample string 2","NAME":"sample string 3","TEMPLATE":"sample string 4","SEQ":1,"ACTIVE":true,"OLD":1,"MEASURE_ID":1,"GROUP":"sample string 6","DIV_ID":1,"MEASURE":{"ID":1,"SEQ":2,"DIV_ID":3,"TYPE_ID":1,"ACTIVE":true,"FREQUENCY":1,"CHART_DEFAULT":true,"BILLABLE":true,"TYPE":{"ID":1,"DEFAULT_NAME":"sample string 2","SYSTEM_CODES":"sample string 3","UNITS":"sample string 4","GROUP_NAME":"sample string 5","ORDER":1,"DECIMALS":1},"AbnormalRanges":[{"ID":1,"MEASURE_ID":2,"MIN_VALUE":3.0,"MAX_VALUE":4.0,"BADGE_COLOR":"sample string 5","TYPE":"sample string 6","LABEL":"sample string 7"},{"ID":1,"MEASURE_ID":2,"MIN_VALUE":3.0,"MAX_VALUE":4.0,"BADGE_COLOR":"sample string 5","TYPE":"sample string 6","LABEL":"sample string 7"}]}}},{"QID":1,"DIV_ID":2,"STEP_ID":1,"VERSION":"sample string 3","SEQ":4,"FIELDNAME":"sample string 5","DESCRIPTION":"sample string 6","TYPE_ID":1,"FORM_ID":1,"ALT_ID":1,"HASCHILD":true,"FATHERID":1,"LEVEL":1,"TABLENAME":"sample string 8","COLUMNNAME":"sample string 9","SQL":"sample string 10","DISPLAY":true,"MANDATORY":true,"MANDATORY_GROUP":true,"DESTINATION":"sample string 14","GENDER":"sample string 15","SECTION_ID":16,"ON_RPT":true,"OLD":1,"ON_DOC":true,"SHOW_IN_PATIENT_FORM":true,"Options":[{"OptionID":1,"QID":2,"OptionDescription":"sample string 3","OptionAltID":"sample string 4","OpenChild":true,"OpenIDs":"sample string 6","PopUp":true,"Type_Msg":"sample string 8","Formula":"sample string 9","LastStep":true,"SEQ":11,"OptionCode":"sample string 12","OLD":1,"ACTIVE":true},{"OptionID":1,"QID":2,"OptionDescription":"sample string 3","OptionAltID":"sample string 4","OpenChild":true,"OpenIDs":"sample string 6","PopUp":true,"Type_Msg":"sample string 8","Formula":"sample string 9","LastStep":true,"SEQ":11,"OptionCode":"sample string 12","OLD":1,"ACTIVE":true}],"Conditions":[{"Id":1,"Key":"sample string 2","QID":3,"OLD":1,"Values":[{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1},{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1}]},{"Id":1,"Key":"sample string 2","QID":3,"OLD":1,"Values":[{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1},{"Id":1,"ConditionId":2,"Code":"sample string 3","Label":"sample string 4","Checked":true,"OLD":1}]}],"Type":{"ID":1,"CODE":"sample string 2","NAME":"sample string 3","TEMPLATE":"sample string 4","SEQ":1,"ACTIVE":true,"OLD":1,"MEASURE_ID":1,"GROUP":"sample string 6","DIV_ID":1,"MEASURE":{"ID":1,"SEQ":2,"DIV_ID":3,"TYPE_ID":1,"ACTIVE":true,"FREQUENCY":1,"CHART_DEFAULT":true,"BILLABLE":true,"TYPE":{"ID":1,"DEFAULT_NAME":"sample string 2","SYSTEM_CODES":"sample string 3","UNITS":"sample string 4","GROUP_NAME":"sample string 5","ORDER":1,"DECIMALS":1},"AbnormalRanges":[{"ID":1,"MEASURE_ID":2,"MIN_VALUE":3.0,"MAX_VALUE":4.0,"BADGE_COLOR":"sample string 5","TYPE":"sample string 6","LABEL":"sample string 7"},{"ID":1,"MEASURE_ID":2,"MIN_VALUE":3.0,"MAX_VALUE":4.0,"BADGE_COLOR":"sample string 5","TYPE":"sample string 6","LABEL":"sample string 7"}]}}}],"ID":1,"TITLE":"sample string 2","QUESTIONNAIRE_ID":3,"OLD":1}