POST api/Admin/Tenant/AddAdminUser

Request Information

URI Parameters

None.

Body Parameters

TenantAdminUserPostDTO
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TenantAdminUserPostDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.