GET V2/odata/Tenant
Gets Tenant entities
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of QicsUnity.Api.Areas.V2.Models.TenantName | Description | Type | Additional information |
---|---|---|---|
TenantId |
Gets or sets TenantId |
integer |
64-bit signed integer |
Name |
Gets or sets tenant name |
string |
None. |
IsDefault |
Gets or sets a value indicating whether tenant is default |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "TenantId": "1", "Name": "sample 2", "IsDefault": true }, { "TenantId": "1", "Name": "sample 2", "IsDefault": true } ]
application/xml, text/xml
Sample:
<ArrayOfTenant xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models"> <Tenant> <IsDefault>true</IsDefault> <Name>sample 2</Name> <TenantId>1</TenantId> </Tenant> <Tenant> <IsDefault>true</IsDefault> <Name>sample 2</Name> <TenantId>1</TenantId> </Tenant> </ArrayOfTenant>