POST api/TrainQ

“Post”的文档。

Request Information

Parameters

NameDescriptionAdditional information
k
“k”的文档。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "askid": 2,
  "pingfen_1": "sample string 3",
  "pingfen_2": "sample string 4",
  "pingfen_3": "sample string 5",
  "pingfen_4": "sample string 6",
  "pingfen_5": "sample string 7",
  "pingfen_6": "sample string 8",
  "pingfen_7": "sample string 9",
  "pingfen_8": "sample string 10",
  "pingfen_9": "sample string 11",
  "pingfen_10": "sample string 12",
  "suggest1": "sample string 13",
  "suggest2": "sample string 14",
  "suggest3": "sample string 15"
}

application/xml, text/xml

Sample:
<TrainQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wxapi01.Models">
  <askid>2</askid>
  <id>sample string 1</id>
  <pingfen_1>sample string 3</pingfen_1>
  <pingfen_10>sample string 12</pingfen_10>
  <pingfen_2>sample string 4</pingfen_2>
  <pingfen_3>sample string 5</pingfen_3>
  <pingfen_4>sample string 6</pingfen_4>
  <pingfen_5>sample string 7</pingfen_5>
  <pingfen_6>sample string 8</pingfen_6>
  <pingfen_7>sample string 9</pingfen_7>
  <pingfen_8>sample string 10</pingfen_8>
  <pingfen_9>sample string 11</pingfen_9>
  <suggest1>sample string 13</suggest1>
  <suggest2>sample string 14</suggest2>
  <suggest3>sample string 15</suggest3>
</TrainQ>

application/x-www-form-urlencoded

Sample:

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