Rest API: List PickList Choices
For a PickList CustomField in Device42, is it possible to retrieve the list of available choices using the REST API? This functionality is handy for validating whether data uploaded to Device42 matches one of the allowed choices.
Additionally, there are scenarios where the choice might be correct in meaning but differs in case sensitivity. In such cases, it would be helpful to implement a function that performs a case-insensitive search across all available choices and returns the correct choice with the appropriate case formatting.
-
Hello Mansoor,
We will an option to collect Picklist values using an API on the next release v19.05.
for the next part, if you like please open a support ticket and provide more details then we can proceed there.
0 -
Thanks Wahi,
Getting the picklist values would suffice. We can update our scripts to perform a case-insensitive match.
0
Please sign in to leave a comment.
Comments
2 comments