POST api/Users

Request Information

URI Parameters

None.

Body Parameters

User
NameDescriptionTypeAdditional information
Id

integer

None.

userName

string

None.

emailAddress

string

None.

password

string

None.

country

string

None.

city

string

None.

profile_Image

string

None.

telephone

string

None.

mailaddress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "userName": "sample string 2",
  "emailAddress": "sample string 3",
  "password": "sample string 4",
  "country": "sample string 5",
  "city": "sample string 6",
  "profile_Image": "sample string 7",
  "telephone": "sample string 8",
  "mailaddress": "sample string 9"
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AracTechWebApp.Models">
  <Id>1</Id>
  <city>sample string 6</city>
  <country>sample string 5</country>
  <emailAddress>sample string 3</emailAddress>
  <mailaddress>sample string 9</mailaddress>
  <password>sample string 4</password>
  <profile_Image>sample string 7</profile_Image>
  <telephone>sample string 8</telephone>
  <userName>sample string 2</userName>
</User>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

User
NameDescriptionTypeAdditional information
Id

integer

None.

userName

string

None.

emailAddress

string

None.

password

string

None.

country

string

None.

city

string

None.

profile_Image

string

None.

telephone

string

None.

mailaddress

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "userName": "sample string 2",
  "emailAddress": "sample string 3",
  "password": "sample string 4",
  "country": "sample string 5",
  "city": "sample string 6",
  "profile_Image": "sample string 7",
  "telephone": "sample string 8",
  "mailaddress": "sample string 9"
}

application/xml, text/xml

Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AracTechWebApp.Models">
  <Id>1</Id>
  <city>sample string 6</city>
  <country>sample string 5</country>
  <emailAddress>sample string 3</emailAddress>
  <mailaddress>sample string 9</mailaddress>
  <password>sample string 4</password>
  <profile_Image>sample string 7</profile_Image>
  <telephone>sample string 8</telephone>
  <userName>sample string 2</userName>
</User>