POST api/User/EditInfo

修改信息

Request Information

URI Parameters

None.

Body Parameters

UserinfoEditInput
NameDescriptionTypeAdditional information
Key

要修改的列 姓名:UserName 教学科目:SubjectID 个性签名:Signature 性别:Gender 生日:BirthDay 单位:UnitID 年级:GradeID 用户类型:UserType

string

None.

Value

新的值

string

None.

Token

签名

string

None.

SessionID

会话ID

globally unique identifier

None.

TimeStamp

时间戳

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Key": "sample string 1",
  "Value": "sample string 2",
  "Token": "sample string 3",
  "SessionID": "289d5492-4656-4257-a5fa-8ba9084b2f80",
  "TimeStamp": 4
}

application/xml, text/xml

Sample:
<UserinfoEditInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_30edu.WEBAPI.WX.Models">
  <SessionID>289d5492-4656-4257-a5fa-8ba9084b2f80</SessionID>
  <TimeStamp>4</TimeStamp>
  <Token>sample string 3</Token>
  <Key>sample string 1</Key>
  <Value>sample string 2</Value>
</UserinfoEditInput>

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

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.