Hello,
I am trying to create a new ListItem. The list has only two columns (Title and ProductCategory1). The column is a choice column that allows multiple selection. The possible values are "Value 1", "Value 2" and "Value 3"
Here is what I tried
POST https://graph.microsoft.com/v1.0/sites/siteid/lists/listid/items/
Body:
{ "fields": { "Title": "Test", "ProductCategory1": ["PWR/Electronics","BIW/Exteriors"] } }
returns a 400 error without further description
{ "fields": { "Title": "Test", "ProductCategory1": {"choices": ["PWR/Electronics","BIW/Exteriors"]} } }
returns a 400 error without further description.
How do I fill this choice field when I create the ListItem? There absolutely no examples anywhere in the documentation for more complex types than string fields.
Thanks for your help!
Shadi