POST api/Account/Register

Request Information

URI Parameters

None.

Body Parameters

RegisterBindingModel
NameDescriptionTypeAdditional information
Username

string

Required

Email

string

Required

Password

string

Required

Data type: Password

String length: inclusive between 6 and 100

ConfirmPassword

string

Data type: Password

ScreenName

string

Required

Data type: Text

String length: inclusive between 2 and 60

Terms

boolean

Required

EmailOptin

boolean

None.

URL

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Email": "sample string 2",
  "Password": "sample string 3",
  "ConfirmPassword": "sample string 4",
  "ScreenName": "sample string 5",
  "Terms": true,
  "EmailOptin": true,
  "URL": "sample string 8"
}

application/xml, text/xml

Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BackendAuth.Models">
  <ConfirmPassword>sample string 4</ConfirmPassword>
  <Email>sample string 2</Email>
  <EmailOptin>true</EmailOptin>
  <Password>sample string 3</Password>
  <ScreenName>sample string 5</ScreenName>
  <Terms>true</Terms>
  <URL>sample string 8</URL>
  <Username>sample string 1</Username>
</RegisterBindingModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.