POST api/Values

Request Information

URI Parameters

None.

Body Parameters

WebMember
NameDescriptionTypeAdditional information
MemberID

integer

None.

NickName

string

None.

UserName

string

None.

Email

string

None.

MobilePhone

string

None.

FBID

string

None.

Account

string

None.

Request Formats

application/json, text/json

Sample:
{
  "<MemberID>k__BackingField": 1,
  "<NickName>k__BackingField": "sample string 2",
  "<UserName>k__BackingField": "sample string 3",
  "<Email>k__BackingField": "sample string 4",
  "<MobilePhone>k__BackingField": "sample string 5",
  "<FBID>k__BackingField": "sample string 6",
  "<Account>k__BackingField": "sample string 7"
}

application/xml, text/xml

Sample:
<WebMember xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HsinYiUtility.Models">
  <_x003C_Account_x003E_k__BackingField>sample string 7</_x003C_Account_x003E_k__BackingField>
  <_x003C_Email_x003E_k__BackingField>sample string 4</_x003C_Email_x003E_k__BackingField>
  <_x003C_FBID_x003E_k__BackingField>sample string 6</_x003C_FBID_x003E_k__BackingField>
  <_x003C_MemberID_x003E_k__BackingField>1</_x003C_MemberID_x003E_k__BackingField>
  <_x003C_MobilePhone_x003E_k__BackingField>sample string 5</_x003C_MobilePhone_x003E_k__BackingField>
  <_x003C_NickName_x003E_k__BackingField>sample string 2</_x003C_NickName_x003E_k__BackingField>
  <_x003C_UserName_x003E_k__BackingField>sample string 3</_x003C_UserName_x003E_k__BackingField>
</WebMember>

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

Response Information

Resource Description

None.