POST api/social/register

Request Information

URI Parameters

None.

Body Parameters

SocialPara
NameDescriptionTypeAdditional information
Id

integer

None.

TrueName

string

None.

IdCard

string

None.

Sex

integer

None.

Mobile

string

None.

ProjectIdList

string

None.

WeixinOpenId

string

None.

WeixinName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TrueName": "sample string 2",
  "IdCard": "sample string 3",
  "Sex": 4,
  "Mobile": "sample string 5",
  "ProjectIdList": "sample string 6",
  "WeixinOpenId": "sample string 7",
  "WeixinName": "sample string 8"
}

application/xml, text/xml

Sample:
<SocialPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SecSchoolWebApi.Models">
  <Id>1</Id>
  <IdCard>sample string 3</IdCard>
  <Mobile>sample string 5</Mobile>
  <ProjectIdList>sample string 6</ProjectIdList>
  <Sex>4</Sex>
  <TrueName>sample string 2</TrueName>
  <WeixinName>sample string 8</WeixinName>
  <WeixinOpenId>sample string 7</WeixinOpenId>
</SocialPara>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.