Need help modifying custom field dropdown values

Hi,

I'm using Postman to attempt to update an array of values in a dropdown field.  This field needs to be updated on a daily basis from an external data source for our Wrike users.

I've been able to modify the title of the dropdown field (using the URL encoded option).  But I'm entirely unsure how to (syntactically) add/modify the dropdown values themselves (ie, the values 'none', 'none2').  How would I go about adding 'none3' to the dropdown list?

Mark

0
4 comments
Spot On Innovative Approach Stellar Advice
Avatar

It looks like you can do this using an inline URL variable.

https://www.wrike.com/api/v3/customfields/IEABJO7AJUAAUNDF?settings={"values":["none","none2","none3"]}

Does Wrike support the PATCH request?  I'd like to be able to append an array item.  The PUT request overwrites the entire array with the input array.

Mark

0
Comment actions Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Hi Mark! Glad you have found solution! I am afraid that PATCH is not supported, and we only accept PUT.

Pavel M Community Team at Wrike Become a Wrike expert with Wrike Discover

0
Comment actions Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Thanks Paul.

Is it possible to send the dropdown values in the body?  I'm attempting to load a large number of account strings to the dropdown and I get a 414 error (header is too long).

 

Mark

0
Comment actions Permalink
Spot On Innovative Approach Stellar Advice
Avatar
Stephen

Hey Mark!
So sorry this one fell through the cracks somehow. Yes, it is possible to send calls via request body using "x-www-form-urlencoded" mode in Postman. Regarding error 414, the maximum URL length acceptable in Wrike API is restricted to 8k. Please make sure your request doesn't exceed that. Let me know how it goes! :)
0
Comment actions Permalink

Folllowing List for Post: Need help modifying custom field dropdown values
[this list is visible for admins and agents only]

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