I have Account entity as a parent and Contact entity as a child.
Now I want to find relationship attribute for both of them like parentcustomerid. Which Javascript API I can use to get this information?
If I summarize again I will pass parent and child entity name and API will return me relationship field like parentcustomerid for account and contact and regardingobjectid for account and appointments.
Please suggest me how to resolve it?