POST api/CallTaxi/UserCallOrder

Request Information

URI Parameters

None.

Body Parameters

UserCallTaxiOrder
NameDescriptionTypeAdditional information
Start_Address

string

None.

Target_Address

string

None.

Start_Latitude

decimal number

None.

Start_Longitude

decimal number

None.

Target_Latitude

decimal number

None.

Target_Longitude

decimal number

None.

Distance

decimal number

None.

AdditionMessage

string

None.

Features

string

None.

PayUsedWallet

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Start_Address": "sample string 1",
  "Target_Address": "sample string 2",
  "Start_Latitude": 3.1,
  "Start_Longitude": 4.1,
  "Target_Latitude": 5.1,
  "Target_Longitude": 6.1,
  "Distance": 7.1,
  "AdditionMessage": "sample string 8",
  "Features": "sample string 9",
  "PayUsedWallet": 10
}

application/xml, text/xml

Sample:
<UserCallTaxiOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiAppAPI.ViewModel">
  <AdditionMessage>sample string 8</AdditionMessage>
  <Distance>7.1</Distance>
  <Features>sample string 9</Features>
  <PayUsedWallet>10</PayUsedWallet>
  <Start_Address>sample string 1</Start_Address>
  <Start_Latitude>3.1</Start_Latitude>
  <Start_Longitude>4.1</Start_Longitude>
  <Target_Address>sample string 2</Target_Address>
  <Target_Latitude>5.1</Target_Latitude>
  <Target_Longitude>6.1</Target_Longitude>
</UserCallTaxiOrder>

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

Response Information

Resource Description

CallTaxiInfoViewModel
NameDescriptionTypeAdditional information
OrderId

string

None.

TaxiFare

integer

None.

CreditCards

Collection of string

None.

ClientId

string

None.

TaxiFareMemo

string

None.

IPAddress

string

None.

Port

string

None.

SubTopic

string

None.

PubTopic

string

None.

ReBack

string

None.

Response Formats

application/json, text/json

Sample:
{
  "OrderId": "sample string 1",
  "TaxiFare": 2,
  "CreditCards": [
    "sample string 1",
    "sample string 2"
  ],
  "ClientId": "sample string 3",
  "TaxiFareMemo": "sample string 4",
  "IPAddress": "sample string 5",
  "Port": "sample string 6",
  "SubTopic": "sample string 7",
  "PubTopic": "sample string 8",
  "ReBack": "sample string 9"
}

application/xml, text/xml

Sample:
<CallTaxiInfoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiAppAPI.ViewModel">
  <ClientId>sample string 3</ClientId>
  <CreditCards xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </CreditCards>
  <IPAddress>sample string 5</IPAddress>
  <OrderId>sample string 1</OrderId>
  <Port>sample string 6</Port>
  <PubTopic>sample string 8</PubTopic>
  <ReBack>sample string 9</ReBack>
  <SubTopic>sample string 7</SubTopic>
  <TaxiFare>2</TaxiFare>
  <TaxiFareMemo>sample string 4</TaxiFareMemo>
</CallTaxiInfoViewModel>