POST api/UserManagement/UpdateUser

Request Information

URI Parameters

None.

Body Parameters

UserFullViewModel
NameDescriptionTypeAdditional information
UserName

string

None.

FirstName

string

None.

LastName

string

None.

Age

integer

None.

BirthDate

date

None.

Gender

GenderType

None.

NationalCode

string

None.

ImageUser

string

None.

CityId

integer

None.

Mobile

string

None.

Email

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Age": 1,
  "BirthDate": "2019-06-27T15:47:20.2372246+04:30",
  "Gender": 0,
  "NationalCode": "sample string 4",
  "ImageUser": "sample string 5",
  "CityId": 1,
  "Mobile": "sample string 6",
  "Email": "sample string 7"
}

text/html

Sample:
{"UserName":"sample string 1","FirstName":"sample string 2","LastName":"sample string 3","Age":1,"BirthDate":"2019-06-27T15:47:20.2372246+04:30","Gender":0,"NationalCode":"sample string 4","ImageUser":"sample string 5","CityId":1,"Mobile":"sample string 6","Email":"sample string 7"}

application/xml, text/xml

Sample:
<UserFullViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fruta.ViewModels">
  <Age>1</Age>
  <BirthDate>2019-06-27T15:47:20.2372246+04:30</BirthDate>
  <CityId>1</CityId>
  <Email>sample string 7</Email>
  <FirstName>sample string 2</FirstName>
  <Gender>Woman</Gender>
  <ImageUser>sample string 5</ImageUser>
  <LastName>sample string 3</LastName>
  <Mobile>sample string 6</Mobile>
  <NationalCode>sample string 4</NationalCode>
  <UserName>sample string 1</UserName>
</UserFullViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.