Set the value of a customField with multi values
I am getting 400 errors when attempting to set the value of a custom field with multiple values. I can set the values on the UI and see them when I send a GET request, but my PUT requests either fail or don't have the correct results. I've tried:
400 Errors:
[URL]?customFields=[{"id":"IEAE3OG2JUACPNG2", "value": [\"Prod 1\", \"Prod 2\"]}]
[URL]?customFields=[{"id":"IEAE3OG2JUACPNG2", "values": [\"Prod 1\", \"Prod 2\"]}]
[URL]?customFields=[{"id":"IEAE3OG2JUACPNG2", "value": [\"Prod 1\"][\"Prod 2\"]}]
Invalid Parameter. Parameter 'customFields' value is invalid:
[URL]?customFields=[{"id":"IEAE3OG2JUACPNG2", "value": ["Prod 1", "Prod 2"]}]
[URL]?customFields=[{"id":"IEAE3OG2JUACPNG2", "value": ["Prod 1"]["Prod 2"]}]
[URL]?customFields=[{"id":"IEAE3OG2JUACPNG2", "value": ['Prod 1', 'Prod 2']}]
Succeed, but they don't set anything:
[URL]?customFields=[{"id":"IEAE3OG2JUACPNG2", "values": ["Prod 1", "Prod 2"]}]
Succeeds, but it adds everything as a string as opposed to individual items:
[URL]?customFields=[{"id":"IEAE3OG2JUACPNG2", "value": ["Prod 1, Prod 2"]}]
Any ideas?
Hi MediaPulse Integration, I've asked our Support team to help you with your question, and I can see they've reached out to you about this 👍
Please let me know if there's anything else I can help you with!
Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover
Lisa Wrike Team member Become a Wrike expert with Wrike Discover