POST v2/Account/Register
Register a new user account.
Request Information
URI Parameters
None.
Body Parameters
JSON object
RegisterBindingModelV2| Name | Description | Type | Additional information |
|---|---|---|---|
| Title |
Title of the user |
string |
Required String length: inclusive between 0 and 5 |
| FirstName |
First name of the user |
string |
Required String length: inclusive between 0 and 20 |
| LastName |
Last name of the user |
string |
Required String length: inclusive between 0 and 20 |
| JobTitle |
Job title of the user |
string |
Required String length: inclusive between 0 and 20 |
|
Email address of the user, this needs to be a valid and unique email address |
string |
Required String length: inclusive between 0 and 256 |
|
| UserName |
Username of the user, this needs to be unique |
string |
Required String length: inclusive between 0 and 256 |
| Password |
Password of the user |
string |
Required Data type: Password String length: inclusive between 6 and 100 |
| ConfirmPassword |
Confirm the password of the user |
string |
Required Data type: Password |
| BranchId |
This is the Id of the branch, you can obtain this information from ehouse staff |
integer |
Required |
| BranchSecret |
This is the BranchSecret of the branch, you can obtain this information from ehouse staff, each branch has a unique BranchSecret. |
string |
Required |
Request Formats
application/json, text/json
{
"title": "sample string 1",
"firstName": "sample string 2",
"lastName": "sample string 3",
"jobTitle": "sample string 4",
"email": "sample string 5",
"userName": "sample string 6",
"password": "sample string 7",
"confirmPassword": "sample string 8",
"branchId": 9,
"branchSecret": "sample string 10"
}
Response Information
Resource Description
HTTP 200 code if successful
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.
