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/Meaning of FCL when querying a resource like Get all Opportunities using REST API

in Sales 4 comments

Summary:

How to Get the Display Name/Meaning of a Fixed Choice List along with the response when querying a resource say Get all Opportunities in a single API call

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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