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:
/inventory/inventory/items/inventory/{inventoryId}/inventory/filter/inventory/search
- 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:
/tenancies/{tenancyId}/tenantIds(You will match thesecontactIdswith the next call).
- Now, to get the contact details you will use this endpoint which will return the details for the
contactIdsprovided:/contacts
- Finally, if you match the
contactIdsfrom/contactswithcontactIdsfound in/tenancies/{tenancyId}/tenantIds, you will have your relationship.