0
Answered

Sending multiple values of CustomField in Quote Request

JarJak 2 years ago in Client Portal updated by Łukasz Kaleta (Senior Customer Success Manager) 2 years ago 2

How can I send couple of values of "multiple selection" Custom Field in Quote Request, using either Customer or Home Portal API? I can see that "value" accepts only strings, not arrays?
https://presentation.dev.xtrf.eu/customer-api/doc/pages/quotes.html#CustomFieldDTO

Hello,


If you have multiple selection with possible values "aaa" and "bbb" try to use "value": "aaa;bbb" (Customer Portal API)


If you want to modify multiple selection value using Home Portal API you can use:

PUT https://systemUrl/home-api/projects/{projectId}/customFields

request body: [{"key":"multipleSelectionKey","value":["aaa","bbb"]}]