reapit / foundations

Foundations platform mono repo
57 stars 21 forks source link

Additional Information fields to be added in the extrasField #11324

Open rajeshwl opened 1 month ago

rajeshwl commented 1 month ago

Request

One of our mutual client has requested us to show the Accesssibility, Rights & Restrictions, and Flood & Erosion Risk fields to be added in the properties endpoint or utilities endpoint

Customer Name: MartynGerrard

Can you please share the extraFields name for the above mentioned fields and enable it.

Attached the screenshot of the fields we required.

image001 (19)

AshDeeming commented 1 month ago

Thanks @rajeshwl Relates to: https://github.com/reapit/foundations/issues/11087

rajeshwl commented 1 month ago

@AshDeeming ,

Will these fields be updated to the properties endpoint in the next release?

Or do we have access via the extraFields?

AshDeeming commented 1 month ago

Hi @rajeshwl There are changes required for the CRM before this can be surfaced. Please subscribe to the ticket mentioned above for updates.

HollyJoyPhillips commented 1 month ago

As per the comment above, we are waiting on internal data changes in the core CRM. Once the changes have been implemented it will need to be applied to all customer DB's before this will be available in the API.

Internal tickets: AC-11975/PBI-5789/SI-24097

AshDeeming commented 1 month ago

HI @rajeshwl Please note that as per #11087 - This information is now available in production where populate by clients, please see the PropertyModel & subsequent utilities endpoint

rajeshwl commented 1 month ago

Hi @AshDeeming , We tested the properties endpoint for our client, but we are facing an issue here.

We are not receiving data for Accessibility, Rights & Restrictions, and Flood & Erosion Risk in the properties listing call.

URL : https://platform.reapit.cloud/properties/?id=MGM230002 Response: "rightsRestrictions": null, "floodErosion": null, "accessibility": [],

But if we hit an individual property we are receiving data for the fields. URL: https://platform.reapit.cloud/properties/MGM230002/ Response: "rightsRestrictions": { "listed": true, "restrictions": null, "easementsOrServitudesOrWayleaves": null, "rightOfWay": true }, "floodErosion": { "floodedInLastFiveYears": true, "floodDefences": null, "floodSources": [ "lake", "river" ], "lastFlood": "2024-03-13" }, "accessibility": [ "levelAccess", "liftAccess", "unsuitableForWheelchairs" ],

Can you please check this out. Because we can't call individual property for these details as that will increase the number of hits to the server. If you could check and fix the issue it will be helpful for to use.

RWilcox-Reapit commented 4 weeks ago

Hi @rajeshwl

I have an idea of what may be causing this, I'll look into it.

Thanks for flagging

rajeshwl commented 3 weeks ago

Hi @RWilcox-Reapit ,

Is this fixed? Can you please prioritize this one. Our client is chasing us to show these information in the website.

Your help is much appreciated.

Thanks

RWilcox-Reapit commented 3 weeks ago

Hi @rajeshwl this should be resolved now. Sorry for the delay.

Thanks