PUT api/QuestionConditions/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

QuestionCondition
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'QuestionCondition'.

Response Information

Resource Description

None.