POST api/Admin/Tenant/AddAdminUser
Request Information
URI Parameters
None.
Body Parameters
TenantAdminUserPostDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| TenantId | string |
None. |
|
| Username | string |
None. |
|
| DefaultLocationId | integer |
None. |
|
| DefaultAreaId | integer |
None. |
|
| IsGroup | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"TenantId": "sample string 1",
"Username": "sample string 2",
"DefaultLocationId": 3,
"DefaultAreaId": 4,
"IsGroup": true
}
application/xml, text/xml
Sample:
<TenantAdminUserPostDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Admin"> <DefaultAreaId>4</DefaultAreaId> <DefaultLocationId>3</DefaultLocationId> <IsGroup>true</IsGroup> <TenantId>sample string 1</TenantId> <Username>sample string 2</Username> </TenantAdminUserPostDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.