Asking for Advice||Suggestion: Automatic translation of Single Option Values in API
Hello,
I've noticed, that API call (/api/v1/deals) for Single Option Value custom fields doesn't return the original value, but some generated numer string like "12" or "13" or "14".
It there any way to have the original values put in the API response automatically and don't have to map this generated numbers to original values later? How can I do it?
Comments
-
Hello @Karol , you will need another endpoint to obtain the corresponding values to those numerical keys. If it is a Deal Field you would likely need GET/v1/dealFields/{id}
You can find out more via out documentation page here:
https://developers.pipedrive.com/docs/api/v1/DealFields#getDealField0 -
Manuel Oliveira said:
Hello @Karol , you will need another endpoint to obtain the corresponding values to those numerical keys. If it is a Deal Field you would likely need GET/v1/dealFields/{id}
You can find out more via out documentation page here:
https://developers.pipedrive.com/docs/api/v1/DealFields#getDealFieldYeah - Thx Bro
0