POST api/Reserve/CallReserveOrder

Request Information

URI Parameters

None.

Body Parameters

ReserveViewModels
NameDescriptionTypeAdditional information
PassengerName

string

None.

PhoneNo

string

None.

NeedTime

string

None.

StartAddress

string

None.

TargetAddress

string

None.

StartLatitude

decimal number

None.

StartLongitude

decimal number

None.

TargetLatitude

decimal number

None.

TargetLongitude

decimal number

None.

TaxiCount

string

None.

Memo

string

None.

Fare

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "PassengerName": "sample string 1",
  "PhoneNo": "sample string 2",
  "NeedTime": "sample string 3",
  "StartAddress": "sample string 4",
  "TargetAddress": "sample string 5",
  "StartLatitude": 6.1,
  "StartLongitude": 7.1,
  "TargetLatitude": 8.1,
  "TargetLongitude": 9.1,
  "TaxiCount": "sample string 10",
  "Memo": "sample string 11",
  "Fare": 12.1
}

application/xml, text/xml

Sample:
<ReserveViewModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiAppAPI.Models">
  <Fare>12.1</Fare>
  <Memo>sample string 11</Memo>
  <NeedTime>sample string 3</NeedTime>
  <PassengerName>sample string 1</PassengerName>
  <PhoneNo>sample string 2</PhoneNo>
  <StartAddress>sample string 4</StartAddress>
  <StartLatitude>6.1</StartLatitude>
  <StartLongitude>7.1</StartLongitude>
  <TargetAddress>sample string 5</TargetAddress>
  <TargetLatitude>8.1</TargetLatitude>
  <TargetLongitude>9.1</TargetLongitude>
  <TaxiCount>sample string 10</TaxiCount>
</ReserveViewModels>

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 'ReserveViewModels'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.