I want to show return on investment (RIO) for all the “for-sale” properties based on search criteria.
The “for-sale” end point does not have following information that is needed to calculate return on investment (ROI).
For the information above, I have to call “property-detail” end point for each property individually.
So to display ROI for 100 for-sale properties, I have to make 101 API calls (one call to “for-sale” to get the list of 100 properties and then 100 calls to “property-detail” to get tax and hoa-fee for each property).
Note that my main view has to show ROI information, so I don’t have an option of showing just the basic property info on main view and then click on the property to get the details.
What I am wondering is if it’s possible to add “Tax amount” and “HOA Fee” for each property returned by the “for-sale” end point, so I don’t have to make hundreds of calls to “property-detail” end point?
Junte-se à discussão - adicione o comentário abaixo:
Hi,
Endpoints with list returns cannot display all detailed information.
You do have to get detailed information from the property-detail endpoint.
Thanks