Loading...
GET {BASE_URL}/getHmoAttributes

Get HMO Attributes

Retrieve available attributes for a specific property type

Parameters

Parameter Type Required Description
property_type string Required Type of property (HMO (B&M), HMO (Commercial))

Request Examples

curl -X GET "https://data-api.deskval.ai/api/v1/getHmoAttributes?property_type=Detached" \
  -H "X-API-Key: your-api-key" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json"
const response = await fetch('https://data-api.deskval.ai/api/v1/getHmoAttributes?property_type=Detached', {
    method: 'GET',
    headers: {
        'X-API-Key': 'your-api-key',
        'Accept': 'application/json',
        'Content-Type': 'application/json'
    }
});

const data = await response.json();
console.log(data);
import requests

url = "https://data-api.deskval.ai/api/v1/getHmoAttributes"
params = {"property_type": "Detached"}
headers = {
    "X-API-Key": "your-api-key",
    "Accept": "application/json",
    "Content-Type": "application/json"
}

response = requests.get(url, params=params, headers=headers)
data = response.json()
print(data)

Example Response

200 OK
{
    "success": true,
    "message": "HMO Property Attributes",
    "data": [
        {
            "title": "Bike Store",
            "slug": "bike-store"
        },
        {
            "title": "Driveway",
            "slug": "driveway-hmo(b&m)"
        },
        {
            "title": "game room",
            "slug": "game-room"
        },
        {
            "title": "Garage",
            "slug": "garage-hmo(b&m)"
        },
    ]
}