GET premisestypes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PremiseTypeEntity
NameDescriptionTypeAdditional information
PremisesTypeID

integer

None.

PremisesType

string

Required

String length: inclusive between 0 and 15

Active

integer

None.

TenantID

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PremisesTypeID": 1,
    "PremisesType": "sample string 2",
    "Active": 3,
    "TenantID": 4
  },
  {
    "PremisesTypeID": 1,
    "PremisesType": "sample string 2",
    "Active": 3,
    "TenantID": 4
  }
]

text/html

Sample:
[{"PremisesTypeID":1,"PremisesType":"sample string 2","Active":3,"TenantID":4},{"PremisesTypeID":1,"PremisesType":"sample string 2","Active":3,"TenantID":4}]

application/xml, text/xml

Sample:
<ArrayOfPremiseTypeEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.PremiseType">
  <PremiseTypeEntity>
    <Active>3</Active>
    <PremisesType>sample string 2</PremisesType>
    <PremisesTypeID>1</PremisesTypeID>
    <TenantID>4</TenantID>
  </PremiseTypeEntity>
  <PremiseTypeEntity>
    <Active>3</Active>
    <PremisesType>sample string 2</PremisesType>
    <PremisesTypeID>1</PremisesTypeID>
    <TenantID>4</TenantID>
  </PremiseTypeEntity>
</ArrayOfPremiseTypeEntity>