API - choice column: multiple selection

27206

Is it possible to select multiple options in a choice column when completing it via API? I am able to edit the value in the choice column but only selecting one of the possible values, I'd like to select more than one.

Parents
  • Maria Sarra, for checkbox (display method) choice columns:

     

    {
       "data": {
         "item": [{
             "itemsequence": 1,
             "alerteroption": 1, // RESPECT_USER_PREFERENCE alert options
             "column": [{
                  "attributecolumnid": 9999, // choice column ID (Display Method: Checkboxes)
                  "rawdata": {
                    "choices": {
                      "choice": [
                        { "id": 99990 }, // choice "A"
                        { "id": 99991 }, // choice "B"
                        { "id": 99992 }  // choice "C"
                      ]
                    }
                  }
                }
             ]
           }
         

    Also, properties "id" = -1, and "label" populated with text (max. length 255) if wanting "Other". See Note #5 in old doco.

    Hope this helps,

    Andrew

    ]]>
Reply
  • Maria Sarra, for checkbox (display method) choice columns:

     

    {
       "data": {
         "item": [{
             "itemsequence": 1,
             "alerteroption": 1, // RESPECT_USER_PREFERENCE alert options
             "column": [{
                  "attributecolumnid": 9999, // choice column ID (Display Method: Checkboxes)
                  "rawdata": {
                    "choices": {
                      "choice": [
                        { "id": 99990 }, // choice "A"
                        { "id": 99991 }, // choice "B"
                        { "id": 99992 }  // choice "C"
                      ]
                    }
                  }
                }
             ]
           }
         

    Also, properties "id" = -1, and "label" populated with text (max. length 255) if wanting "Other". See Note #5 in old doco.

    Hope this helps,

    Andrew

    ]]>
Children
No Data