Skip to main content
Solved

How to get external reference from Opportunity Rest API

  • December 23, 2021
  • 2 replies
  • 201 views
  • Translate All

Hi Team,

 

I want to get External Reference field value from Opportunity Rest API but currently it is missing in the response model. Is there a way I can get the value ?

 

Also I have checked the details property in the response model as it is empty

 

Best answer by praveenpo

Hi @Shaify,

You are referring wrong field in response. Details is just a field under the CRM section refer the below mapping.


Add the External Ref field to configuration and you can get in the response. Please refer the below screenshots.

 


   Thanks,
 

View original

2 replies

jinin
Pro I
Forum|alt.badge.img+12
  • Pro I
  • December 23, 2021

Hi @Shaify 

Please include the field on the endpoint like below. You will get the field.  I tested in 21R2 instance and working fine.

Default endpoint, the field is not included. that is the reason you are unable to get it.
 

 

Translate

praveenpo
Semi-Pro III
Forum|alt.badge.img+3
  • Semi-Pro III
  • Answer
  • December 23, 2021

Hi @Shaify,

You are referring wrong field in response. Details is just a field under the CRM section refer the below mapping.


Add the External Ref field to configuration and you can get in the response. Please refer the below screenshots.

 


   Thanks,
 

Translate