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": "2889d6a9-b30d-46bf-925d-810dd3d7a57f",
"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": "4677707a-8350-4a2c-bee8-a6d137e3e98e"
},
{
"tenantId": "2889d6a9-b30d-46bf-925d-810dd3d7a57f",
"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": "4677707a-8350-4a2c-bee8-a6d137e3e98e"
}
]
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>4677707a-8350-4a2c-bee8-a6d137e3e98e</OrgId>
<PostalAddress>sample string 7</PostalAddress>
<PostalCode>sample string 8</PostalCode>
<TenantId>2889d6a9-b30d-46bf-925d-810dd3d7a57f</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>4677707a-8350-4a2c-bee8-a6d137e3e98e</OrgId>
<PostalAddress>sample string 7</PostalAddress>
<PostalCode>sample string 8</PostalCode>
<TenantId>2889d6a9-b30d-46bf-925d-810dd3d7a57f</TenantId>
<TenantName>sample string 2</TenantName>
</Tenant>
</ArrayOfTenant>