POST api/user/profile/edit

Request Information

URI Parameters

None.

Body Parameters

CoreUserProfileEditView
NameDescriptionTypeAdditional information
UserId

integer

None.

PersoanlInfo

CoreUserProfilePersonalInfoEditView

None.

Password

CoreUserProfilePasswordEditView

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "PersoanlInfo": {
    "Id": 1,
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "NationalCode": "sample string 4",
    "BirthDate": null,
    "Gender": 0,
    "Email": "sample string 5",
    "GalleryId": 1
  },
  "Password": {
    "Current": "sample string 1",
    "New": "sample string 2",
    "Confirm": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<CoreUserProfileEditView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KCore.Model.Models.UserView">
  <Password>
    <Confirm>sample string 3</Confirm>
    <Current>sample string 1</Current>
    <New>sample string 2</New>
  </Password>
  <PersoanlInfo>
    <BirthDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/KCore.Model.Models.GeneralView" i:nil="true" />
    <Email>sample string 5</Email>
    <FirstName>sample string 2</FirstName>
    <GalleryId>1</GalleryId>
    <Gender>Male</Gender>
    <Id>1</Id>
    <LastName>sample string 3</LastName>
    <NationalCode>sample string 4</NationalCode>
  </PersoanlInfo>
  <UserId>1</UserId>
</CoreUserProfileEditView>

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.