POST api/PersonalInfo/ChangePersonalInfo

Request Information

URI Parameters

None.

Body Parameters

PersonalInfoViewModels
NameDescriptionTypeAdditional information
Phone

string

None.

RealName

string

None.

Email

string

None.

Gender

integer

None.

Wallet

decimal number

None.

EnterpriseUser

string

None.

Recommend

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Phone": "sample string 1",
  "RealName": "sample string 2",
  "Email": "sample string 3",
  "Gender": 4,
  "Wallet": 5.1,
  "EnterpriseUser": "sample string 6",
  "Recommend": "sample string 7"
}

application/xml, text/xml

Sample:
<PersonalInfoViewModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiAppAPI.Models">
  <Email>sample string 3</Email>
  <EnterpriseUser>sample string 6</EnterpriseUser>
  <Gender>4</Gender>
  <Phone>sample string 1</Phone>
  <RealName>sample string 2</RealName>
  <Recommend>sample string 7</Recommend>
  <Wallet>5.1</Wallet>
</PersonalInfoViewModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.