POST api/User/StoreUser

Request Information

URI Parameters

None.

Body Parameters

User
NameDescriptionTypeAdditional information
Id

integer

None.

Email

string

String length: inclusive between 0 and 100

UserName

string

String length: inclusive between 0 and 100

Password

string

String length: inclusive between 0 and 100

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Email": "sample string 2",
  "UserName": "sample string 3",
  "Password": "sample string 4",
  "Active": true
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLVSGGSERVONE.MODELS">
  <Active>true</Active>
  <Email>sample string 2</Email>
  <Id>1</Id>
  <Password>sample string 4</Password>
  <UserName>sample string 3</UserName>
</User>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

None.