POST api/Reserve/InsertReserve

'InsertReserve' 的文件。

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",
  "bir": "sample string 3",
  "tex": "sample string 4",
  "email": "sample string 5",
  "reserve_store": "sample string 6",
  "reserve_date": "sample string 7",
  "reserve_time": "sample string 8",
  "foot": "sample string 9",
  "origin": "sample string 10"
}

text/xml

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

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>