I have started implementing an interface to Umbraco using the HAL api but I have noticed that in the returned properties, any property which is based on an Umbraco.DropDownList is returning a numeric key, rather than the property value - so for instance I'm getting
"properties":{"productColour":"25"}
when I might expect
"properties":{"productColour":"White"}
Is there any way to retrieve the value of DDL items - either directly in the response, or by performing an additional query to look them up?
HAL Rest API returning DropDown Lists
I have started implementing an interface to Umbraco using the HAL api but I have noticed that in the returned properties, any property which is based on an Umbraco.DropDownList is returning a numeric key, rather than the property value - so for instance I'm getting
"properties":{"productColour":"25"}
when I might expect
"properties":{"productColour":"White"}
Is there any way to retrieve the value of DDL items - either directly in the response, or by performing an additional query to look them up?
Related : is HAL being actively developed?
is working on a reply...