POST v2/Account/RegisterAndActivate
Request Information
URI Parameters
None.
Body Parameters
RegisterAndActivateBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AdminActivationToken |
This is a special branch level admin key for users who wish to implemnt activating user accounts at the same time they are being registered. This key can be obtained from ehosue staff. |
string |
Required |
| 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
{
"adminActivationToken": "sample string 1",
"title": "sample string 2",
"firstName": "sample string 3",
"lastName": "sample string 4",
"jobTitle": "sample string 5",
"email": "sample string 6",
"userName": "sample string 7",
"password": "sample string 8",
"confirmPassword": "sample string 9",
"branchId": 10,
"branchSecret": "sample string 11"
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.
