POST api/ng/account/postuserprofile

Request Information

URI Parameters

None.

Body Parameters

UserProfileModel
NameDescriptionTypeAdditional information
UserId

string

None.

UserName

string

None.

FullName

string

None.

Sex

string

None.

Age

string

None.

Birthday

string

None.

BirthdayPlace

string

None.

City

string

None.

Country

string

None.

Phone

string

None.

Skype

string

None.

Timezone

string

None.

PictureURL

string

None.

FirstName

string

None.

LastName

string

None.

ExternalLoginData

string

None.

AboutMe

string

None.

IsActive

boolean

None.

CreatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "UserName": "sample string 2",
  "FullName": "sample string 3",
  "Sex": "sample string 4",
  "Age": "sample string 5",
  "Birthday": "sample string 6",
  "BirthdayPlace": "sample string 7",
  "City": "sample string 8",
  "Country": "sample string 9",
  "Phone": "sample string 10",
  "Skype": "sample string 11",
  "Timezone": "sample string 12",
  "PictureURL": "sample string 13",
  "FirstName": "sample string 14",
  "LastName": "sample string 15",
  "ExternalLoginData": "sample string 16",
  "AboutMe": "sample string 17",
  "IsActive": true,
  "CreatedDate": "2021-04-19T20:25:31.9105414-04:00"
}

application/xml, text/xml

Sample:
<UserProfileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <AboutMe>sample string 17</AboutMe>
  <Age>sample string 5</Age>
  <Birthday>sample string 6</Birthday>
  <BirthdayPlace>sample string 7</BirthdayPlace>
  <City>sample string 8</City>
  <Country>sample string 9</Country>
  <CreatedDate>2021-04-19T20:25:31.9105414-04:00</CreatedDate>
  <ExternalLoginData>sample string 16</ExternalLoginData>
  <FirstName>sample string 14</FirstName>
  <FullName>sample string 3</FullName>
  <IsActive>true</IsActive>
  <LastName>sample string 15</LastName>
  <Phone>sample string 10</Phone>
  <PictureURL>sample string 13</PictureURL>
  <Sex>sample string 4</Sex>
  <Skype>sample string 11</Skype>
  <Timezone>sample string 12</Timezone>
  <UserId>sample string 1</UserId>
  <UserName>sample string 2</UserName>
</UserProfileModel>

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

Response Information

Resource Description

PostResultModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<PostResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccess>true</IsSuccess>
</PostResultModel>