reapit / foundations

Foundations platform mono repo
57 stars 21 forks source link

Landlord not found #11249

Open GraemeHTM opened 2 weeks ago

GraemeHTM commented 2 weeks ago

Summary

I'm getting a landlord id (LSC240018) in a tendencies response for database ( LOC-GLAS), but if I then request the landlord details directly I get 404 not found?

https://platform.reapit.cloud/tenancies with params: modifiedFrom=2024-06-19&sortBy=modified&pageNumber=5&embed=property&embed=applicant

"landlordId":"LSC240018"

Detail and or supporting links and screenshots

curl -X 'GET' \ 'https://platform.reapit.cloud/landlords/LSC240018' \ -H 'accept: application/json' \ -H 'reapit-customer: LOC-GLAS' \ -H 'api-version: 2020-01-31' \ -H 'Authorization: Bearer XXXXX'

{"statusCode":404,"dateTime":"2024-06-22T00:01:37.4715056Z","description":"Entity \"Landlord\" (LSC240018) was not found."}%

AshDeeming commented 1 week ago

Hi @GraemeHTM I can locate this landlord on their system, NB: it is a Company landlord record This could relate to the officeGroup but will investigate further & update asap

AshDeeming commented 1 week ago

Hi @GraemeHTM Please note the office (LSC) this landlord is associated to is not included in the mentioned officeGroup (LOC-GLAS)

GraemeHTM commented 1 week ago

Hi,

LSC is not installed on our installation list -> https://developers.reapit.cloud/

Created: 2024-06-22 10:37:26.599

Json Response for Lomond Capital: Linley & Simpson

{15/06/2024,Reapit,LOH240193,LLC180219,"Lomond Capital: Linley & Simpson","Managed tenancy",LHO20001221,......,letting,LSC240005,"",furnished,......

which is joined to property LSC240005

"property":{ "id":"LSC240005", "created":"2024-06-05T14:13:07Z", "modified":"2024-06-19T10:21:41Z", "landlordId":"LSC240018" "offices":{"href":"/offices/?id=SRL"} "landlord":{"href":"/landlords/LSC240018"}

LSC is very close to the name "Lomond Capital or "Linley & Simpson"...

I have the full API response if needed?

Thank you, Graeme.

GraemeHTM commented 5 days ago

Any update?