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 commentaires

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 Devenez un expert de Wrike avec Wrike Discover

Lisa Wrike Team member Devenez un expert de Wrike avec 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 Devenez un expert de Wrike grâce à Wrike Discover

Rohan V Wrike Team member Devenez un expert de Wrike grâce à 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]

Haut

Prochaines sessions en direct