Setting Choice Value via the API

27273

I believe when using the API to set the value of a choice column, you cannot use the text value itself but must use a unique ID associated with the value.  (Btw, if it's possible to use the text value, that would be good to know.)  I have found it difficult to find the ID associated with each value. Is there any easy way to obtain this information?

I suggest when you download the choice value to Excel, in addition to the Choice, Color and Image columns, HighQ adds an ID column as well.  That would make it much easier to find the ID.

  • Thanks for the feedback Mark Salamon I have raised this with Natasha Miller-Santos to add this to her feature request list.

  • Thomson Reuters Thomson Reuters staff member

    Mark Salamon

    If you call 'GET iSheet columns', we will return the unique identifiers for each choice of a choice column.



    curl "https://myinstance.highq.com/instance/api/12/isheets/admin/1234/columns" -H  "accept: application/xml" -H  "authorization: Bearer foobar"

    ~

    CC Imran Aziz
    Natasha Miller-Santos

  • Peter Simpson Good to know. I think I was using inspector tools to find this out. Adding this to the Excel export should simplify this further.