Authentication, input and response
Fetch wws points for a living space that constitutes an independent home
POST
https://api.altum.ai/wws
Headers
Request Body
{
"total_wws_points": "537.3",
"points_per_component": {
"1_area_of_rooms": "125",
"2_surface_area_other_spaces": "48.8",
"3_heating": "4",
"4_energy_label": "68",
"5_kitchen": "14",
"6_sanitary_facilities": "16",
"7_facilities_for_disables": "66.1",
"8_private_outdoor_spaces": "14",
"9_woz_value": "6.8",
"10_renovation": "0",
"11_special_facilities": "124.6",
"12_monument": "50"
}
}
{
"We are not able to provide points at the moment."
}
Examples:
{
"detail": [
{
"loc": [
"body",
"source"
],
"msg": "unexpected value; permitted: 0, 1",
"type": "value_error.const",
"ctx": {
"given": 2,
"permitted": [
0,
1
]
}
}
]
}
{
"detail": [
{
"loc": [
"body",
"__root__"
],
"msg": "The energy_label must be one of ['A++++', 'A+++', 'A++', 'A+', 'A', 'B', 'C', 'D', 'E', 'F', 'G']",
"type": "value_error"
}
]
}
{
"detail": [
{
"loc": [
"body",
"__root__"
],
"msg": "If sanitary_facilities is True, list_sanitary_facilities cannot be an empty list. Please provide a list with the sanitary facilities",
"type": "value_error"
}
]
}
{
"detail": [
{
"loc": [
"body",
"list_sanitary_facilities",
0
],
"msg": "The word 'TOILfET' is not spelled correctly, or it is not in the acceptable sanitary facilities. Choose between ['toilet', 'sink', 'bath', 'shower', 'bath shower']",
"type": "value_error"
},
{
"loc": [
"body",
"__root__"
],
"msg": "If sanitary_facilities is True, list_sanitary_facilities cannot be an empty list. Please provide a list with the sanitary facilities",
"type": "value_error"
}
]
}
{
"message": "Internal server error"
}
{
"message": "Missing Authentication Token"
}
Fetch wws points for a living space that constitutes a non-independent home
POST
https://api.altum.ai/wws/non
{
"total_wws_points": "790.7",
"points_per_component": {
"1_area_of_rooms": "694.2",
"2_heating_options": "3",
"3_cooking_facilities": "20",
"4_toilet": "0",
"5_washing_facilities": "13",
"6_quality_factors": "10.5",
"7_monument": "50"
}
}
{
"We are not able to provide points at the moment."
}
Examples:
{
"detail": [
{
"loc": [
"body",
"__root__"
],
"msg": "The sink must be one of ['private', 'shared']",
"type": "value_error"
}
]
}
{
"detail": [
{
"loc": [
"body",
"__root__"
],
"msg": "The toilet must be one of [0, 1, 2, 3, 4]",
"type": "value_error"
}
]
}
{
"detail": [
{
"loc": [
"body",
"__root__"
],
"msg": "The shower_bath must be one of [0, 1, 2, 3]",
"type": "value_error"
}
]
}
{
"message": "Internal server error"
}
{
"message": "Missing Authentication Token"
}
Last updated