Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 REST API 从 salesforce 的字段中获取所有选项列表值。有可能这样做吗?如果是,那怎么办?
谢谢,
拉吉。
这很简单。您需要访问类似于此的资源:(/services/data/v26.0/sobjects/Opportunity/describe使用您想要的任何对象)并且 JSON 响应将包含fields节点:
/services/data/v26.0/sobjects/Opportunity/describe
fields