POST api/appUser/add

Request Information

URI Parameters

None.

Body Parameters

AppUserViewModel
NameDescriptionTypeAdditional information
Id

string

None.

FullName

string

None.

BirthDay

string

None.

Email

string

None.

Password

string

None.

UserName

string

None.

Address

string

None.

PhoneNumber

string

None.

Avatar

string

None.

Status

boolean

None.

Gender

string

None.

Roles

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "FullName": "sample string 2",
  "BirthDay": "sample string 3",
  "Email": "sample string 4",
  "Password": "sample string 5",
  "UserName": "sample string 6",
  "Address": "sample string 7",
  "PhoneNumber": "sample string 8",
  "Avatar": "sample string 9",
  "Status": true,
  "Gender": "sample string 11",
  "Roles": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<AppUserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LcdCNTT.Web.Models">
  <Address>sample string 7</Address>
  <Avatar>sample string 9</Avatar>
  <BirthDay>sample string 3</BirthDay>
  <Email>sample string 4</Email>
  <FullName>sample string 2</FullName>
  <Gender>sample string 11</Gender>
  <Id>sample string 1</Id>
  <Password>sample string 5</Password>
  <PhoneNumber>sample string 8</PhoneNumber>
  <Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Roles>
  <Status>true</Status>
  <UserName>sample string 6</UserName>
</AppUserViewModel>

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.