Hi Kiran, your question is not really clear to me.
Can you clarify your question?
- Do you want to consume or expose an API
- Do you want to set the association between to entities through a API endpoint or do you really want to reach the tables between to entities?