POST api/Reserve/InsertServer

'InsertServer' 的文件。

Request Information

Parameters

NameDescriptionAdditional information
data
'data' 的文件。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "sex": "sample string 2",
  "tex": "sample string 3",
  "email": "sample string 4",
  "storecode": "sample string 5",
  "foot": "sample string 6",
  "origin": "sample string 7"
}

text/xml

Sample:
<ClassDataSet.ProServer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/drfoot_webapi.Models">
  <email>sample string 4</email>
  <foot>sample string 6</foot>
  <name>sample string 1</name>
  <origin>sample string 7</origin>
  <sex>sample string 2</sex>
  <storecode>sample string 5</storecode>
  <tex>sample string 3</tex>
</ClassDataSet.ProServer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "result": "sample string 1",
  "msg": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ]
}

text/xml

Sample:
<ClassDataSet.Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/drfoot_webapi.Models">
  <msg xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </msg>
  <result>sample string 1</result>
</ClassDataSet.Result>