POST account/create
Validates and creates a new user account.
Request Information
URI Parameters
None.
Body Parameters
The new user's registration information.
Registration| Name | Description | Type | Additional information |
|---|---|---|---|
| FullName |
Gets or sets the full name of the registrant. |
string |
Required Data type: Text |
| Company |
Gets or sets the name of the company the registrant belongs to. |
string |
Required Data type: Text |
| Street1 |
Gets or sets the primary street address. |
string |
Required Data type: Text |
| Street2 |
Gets or sets any optional secondary street address information. |
string |
Data type: Text |
| City |
Gets or sets the city. |
string |
Required Data type: Text |
| State |
Gets or sets the state. May be optional for international registrants outside of US and CA. |
string |
Data type: Text |
| PostalCode |
Gets or sets the postal code. May be optional for international registrants outside of US and CA. |
string |
Data type: Text |
| Telephone |
Gets or sets the registrant's phone number. |
string |
Required Data type: PhoneNumber |
| EmailAddress |
Gets or sets the registrant's email address. This is also the registrant's username. |
string |
Required Data type: EmailAddress Matching regular expression pattern: .+@.+\..+ |
| Country |
Gets or sets the ISO2 country code. |
string |
Required String length: inclusive between 2 and 2 |
| Password |
Gets or sets the registrant's password. |
string |
Required Data type: Password String length: inclusive between 4 and 100 |
| ConfirmPassword |
Gets or sets the confirmed password for the registrant. |
string |
Data type: Password |
Request Formats
application/json, text/json, text/html
{
"fullName": "sample string 1",
"company": "sample string 2",
"street1": "sample string 3",
"street2": "sample string 4",
"city": "sample string 5",
"state": "sample string 6",
"postalCode": "sample string 7",
"telephone": "sample string 8",
"emailAddress": "sample string 9",
"country": "sample string 10",
"password": "sample string 11",
"confirmPassword": "sample string 12"
}
application/xml, text/xml
<Registration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tricycle.Studio.Api.Catalog.Models"> <City>sample string 5</City> <Company>sample string 2</Company> <ConfirmPassword>sample string 12</ConfirmPassword> <Country>sample string 10</Country> <EmailAddress>sample string 9</EmailAddress> <FullName>sample string 1</FullName> <Password>sample string 11</Password> <PostalCode>sample string 7</PostalCode> <State>sample string 6</State> <Street1>sample string 3</Street1> <Street2>sample string 4</Street2> <Telephone>sample string 8</Telephone> </Registration>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
An HTTP status code indicating success or failure. Information will be returned along with failure when validation fails.
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample not available.