Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andrew Hawken 59 posts 116 karma points c-trib
    Dec 15, 2016 @ 10:45
    Andrew Hawken
    0

    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?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies