I am new to salesforce.
I am trying to get the chosen value of a picklist
in an object.
The name of the object is product__c
. When I pass the product__c
in the rest api call, it returns me the api names rather than the values. How do I get the actual values?
Basically I trying to mimic the toLabel(product__c)
of the soql in rest api.