POST api/Account/Register
Request Information
URI Parameters
None.
Body Parameters
RegisterBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
Required |
|
| 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:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.