Hi,
I have record id and entity name. I want to get all the parent records of the record id.
Example,
Entity: contact, contactid: "8b4597d2-34c1-e711-810e-5065f38a9b90"
This contact used in 2 records of Lead.
Parent Entity: lead,
Record1:
leadid: "6d0e63ef-34c1-e711-810e-5065f38a9b91"
parentcontactid: "8b4597d2-34c1-e711-810e-5065f38a9b90"
Record2:
leadid: "178b9dc6-35c1-e711-810e-5065f38a9b99"
parentcontactid: "8b4597d2-34c1-e711-810e-5065f38a9b90"
So, in above case Lead is parent entity and I need both record of lead entity. If contact is assigned to any other entity i.e account, it must list all 3 records(2 of lead and 1 of account).
I am using HTML webresource. I can call using WebAPI.
Please suggest.
I event can't get list of entity which are in relationship with Account. Please suggest
