POST api/QuestionConditions
Request Information
URI Parameters
None.
Body Parameters
QuestionCondition| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Key | string |
None. |
|
| QID | integer |
None. |
|
| OLD | integer |
None. |
|
| Values | Collection of QuestionConditionValue |
None. |
Request Formats
application/json, text/json
Sample:
{
"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
}
]
}
application/octet-stream
Sample:
{"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}]}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
QuestionCondition| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Key | string |
None. |
|
| QID | integer |
None. |
|
| OLD | integer |
None. |
|
| Values | Collection of QuestionConditionValue |
None. |
Response Formats
application/json, text/json
Sample:
{
"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
}
]
}
application/octet-stream
Sample:
{"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}]}