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

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 

Miron Mizrahi Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Miron Mizrahi Wrike Team member Become a Wrike expert with Wrike Discover

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

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

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

Miron Mizrahi Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover

Miron Mizrahi Wrike Team member Become a Wrike expert with Wrike Discover

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
Didn’t find what you were looking for? Write new post