How do i get all picklist values from a field in salesforce using REST Api?

我们两清 提交于 2019-12-01 20:35:39

问题


I am trying to get all picklist values from a field in salesforce using REST API. Is it possible to do that? If it is then how it can be done?

Thanks,

Raj.


回答1:


It's very simple. You need to access resource similar to this: /services/data/v26.0/sobjects/Opportunity/describe (use whichever object you want) and the JSON response will contain fields node:



来源:https://stackoverflow.com/questions/14231878/how-do-i-get-all-picklist-values-from-a-field-in-salesforce-using-rest-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!