POST api/SuperAdmin
Request Information
URI Parameters
None.
Body Parameters
RegisterViewModelName | Description | Type | Additional information |
---|---|---|---|
ConfirmPassword | string |
Data type: Password |
|
string |
Required String length: inclusive between 0 and 250 |
||
FirstName | string |
None. |
|
LastName | string |
None. |
|
Password | string |
Required Data type: Password Matching regular expression pattern: ^(?=.*[A-Z])(?=.*[a-z])(?=.*\d)(?=.*[^\da-zA-Z]).{1,}$ String length: inclusive between 6 and 100 |
|
UserTypeId | UserType |
None. |
|
IsEmailConfirmed | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ConfirmPassword": "sample string 1", "Email": "sample string 2", "FirstName": "sample string 3", "LastName": "sample string 4", "Password": "sample string 5", "UserTypeId": 0, "IsEmailConfirmed": true }
application/xml, text/xml
Sample:
<RegisterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Co.Kes.Data.ViewModels"> <ConfirmPassword>sample string 1</ConfirmPassword> <Email>sample string 2</Email> <FirstName>sample string 3</FirstName> <IsEmailConfirmed>true</IsEmailConfirmed> <LastName>sample string 4</LastName> <Password>sample string 5</Password> <UserTypeId>SuperAdmin</UserTypeId> </RegisterViewModel>
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.