Unable to get content of the image associated with choice in a column in Matter

27235

Hi all,

I am having problem that I don't know how to get the content of the  image associated with a choice option in a Matter column (type = choice).

In Column setting of Matter, I can associate an image to a choice by choosing Image from Image Library.

 

After choosing image for a choice, the image is associated with the choice.

The imageId is returned when calling the API to get Columns of Isheets

/api/13/isheets/admin/24/columns

"choices": {
          "choice": [
            {
              "id": "2961",
              "label": "<![CDATA[Yes

              "color": "color:#fa1515",
              "imageid": 38,
              "score": null
            },
            {
              "id": "2962",
              "label": "<![CDATA[No]]>",
              "color": "#000000",
              "imageid": 0,
              "score": null
            }
          ]
        },

Then I use the API /imagelibrary/{imageId} to get the content of the image , for example with imageId = 38, but the response says that The given imageId is invalid.

How can I get the content of the image link to a choice column option via the API?

 

 

 

 

]]>