POST api/Account/Register
Request Information
URI Parameters
None.
Body Parameters
RegisterBindingModelName | Description | Type | Additional information |
---|---|---|---|
string |
Required |
||
Password | string |
Required Data type: Password String length: inclusive between 6 and 100 |
|
ConfirmPassword | string |
Data type: Password |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
Contact | string |
None. |
|
LoginUserID | integer |
None. |
|
CompanyID | integer |
None. |
|
UserTypeID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Email": "sample string 1", "Password": "sample string 2", "ConfirmPassword": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "Contact": "sample string 6", "LoginUserID": 7, "CompanyID": 1, "UserTypeID": 1 }
application/xml, text/xml
Sample:
<RegisterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/autotech.Models"> <CompanyID>1</CompanyID> <ConfirmPassword>sample string 3</ConfirmPassword> <Contact>sample string 6</Contact> <Email>sample string 1</Email> <FirstName>sample string 4</FirstName> <LastName>sample string 5</LastName> <LoginUserID>7</LoginUserID> <Password>sample string 2</Password> <UserTypeID>1</UserTypeID> </RegisterBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.