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
17
Views
0
Comments
edited Jun 8, 2022 12:11PM in General Technical Discussions

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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