POST api/Centers/AddNewPersontoInstituteAdmin
Request Information
URI Parameters
None.
Body Parameters
AddNewInstituteAdminModel| Name | Description | Type | Additional information |
|---|---|---|---|
| InstituteID | globally unique identifier |
Required |
|
| string |
Required |
||
| Password | string |
Required Data type: Password Matching regular expression pattern: ^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\da-zA-Z]).{8,32}$ String length: inclusive between 8 and 100 |
|
| FirstName | string |
Required Matching regular expression pattern: ^[a-zA-Z ]*$ |
|
| LastName | string |
Matching regular expression pattern: ^[a-zA-Z]*$ |
|
| IsSuperAdmin | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"InstituteID": "c7aa3c31-4fb2-45c6-875a-0b883b89ed4e",
"Email": "sample string 2",
"Password": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"IsSuperAdmin": true
}
application/xml, text/xml
Sample:
<AddNewInstituteAdminModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameAPIV3.Models"> <Email>sample string 2</Email> <FirstName>sample string 4</FirstName> <InstituteID>c7aa3c31-4fb2-45c6-875a-0b883b89ed4e</InstituteID> <IsSuperAdmin>true</IsSuperAdmin> <LastName>sample string 5</LastName> <Password>sample string 3</Password> </AddNewInstituteAdminModel>
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.