GET
{BASE_URL}/getMubAttributes
Get MUB Attributes
Retrieve available attributes for a specific property type
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
property_type |
string | Required | Type of property (Studio or Flat) |
Request Examples
curl -X GET "https://data-api.deskval.ai/api/v1/getMubAttributes?property_type=Flat" \
-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/getMubAttributes?property_type=Flat', {
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/getMubAttributes"
params = {"property_type": "Flat"}
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": "MUB Property Attributes",
"data": [
{
"title": "Above offices",
"slug": "above-offices2"
},
{
"title": "Above Shop",
"slug": "above-shop2"
},
{
"title": "Above Takeaway",
"slug": "above-takeaway2"
},
{
"title": "aircon",
"slug": "aircon"
},
...
...
...
]
}
