GET api/Tenant/All
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of TenantBindingModelsName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
Required |
|
PropertyCode | string |
None. |
|
Name | string |
Required |
|
CategoryId | globally unique identifier |
Required |
|
CategoryName | string |
String length: inclusive between 0 and 60 |
|
UnitId | globally unique identifier |
None. |
|
TenantUnitLocation | string |
String length: inclusive between 0 and 30 |
|
Info | string |
String length: inclusive between 0 and 250 |
|
string |
String length: inclusive between 0 and 50 |
||
Phone | string |
String length: inclusive between 0 and 30 |
|
ContactName | string |
String length: inclusive between 0 and 30 |
|
ContactPhone | string |
String length: inclusive between 0 and 20 |
|
ImageUrl1 | string |
String length: inclusive between 0 and 150 |
|
ImageUrl2 | string |
String length: inclusive between 0 and 150 |
|
Longitude | decimal number |
None. |
|
Latitude | decimal number |
None. |
|
PropertyName | string |
None. |
|
ClientName | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "589f8be9-307c-42cb-a98b-0a0d4430a4e6", "PropertyCode": "sample string 2", "Name": "sample string 3", "CategoryId": "61140c9d-1a7e-4af1-909b-17ceb6d142a0", "CategoryName": "sample string 4", "UnitId": "8ace9a28-f4f7-4ab3-b42a-3d1d69329123", "TenantUnitLocation": "sample string 5", "Info": "sample string 6", "Email": "sample string 7", "Phone": "sample string 8", "ContactName": "sample string 9", "ContactPhone": "sample string 10", "ImageUrl1": "sample string 11", "ImageUrl2": "sample string 12", "Longitude": 1.0, "Latitude": 1.0, "PropertyName": "sample string 13", "ClientName": "sample string 14" }, { "Id": "589f8be9-307c-42cb-a98b-0a0d4430a4e6", "PropertyCode": "sample string 2", "Name": "sample string 3", "CategoryId": "61140c9d-1a7e-4af1-909b-17ceb6d142a0", "CategoryName": "sample string 4", "UnitId": "8ace9a28-f4f7-4ab3-b42a-3d1d69329123", "TenantUnitLocation": "sample string 5", "Info": "sample string 6", "Email": "sample string 7", "Phone": "sample string 8", "ContactName": "sample string 9", "ContactPhone": "sample string 10", "ImageUrl1": "sample string 11", "ImageUrl2": "sample string 12", "Longitude": 1.0, "Latitude": 1.0, "PropertyName": "sample string 13", "ClientName": "sample string 14" } ]
application/xml, text/xml
Sample:
<ArrayOfTenantBindingModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API4WEB.Models"> <TenantBindingModels> <CategoryId>61140c9d-1a7e-4af1-909b-17ceb6d142a0</CategoryId> <CategoryName>sample string 4</CategoryName> <ClientName>sample string 14</ClientName> <ContactName>sample string 9</ContactName> <ContactPhone>sample string 10</ContactPhone> <Email>sample string 7</Email> <Id>589f8be9-307c-42cb-a98b-0a0d4430a4e6</Id> <ImageUrl1>sample string 11</ImageUrl1> <ImageUrl2>sample string 12</ImageUrl2> <Info>sample string 6</Info> <Latitude>1</Latitude> <Longitude>1</Longitude> <Name>sample string 3</Name> <Phone>sample string 8</Phone> <PropertyCode>sample string 2</PropertyCode> <PropertyName>sample string 13</PropertyName> <TenantUnitLocation>sample string 5</TenantUnitLocation> <UnitId>8ace9a28-f4f7-4ab3-b42a-3d1d69329123</UnitId> </TenantBindingModels> <TenantBindingModels> <CategoryId>61140c9d-1a7e-4af1-909b-17ceb6d142a0</CategoryId> <CategoryName>sample string 4</CategoryName> <ClientName>sample string 14</ClientName> <ContactName>sample string 9</ContactName> <ContactPhone>sample string 10</ContactPhone> <Email>sample string 7</Email> <Id>589f8be9-307c-42cb-a98b-0a0d4430a4e6</Id> <ImageUrl1>sample string 11</ImageUrl1> <ImageUrl2>sample string 12</ImageUrl2> <Info>sample string 6</Info> <Latitude>1</Latitude> <Longitude>1</Longitude> <Name>sample string 3</Name> <Phone>sample string 8</Phone> <PropertyCode>sample string 2</PropertyCode> <PropertyName>sample string 13</PropertyName> <TenantUnitLocation>sample string 5</TenantUnitLocation> <UnitId>8ace9a28-f4f7-4ab3-b42a-3d1d69329123</UnitId> </TenantBindingModels> </ArrayOfTenantBindingModels>