Fetch Display Name of FCL when querying a resource like Get all Opportunities using REST API
Summary:
How to Get the Display Name of a Fixed Choice List along with the response when querying a resource say Get all Opportunities
Content (required):
Relative URI: /crmRestApi/resources/11.13.18.05/opportunities
This API call fetches a response including Fixed Choice List(FCL) attribute storing LookupCode as "AESOStage_c": "STAGE_1".
I also see a links collection:
{
"rel": "lov",
"href": "<servername>/crmRestApi/resources/11.13.18.05/opportunities/a0670000017TXYNAA4/lov/LOVVA_For_AESOStage_c",
"name": "LOVVA_For_AESOStage_c",
"kind": "collection"
}
This link when used in a separate GET API call, would fetch all values for the FCL/Lookup.
The intention is to find how seamlessly; the Display Name of Lookup/Fixed choice List related to the Lookupcode used in the specific record be fetched