You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Fetch Display Name of FCL when querying a resource like Get all Opportunities using REST API

Question
11
Views
0
Comments
edited Dec 13, 2021 9:00PM in Integrations and APIs

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

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!