GET api/Tenant/TenantList
List all Tenant Objects Only Available to SuperAdmin
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Tenant| Name | Description | Type | Additional information |
|---|---|---|---|
| TenantId | globally unique identifier |
None. |
|
| TenantName | string |
None. |
|
| ContactPerson | string |
None. |
|
| ContactPersonPhone | string |
None. |
|
| ContactPersonEmail | string |
None. |
|
| Address | string |
None. |
|
| PostalAddress | string |
None. |
|
| PostalCode | string |
None. |
|
| OrgId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"tenantId": "d52bd82e-056d-406f-ac7b-94d40b5b92e2",
"tenantName": "sample string 2",
"contactPerson": "sample string 3",
"contactPersonPhone": "sample string 4",
"contactPersonEmail": "sample string 5",
"address": "sample string 6",
"postalAddress": "sample string 7",
"postalCode": "sample string 8",
"orgId": "589ddeed-e584-4b88-ba1a-8d52cf91c20c"
},
{
"tenantId": "d52bd82e-056d-406f-ac7b-94d40b5b92e2",
"tenantName": "sample string 2",
"contactPerson": "sample string 3",
"contactPersonPhone": "sample string 4",
"contactPersonEmail": "sample string 5",
"address": "sample string 6",
"postalAddress": "sample string 7",
"postalCode": "sample string 8",
"orgId": "589ddeed-e584-4b88-ba1a-8d52cf91c20c"
}
]
application/xml, text/xml
Sample:
<ArrayOfTenant xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes">
<Tenant>
<Address>sample string 6</Address>
<ContactPerson>sample string 3</ContactPerson>
<ContactPersonEmail>sample string 5</ContactPersonEmail>
<ContactPersonPhone>sample string 4</ContactPersonPhone>
<OrgId>589ddeed-e584-4b88-ba1a-8d52cf91c20c</OrgId>
<PostalAddress>sample string 7</PostalAddress>
<PostalCode>sample string 8</PostalCode>
<TenantId>d52bd82e-056d-406f-ac7b-94d40b5b92e2</TenantId>
<TenantName>sample string 2</TenantName>
</Tenant>
<Tenant>
<Address>sample string 6</Address>
<ContactPerson>sample string 3</ContactPerson>
<ContactPersonEmail>sample string 5</ContactPersonEmail>
<ContactPersonPhone>sample string 4</ContactPersonPhone>
<OrgId>589ddeed-e584-4b88-ba1a-8d52cf91c20c</OrgId>
<PostalAddress>sample string 7</PostalAddress>
<PostalCode>sample string 8</PostalCode>
<TenantId>d52bd82e-056d-406f-ac7b-94d40b5b92e2</TenantId>
<TenantName>sample string 2</TenantName>
</Tenant>
</ArrayOfTenant>