Getting list data
In order to correctly refer a property, you will need to get lists of several list properties, specifically:
- Parking Types
and for residential properties:
- Residential Property Types
- Central Heating Types
and for commercial properties:
- Commercial Property Types
- Commercial Business Types
All of these lists are simple Id/Name pairs, and can be retrieved from the API client as IReadOnlyList<T> objects.
Parking Types
The Parking Type options can be accessed from the APIClient as follows:
var parkingTypes = await client.ParkingTypes.GetAllAsync();
Residential Property Types
The Residential Property Type options can be accessed from the APIClient as follows:
var residentialPropertyTypes = await client.ResidentialPropertyTypes.GetAllAsync();
Central Heating Types
The Central Heating Type options can be accessed from the APIClient as follows:
var centralHeatingTypes = await client.CentralHeatingTypes.GetAllAsync();
Commercial Property Types
The Commercial Property Type options can be accessed from the APIClient as follows:
var commercialPropertyTypes = await client.CommercialPropertyTypes.GetAllAsync();
Commercial Business Types
The Commercial Business Type options can be accessed from the APIClient as follows:
var commercialBusinessTypes = await client.CommercialBusinessTypes.GetAllAsync();