POST api/Tutor/Activate?activationid={activationid}
User account setup, create password and user name using activation key(sent to user via Email). The activation key will be caught by the front end, then used to both get users basic information and to activate the user account
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
activationid |
The activationid. |
string |
Required |
Body Parameters
The input.
StaffAccountSetupInputModelName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
Required String length: inclusive between 4 and 1000 |
|
Password | string |
Required String length: inclusive between 8 and 1000 |
|
TutorId | integer |
Required Range: inclusive between 0 and 2147483647 |
Request Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "Password": "sample string 2", "TutorId": 1 }
application/xml, text/xml
Sample:
<StaffAccountSetupInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LS_API.Models.StaffModels.InputModel"> <Password>sample string 2</Password> <TutorId>1</TutorId> <UserName>sample string 1</UserName> </StaffAccountSetupInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |