GET api/Tenant/Category?Id={Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TenantBindingModels
NameDescriptionTypeAdditional 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

Email

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": "24de6e59-419d-4ac8-9a00-b7b734294bc8",
    "PropertyCode": "sample string 2",
    "Name": "sample string 3",
    "CategoryId": "aee265d3-8ef9-4edb-974c-882d18f10e84",
    "CategoryName": "sample string 4",
    "UnitId": "ff85cd45-27f6-488e-86fc-b4b9c060cb49",
    "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": "24de6e59-419d-4ac8-9a00-b7b734294bc8",
    "PropertyCode": "sample string 2",
    "Name": "sample string 3",
    "CategoryId": "aee265d3-8ef9-4edb-974c-882d18f10e84",
    "CategoryName": "sample string 4",
    "UnitId": "ff85cd45-27f6-488e-86fc-b4b9c060cb49",
    "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>aee265d3-8ef9-4edb-974c-882d18f10e84</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>24de6e59-419d-4ac8-9a00-b7b734294bc8</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>ff85cd45-27f6-488e-86fc-b4b9c060cb49</UnitId>
  </TenantBindingModels>
  <TenantBindingModels>
    <CategoryId>aee265d3-8ef9-4edb-974c-882d18f10e84</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>24de6e59-419d-4ac8-9a00-b7b734294bc8</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>ff85cd45-27f6-488e-86fc-b4b9c060cb49</UnitId>
  </TenantBindingModels>
</ArrayOfTenantBindingModels>