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": "5eae4fd2-7be8-47c7-b06e-6e096f9db831",
"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": "f027b85c-a73b-4083-abed-0b572af6fe74"
},
{
"tenantId": "5eae4fd2-7be8-47c7-b06e-6e096f9db831",
"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": "f027b85c-a73b-4083-abed-0b572af6fe74"
}
]
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>f027b85c-a73b-4083-abed-0b572af6fe74</OrgId>
<PostalAddress>sample string 7</PostalAddress>
<PostalCode>sample string 8</PostalCode>
<TenantId>5eae4fd2-7be8-47c7-b06e-6e096f9db831</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>f027b85c-a73b-4083-abed-0b572af6fe74</OrgId>
<PostalAddress>sample string 7</PostalAddress>
<PostalCode>sample string 8</PostalCode>
<TenantId>5eae4fd2-7be8-47c7-b06e-6e096f9db831</TenantId>
<TenantName>sample string 2</TenantName>
</Tenant>
</ArrayOfTenant>