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?

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
3 comments

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

1
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Hi MediaPulse Integration, Lisa,

I wanted to follow up regarding the solution for the issue discussed above.

I’m currently facing a similar challenge and would appreciate any guidance you might have on how to set multiple values in the custom field (multi-select).

Thank you!

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Hi Vlad Redkin, thanks for reaching out. I’ve raised a ticket on your behalf, and one of our support experts will get in touch with you shortly to assist you further.

Rohan V Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Rohan V Wrike Team member Become a Wrike expert with Wrike Discover

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos

Folllowing List for Post: Set the value of a customField with multi values
[this list is visible for admins and agents only]

Top

Upcoming Live Sessions

Didn’t find what you were looking for? Write new post