POST 17.0/database/propertytypes/list

Description

Retrieve a list of Property Types

URI Parameters

None.

Name Description Type Additional information
Fields

Collection of string

None.

Filters

Collection of DatabaseFilter

None.

Order

string

None.

application/json, text/json

Sample:
{
  "fields": [
    "sample string 1",
    "sample string 2"
  ],
  "filters": [
    {
      "fieldName": "sample string 1",
      "value": "sample string 2",
      "operator": "sample string 3",
      "valueType": "sample string 4"
    },
    {
      "fieldName": "sample string 1",
      "value": "sample string 2",
      "operator": "sample string 3",
      "valueType": "sample string 4"
    }
  ],
  "order": "sample string 1"
}

application/xml, text/xml

Sample:
<ListOptions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Fields>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Fields>
  <Filters>
    <DatabaseFilter>
      <FieldName>sample string 1</FieldName>
      <Value>sample string 2</Value>
      <Operator>sample string 3</Operator>
      <ValueType>sample string 4</ValueType>
    </DatabaseFilter>
    <DatabaseFilter>
      <FieldName>sample string 1</FieldName>
      <Value>sample string 2</Value>
      <Operator>sample string 3</Operator>
      <ValueType>sample string 4</ValueType>
    </DatabaseFilter>
  </Filters>
  <Order>sample string 1</Order>
</ListOptions>

application/x-www-form-urlencoded

Sample:

Sample not available.

Collection of PropertyTypesUpdate
Name Description Type Additional information
ID

integer

None.

Description

string

String length: inclusive between 0 and 30

PortalPropertyType

integer

None.

ContactDefault

byte

None.

EPCRequired

byte

None.

Type

byte

None.

PropertyTypeID

integer

None.

SuppressUpdateTenantAddress

byte

None.

InActive

byte

None.

application/json, text/json

Sample:
[
  {
    "id": 1,
    "description": "sample string 1",
    "portalPropertyType": 1,
    "contactDefault": 64,
    "epcRequired": 64,
    "type": 64,
    "propertyTypeID": 1,
    "suppressUpdateTenantAddress": 64,
    "inActive": 64
  },
  {
    "id": 1,
    "description": "sample string 1",
    "portalPropertyType": 1,
    "contactDefault": 64,
    "epcRequired": 64,
    "type": 64,
    "propertyTypeID": 1,
    "suppressUpdateTenantAddress": 64,
    "inActive": 64
  }
]

application/xml, text/xml

Sample:
<ArrayOfPropertyTypesUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PropertyTypesUpdate>
    <ID>1</ID>
    <Description>sample string 1</Description>
    <PortalPropertyType>1</PortalPropertyType>
    <ContactDefault>64</ContactDefault>
    <EPCRequired>64</EPCRequired>
    <Type>64</Type>
    <PropertyTypeID>1</PropertyTypeID>
    <SuppressUpdateTenantAddress>64</SuppressUpdateTenantAddress>
    <InActive>64</InActive>
  </PropertyTypesUpdate>
  <PropertyTypesUpdate>
    <ID>1</ID>
    <Description>sample string 1</Description>
    <PortalPropertyType>1</PortalPropertyType>
    <ContactDefault>64</ContactDefault>
    <EPCRequired>64</EPCRequired>
    <Type>64</Type>
    <PropertyTypeID>1</PropertyTypeID>
    <SuppressUpdateTenantAddress>64</SuppressUpdateTenantAddress>
    <InActive>64</InActive>
  </PropertyTypesUpdate>
</ArrayOfPropertyTypesUpdate>