Property Types
Not all listing data is suitable for display.
When using the Listings Service, you must consult the corresponding meta data services (e.g. Property Types and Standard Fields) for the PropertyType
standard field and any other field where the HasList
is true
in the meta data.
See an example here.
The Property Types service returns a list of possible listing property types for the current user’s MLS.
Supported Roles
Role | Reads | Writes | Notes |
---|---|---|---|
IDX | Yes | No | |
Public | Yes | No | |
VOW | Yes | No | |
Portal | Yes | No | |
Private | Yes | No |
More information about roles may be found here.
Available Services
Active Property Types
/<API Version>/propertytypes
/<API Version>/mls/<MlsId>/propertytypes
HTTP Method | Description | Notes |
---|---|---|
GET | Returns a list of all property types for the specified MLS | |
POST,PUT,DELETE | Returns HTTP 405 (Method Not Allowed) | Not implemented |
GET Request
Parameters:
Parameter | Description | Required |
---|---|---|
_mls |
A comma-separated list of MLS IDs the property types should be common across | No |
GET Response
Example:
{
"D": {
"Success": true,
"Results": [
{
"Enabled": true,
"MlsName": "Residential",
"MlsCode": "A",
"PropertyClass": "Residential",
"RentalCalendar": false,
"BrokerTours": true
},
{
"Enabled": true,
"MlsName": "Multi Family",
"MlsCode": "B",
"PropertyClass": "Residential",
"RentalCalendar": false,
"BrokerTours": false
},
{
"Enabled": true,
"MlsName": "Land",
"MlsCode": "C",
"PropertyClass": "Land",
"RentalCalendar": false,
"BrokerTours": false
},
{
"Enabled": true,
"MlsName": "Commercial",
"MlsCode": "D",
"PropertyClass": "Commercial",
"RentalCalendar": false,
"BrokerTours": false
},
{
"Enabled": true,
"MlsName": "Rental",
"MlsCode": "F",
"PropertyClass": "Rental",
"RentalCalendar": true,
"BrokerTours": false
}
]
}
}
All Property Types
/<API Version>/propertytypes/all
HTTP Method | Description | Conditional | Notes |
---|---|---|---|
GET | This service will return all Property Types, both enabled and disabled. | No | |
POST | Returns HTTP 405 (Method Not Allowed) | No | Not implemented |
PUT | Returns HTTP 405 (Method Not Allowed) | No | Not implemented |
DELETE | Returns HTTP 405 (Method Not Allowed) | No | Not implemented |
GET Request
Parameters:
Parameter | Required | Notes |
---|---|---|
_mls | No | A comma-separated list of MLS IDs the property types should be common across |
GET Response
{
"D": {
"Success": true,
"Results": [
{
"Enabled": true,
"MlsName": "Residential",
"MlsCode": "A",
"PropertyClass": "Residential",
"RentalCalendar": false,
"BrokerTours": true
},
{
"Enabled": true,
"MlsName": "Multi Family",
"MlsCode": "B",
"PropertyClass": "Residential",
"RentalCalendar": false,
"BrokerTours": false
},
{
"Enabled": true,
"MlsName": "Land",
"MlsCode": "C",
"PropertyClass": "Land",
"RentalCalendar": false,
"BrokerTours": false
},
{
"Enabled": true,
"MlsName": "Commercial",
"MlsCode": "D",
"PropertyClass": "Commercial",
"RentalCalendar": false,
"BrokerTours": false
},
{
"Enabled": false,
"MlsName": "Farm (Inactive)",
"MlsCode": "E",
"PropertyClass": "Farm",
"RentalCalendar": false,
"BrokerTours": false
},
{
"Enabled": true,
"MlsName": "Rental",
"MlsCode": "F",
"PropertyClass": "Rental",
"RentalCalendar": true,
"BrokerTours": false
}
]
}
}
Property Types Description
Attribute | Data Type | Description |
---|---|---|
BrokerTours |
Boolean | true if the Broker Tours listings subservice is available for this property type. |
Enabled |
Boolean | true for an active property type. |
MlsCode |
Character | The code representing the property type, used for searching. |
MlsName |
Character | The property type label as chosen by the MLS. |
PropertyClass |
Character | The PropertyClass Standard Field item the property type is classified as. Particularly useful in cross-MLS searches where the MlsName and MlsCode may not match. |
RentalCalendar |
Boolean | true if the Rental Calendar listings subservice is available for this property type. |
Expansions
None.