We need certain clarifications for the Sage CRM api:
We notice that in the response for $list api for most of the objects, we also see URLs for related objects. For eg, for Company, we see the following:
"Email":
{
"$url": "..../sagecrm2/-/Company('28')/Email?startindex=1&count=10"
},
"Address":
{
"$url": "..../sagecrm2/-/Company('28')/Address?startindex=1&count=10"
},
"Phone":
{
"$url": "..../sagecrm2/-/Company('28')/Phone?startindex=1&count=10"
},
"Opportunity":
{
"$url": "..../sagecrm2/-/Company('28')/Opportunity?startindex=1&count=10"
},
"Library":
{
"$url": "..../sagecrm2/-/Company('28')/Library?startindex=1&count=10"
},
"Person":
{
"$url": "..../sagecrm2/-/Company('28')/Person?startindex=1&count=10"
},
"Cases":
{
"$url": "..../sagecrm2/-/Company('28')/Cases?startindex=1&count=10"
},
"Communication":
{
"$url": "..../sagecrm2/-/Company('28')/Communication?startindex=1&count=10"
}
We do not see these mentioned in the metadata api response for this object. ( $prototypes/Company ).
We need to know how we can get the metadata for these related objects. In other words, how do we fetch which all objects would be shown for a particular object $list api?
Thanks,
Harish