POST api/account/register

Request Information

URI Parameters

None.

Body Parameters

Register
NameDescriptionTypeAdditional information
Id

integer

None.

UserName

string

None.

FirstName

string

None.

LastName

string

None.

Password

string

None.

MobileNumber

string

None.

IsActive

boolean

None.

RoleId

integer

None.

PinCode

string

None.

Email

string

None.

IsMobile

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserName": "sample string 2",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "Password": "sample string 5",
  "MobileNumber": "sample string 6",
  "IsActive": true,
  "RoleId": 8,
  "PinCode": "sample string 9",
  "Email": "sample string 10",
  "IsMobile": true
}

application/xml, text/xml

Sample:
<Register xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESoochna.Data.Domain">
  <Email>sample string 10</Email>
  <FirstName>sample string 3</FirstName>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsMobile>true</IsMobile>
  <LastName>sample string 4</LastName>
  <MobileNumber>sample string 6</MobileNumber>
  <Password>sample string 5</Password>
  <PinCode>sample string 9</PinCode>
  <RoleId>8</RoleId>
  <UserName>sample string 2</UserName>
</Register>

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.