Python Post Request: CustomFields

Hello, 

I am having troubles posting to the Wrike API w/ a custom field value through Python3.  Do you have suggestions for the syntax / formatting for that sort of JSON array?

0
👍 Spot On 💡 Innovative Approach 💪 Stellar Advice ✅ Solved 🪄 Remove Kudos
4 comments
Avatar
Miron Mizrahi

Daniel Elliott did you check https://developers.wrike.com/api/v4/tasks/#modify-tasks (under the second option). Generally speaking CFs require an array of objects 

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

Thanks Miron, yes I saw that.  Do you happen to have an example of that formatting?  I get invalid syntax errors.

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

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

Daniel Elliott there is an example on the site below the request/response blocks.

customFields=[{"id":"IEAQB5KBJUAAAAAC","value":"testValue"},{"id":"IEAQB5KBJUAAAAAD","value":"testValue"}]

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

Folllowing List for Post: Python Post Request: CustomFields
[this list is visible for admins and agents only]

Top

Upcoming Live Sessions