POST api/Account/Edit

Request Information

URI Parameters

None.

Body Parameters

InformationUserViewModel
NameDescriptionTypeAdditional information
Id

string

None.

PublicAddress

boolean

None.

PublicBirthday

boolean

None.

PublicGender

boolean

None.

PublicPhone

boolean

None.

RealName

string

Required

String length: inclusive between 0 and 50

Gender

GenderType

Required

Range: inclusive between 0 and 3

Address

string

String length: inclusive between 0 and 200

Birthday

date

None.

Phone

string

String length: inclusive between 10 and 13

Job

string

String length: inclusive between 0 and 200

Skills

string

None.

About

string

None.

Website

string

String length: inclusive between 0 and 200

Facebook

string

String length: inclusive between 0 and 200

Google

string

String length: inclusive between 0 and 200

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "PublicAddress": true,
  "PublicBirthday": true,
  "PublicGender": true,
  "PublicPhone": true,
  "RealName": "sample string 6",
  "Gender": 0,
  "Address": "sample string 7",
  "Birthday": "2025-04-26T07:47:32.2197365+07:00",
  "Phone": "sample string 8",
  "Job": "sample string 9",
  "Skills": "sample string 10",
  "About": "sample string 11",
  "Website": "sample string 12",
  "Facebook": "sample string 13",
  "Google": "sample string 14"
}

application/xml, text/xml

Sample:
<InformationUserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kteam.ViewModels.Account">
  <About>sample string 11</About>
  <Address>sample string 7</Address>
  <Birthday>2025-04-26T07:47:32.2197365+07:00</Birthday>
  <Facebook>sample string 13</Facebook>
  <Gender>Unspecified</Gender>
  <Google>sample string 14</Google>
  <Id>sample string 1</Id>
  <Job>sample string 9</Job>
  <Phone>sample string 8</Phone>
  <PublicAddress>true</PublicAddress>
  <PublicBirthday>true</PublicBirthday>
  <PublicGender>true</PublicGender>
  <PublicPhone>true</PublicPhone>
  <RealName>sample string 6</RealName>
  <Skills>sample string 10</Skills>
  <Website>sample string 12</Website>
</InformationUserViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.