POST api/PersonalInfo/PassengerInfo

Request Information

URI Parameters

None.

Body Parameters

PassengerInfoViewModels
NameDescriptionTypeAdditional information
Phone

string

None.

RealName

string

None.

Email

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Phone": "sample string 1",
  "RealName": "sample string 2",
  "Email": "sample string 3"
}

application/xml, text/xml

Sample:
<PassengerInfoViewModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiAppAPI.Models">
  <Email>sample string 3</Email>
  <Phone>sample string 1</Phone>
  <RealName>sample string 2</RealName>
</PassengerInfoViewModels>

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

Response Information

Resource Description

PassengerInfoViewModels
NameDescriptionTypeAdditional information
Phone

string

None.

RealName

string

None.

Email

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Phone": "sample string 1",
  "RealName": "sample string 2",
  "Email": "sample string 3"
}

application/xml, text/xml

Sample:
<PassengerInfoViewModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiAppAPI.Models">
  <Email>sample string 3</Email>
  <Phone>sample string 1</Phone>
  <RealName>sample string 2</RealName>
</PassengerInfoViewModels>