POST api/Question/LuzhaiQuestionWrite

“LuzhaiQuestionWrite”的文档。

Request Information

Parameters

NameDescriptionAdditional information
write
“write”的文档。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "item": [
    {
      "Key": 1,
      "Value": "sample string 2"
    },
    {
      "Key": 1,
      "Value": "sample string 2"
    },
    {
      "Key": 1,
      "Value": "sample string 2"
    }
  ],
  "name": "sample string 2"
}

application/xml, text/xml

Sample:
<QuestionWrite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Questionnaire">
  <UserId>1</UserId>
  <item>
    <KeyVal>
      <Key>1</Key>
      <Value>sample string 2</Value>
    </KeyVal>
    <KeyVal>
      <Key>1</Key>
      <Value>sample string 2</Value>
    </KeyVal>
    <KeyVal>
      <Key>1</Key>
      <Value>sample string 2</Value>
    </KeyVal>
  </item>
  <name>sample string 2</name>
</QuestionWrite>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Descript": "sample string 3",
  "Num": 4
}

application/xml, text/xml

Sample:
<QuestionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Questionnaire">
  <Descript>sample string 3</Descript>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <Num>4</Num>
</QuestionModel>