Returning Tenancies and Tenants
Question: How do we associate tenants with tenancies?
Answer:
This can be achieved using the following process:
- Use one of the available Inventory endpoints to find a property or properties:
- Next, you can find Tenancies by Inventory here:
/inventory/{inventoryId}/tenancies - Then, once you have the Tenancies, the Contacts (Tenants) are found using the call below (you will match these contactIds with the next call).
/tenancies/{tenancyId}/tenantIds - Now, to get the contact details you will use this endpoint which will return the details for the contactIds provided.
/contacts - Finally, If you match the contactIds from get_contactsById with contactIds found in get_tenancies-tenancyId-tenantIds you will have your relationship.
Updated 12 months ago