reapit / foundations

Foundations platform mono repo
57 stars 21 forks source link

New feed seem attributes missing from the properties API #11297

Open CarlPiper opened 1 month ago

CarlPiper commented 1 month ago

We are aware that there are new Sales property attributes provided in Agency Cloud Release 12.182.2. However, we cannot see these attributes being included in the feeds sent to us. Have these been incorporated into the feeds yet? If so, are these being incorporated automatically, or do we have to request them?

AshDeeming commented 1 month ago

Hi @CarlPiper Please could you review these docs & confirm if the missed attributes are within unmappedAttributes

CarlPiper commented 1 month ago

Thank you. Please see some screenshots client side, then the data we are getting through:

RPS_Attributes1 RPS_Attributes2

You can see below that they arent listed under unmapped attributes

Array
(
    [0] => stdClass Object
        (
            [id] => xxxxxxxxx
            [created] => 2018-06-06T08:24:24Z
            [modified] => 2024-07-12T11:14:43Z
            [lastCall] => 2023-04-24
            [nextCall] => 2023-05-08
            [marketingMode] => selling
            [currency] => GBP
            [alternateId] => 
            [address] => stdClass Object
                (
                    [buildingName] => 1 Test Court
                    [buildingNumber] => 37
                    [line1] => Test Street
                    [line2] => Hampstead
                    [line3] => London
                    [line4] => 
                    [postcode] => NW3 8AA
                    [countryId] => 
                    [localTimeZone] => Europe/London
                    [geolocation] => stdClass Object
                        (
                            [latitude] => xxxxxxxxx
                            [longitude] => xxxxxxxxx
                        )

                )

            [areaId] => xxxxxxxxx
            [strapline] => 
            [description] => xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            [longDescription] => 
            [localAuthorityCompanyId] => xxxxxxxxx
            [localAuthorityCompanyName] => Camden Council
OFF-STREET PARKING SUITE ENTRANCE HALL
            [departmentId] => G
            [negotiatorId] => DCR
            [bedrooms] => 1
            [bedroomsMax] => 0
            [receptions] => 1
            [receptionsMax] => 0
            [bathrooms] => 2
            [bathroomsMax] => 0
            [numberOfUnits] => 0
            [parkingSpaces] => 0
            [councilTax] => 
            [disabledPortalIds] => Array
                (
                    [0] => RM
                    [1] => RMFA
                    [2] => RMZP
                    [3] => RMDD
                    [4] => RMAM
                    [5] => RMBY
                    [6] => RMHO
                    [7] => RMNH
                    [8] => RMLR
                )

            [internetAdvertising] => 1
            [isExternal] => 
            [depositSchemeAccepted] => 
            [viewingArrangements] => 
            [videoUrl] => 
            [videoCaption] => 
            [video2Url] => 
            [video2Caption] => 
            [notes] => THIS A TEST PROPERTY

99 YEAR LEASE
            [boardStatus] => 
            [boardNotes] => 
            [featuredImageUrl] => https://assets.reapit.net/xxxxxxxxx/live/pictures/xxxxxxxxx.jpg
            [url] => 
            [urlCaption] => 
            [groundRent] => 500
            [groundRentComment] => 
            [groundRentReviewDate] => 2025-01-01
            [groundRentIncrease] => 2.5
            [serviceCharge] => 1000
            [serviceChargeComment] => 
            [floorLevel] => 
            [internalFloors] => 
            [totalFloors] => 
            [boardUpdated] => 
            [valuation] => 
            [archivedOn] => 
            [fromArchive] => 
            [rural] => 
            [externalArea] => 
            [internalArea] => 
            [epc] => stdClass Object
                (
                    [exempt] => 
                    [eer] => 62
                    [eerRating] => D
                    [eerPotential] => 74
                    [eerPotentialRating] => C
                    [eir] => 0
                    [eirRating] => 
                    [eirPotential] => 0
                    [eirPotentialRating] => 
                    [fullDocumentUrl] => 
                    [firstPageDocumentUrl] => 
                )

            [selling] => stdClass Object
                (
                    [instructed] => 2018-06-06
                    [price] => 750000
                    [priceTo] => 
                    [reservationFee] => 0
                    [qualifier] => askingPrice
                    [status] => forSale
                    [disposal] => privateTreaty
                    [completed] => 
                    [exchanged] => 2018-06-06
                    [accountPaid] => 
                    [tenure] => stdClass Object
                        (
                            [type] => leasehold
                            [expiry] => 2135-06-22
                        )

                    [vendorId] => HIG180083
                    [agency] => jointSole
                    [agencyId] => JS
                    [agreementExpiry] => 
                    [fee] => stdClass Object
                        (
                            [type] => percentage
                            [amount] => 1.5
                        )

                    [exchangedCompanyFee] => 
                    [recommendedPrice] => 0
                    [valuationPrice] => 0
                    [brochureId] => 
                    [publicBrochureUrl] => 
                    [exchangedPrice] => 580000
                    [exchangedOfficeId] => 
                    [decoration] => Array
                        (
                            [0] => veryGood
                        )

                    [sharedOwnership] => stdClass Object
                        (
                            [sharedPercentage] => 
                            [rent] => 
                            [rentFrequency] => 
                        )

                    [subAgentTerms] => 
                )

            [letting] => 
            [commercial] => 
            [regional] => 
            [type] => Array
                (
                    [0] => flatApartment
                )

            [style] => Array
                (
                    [0] => groundFloor
                )

            [situation] => Array
                (
                    [0] => garden
                )

            [parking] => Array
                (
                )

            [age] => Array
                (
                    [0] => period
                )

            [locality] => Array
                (
                    [0] => townCity
                )

            [specialFeatures] => Array
                (
                )

            [unmappedAttributes] => Array
                (
                )

            [availableServicesIds] => Array
                (
                )

            [rooms] => Array
                (
                )

            [roomDetailsApproved] => 
            [officeIds] => Array
                (
                    [0] => HAM
                )

            [lostInstructionDate] => 
            [lostInstructionNote] => 
            [developmentSiteType] => notSet
            [keywords] => Array
                (
                )

            [extrasField] => stdClass Object
                (
                )

            [_eTag] => "xxxxxxxxx"
            [_links] => stdClass Object
                (
                    [self] => stdClass Object
                        (
                            [href] => /properties/xxxxxxxxx
                        )

                    [images] => stdClass Object
                        (
                            [href] => /propertyImages/?propertyId=xxxxxxxxx
                        )

                    [documents] => stdClass Object
                        (
                            [href] => /documents/?associatedType=property&associatedId=xxxxxxxxx
                        )

                    [offers] => stdClass Object
                        (
                            [href] => /offers/?propertyId=xxxxxxxxx
                        )

                    [appointments] => stdClass Object
                        (
                            [href] => /appointments/?propertyId=xxxxxxxxx
                        )

                    [negotiator] => stdClass Object
                        (
                            [href] => /negotiators/xxxxxxxxx
                        )

                    [offices] => stdClass Object
                        (
                            [href] => /offices/?id=xxxxxxxxx
                        )

                    [department] => stdClass Object
                        (
                            [href] => /departments/xxxxxxxxx
                        )

                    [vendor] => stdClass Object
                        (
                            [href] => /vendors/xxxxxxxxx
                        )

                    [area] => stdClass Object
                        (
                            [href] => /areas/xxxxxxxxx
                        )

                    [portalType] => stdClass Object
                        (
                            [href] => /configuration/portalTypes/?xxxxxxxxx
                        )

                    [sellingAgency] => stdClass Object
                        (
                            [href] => /configuration/agencyTypes/xxxxxxxxx
                        )

                    [localAuthority] => stdClass Object
                        (
                            [href] => /companies/xxxxxxxxx
                        )

                )

            [metadata] => stdClass Object
                (
                )

            [_embedded] => stdClass Object
                (
                    [images] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [id] => xxxxxxxxx.png
                                    [created] => 2024-04-30T14:15:58Z
                                    [modified] => 2024-04-30T14:15:58Z
                                    [propertyId] => xxxxxxxxx
                                    [url] => https://assets.reapit.net/xxxxxxxxx/live/pictures/xxxxxxxxx.png
                                    [thumbnailUrl] => https://assets.reapit.net/xxxxxxxxx/live/thumbs/xxxxxxxxx.png
                                    [caption] => EPC Rating Graph
                                    [type] => epc
                                    [order] => 99
                                    [fromArchive] => 
                                    [_eTag] => "xxxxxxxxx"
                                    [_links] => stdClass Object
                                        (
                                            [self] => stdClass Object
                                                (
                                                    [href] => /propertyImages/xxxxxxxxx.png
                                                )

                                            [property] => stdClass Object
                                                (
                                                    [href] => /properties/xxxxxxxxx
                                                )

                                        )

                                    [_embedded] => 
                                )

                            [1] => stdClass Object
                                (
                                    [id] => xxxxxxxxx.jpg
                                    [created] => 2024-04-30T14:15:05Z
                                    [modified] => 2024-04-30T14:15:27Z
                                    [propertyId] => xxxxxxxxx
                                    [url] => https://assets.reapit.net/xxxxxxxxx/live/pictures/xxxxxxxxx.jpg
                                    [thumbnailUrl] => https://assets.reapit.net/xxxxxxxxx/live/thumbs/xxxxxxxxx.jpg
                                    [caption] => Picture No. 94
                                    [type] => floorPlan
                                    [order] => 5
                                    [fromArchive] => 
                                    [_eTag] => "xxxxxxxxx"
                                    [_links] => stdClass Object
                                        (
                                            [self] => stdClass Object
                                                (
                                                    [href] => /propertyImages/xxxxxxxxx.jpg
                                                )

                                            [property] => stdClass Object
                                                (
                                                    [href] => /properties/xxxxxxxxx
                                                )

                                        )

                                    [_embedded] => 
                                )

                            [2] => stdClass Object
                                (
                                    [id] => xxxxxxxxx.jpg
                                    [created] => 2024-04-30T14:14:46Z
                                    [modified] => 2024-04-30T14:14:52Z
                                    [propertyId] => xxxxxxxxx
                                    [url] => https://assets.reapit.net/xxxxxxxxx/live/pictures/xxxxxxxxx.jpg
                                    [thumbnailUrl] => https://assets.reapit.net/xxxxxxxxx/live/thumbs/xxxxxxxxx.jpg
                                    [caption] => Picture No. 93
                                    [type] => photograph
                                    [order] => 1
                                    [fromArchive] => 
                                    [_eTag] => "xxxxxxxxx"
                                    [_links] => stdClass Object
                                        (
                                            [self] => stdClass Object
                                                (
                                                    [href] => /propertyImages/xxxxxxxxx.jpg
                                                )

                                            [property] => stdClass Object
                                                (
                                                    [href] => /properties/xxxxxxxxx
                                                )

                                        )

                                    [_embedded] => 
                                )

                            [3] => stdClass Object
                                (
                                    [id] => xxxxxxxxx.jpg
                                    [created] => 2024-04-30T14:14:44Z
                                    [modified] => 2024-04-30T14:14:53Z
                                    [propertyId] => xxxxxxxxx
                                    [url] => https://assets.reapit.net/xxxxxxxxx/live/pictures/xxxxxxxxx.jpg
                                    [thumbnailUrl] => https://assets.reapit.net/xxxxxxxxx/live/thumbs/xxxxxxxxx.jpg
                                    [caption] => Picture No. 92
                                    [type] => photograph
                                    [order] => 2
                                    [fromArchive] => 
                                    [_eTag] => "xxxxxxxxx"
                                    [_links] => stdClass Object
                                        (
                                            [self] => stdClass Object
                                                (
                                                    [href] => /propertyImages/xxxxxxxxx.jpg
                                                )

                                            [property] => stdClass Object
                                                (
                                                    [href] => /properties/xxxxxxxxx
                                                )

                                        )

                                    [_embedded] => 
                                )

                            [4] => stdClass Object
                                (
                                    [id] => xxxxxxxxx.jpg
                                    [created] => 2024-04-30T14:14:42Z
                                    [modified] => 2024-04-30T14:14:56Z
                                    [propertyId] => xxxxxxxxx
                                    [url] => https://assets.reapit.net/xxxxxxxxx/live/pictures/xxxxxxxxx.jpg
                                    [thumbnailUrl] => https://assets.reapit.net/xxxxxxxxx/live/thumbs/xxxxxxxxx.jpg
                                    [caption] => Picture No. 91
                                    [type] => photograph
                                    [order] => 4
                                    [fromArchive] => 
                                    [_eTag] => "xxxxxxxxx"
                                    [_links] => stdClass Object
                                        (
                                            [self] => stdClass Object
                                                (
                                                    [href] => /propertyImages/xxxxxxxxx.jpg
                                                )

                                            [property] => stdClass Object
                                                (
                                                    [href] => /properties/xxxxxxxxx
                                                )

                                        )

                                    [_embedded] => 
                                )

                            [5] => stdClass Object
                                (
                                    [id] => xxxxxxxxx.jpg
                                    [created] => 2024-04-30T14:14:39Z
                                    [modified] => 2024-04-30T14:14:55Z
                                    [propertyId] => xxxxxxxxx
                                    [url] => https://assets.reapit.net/xxxxxxxxx/live/pictures/xxxxxxxxx.jpg
                                    [thumbnailUrl] => https://assets.reapit.net/xxxxxxxxx/live/thumbs/xxxxxxxxx.jpg
                                    [caption] => Picture No. 90
                                    [type] => photograph
                                    [order] => 3
                                    [fromArchive] => 
                                    [_eTag] => "xxxxxxxxx"
                                    [_links] => stdClass Object
                                        (
                                            [self] => stdClass Object
                                                (
                                                    [href] => /propertyImages/xxxxxxxxx.jpg
                                                )

                                            [property] => stdClass Object
                                                (
                                                    [href] => /properties/xxxxxxxxx
                                                )

                                        )

                                    [_embedded] => 
                                )

                        )

                )

        )

)
CarlPiper commented 1 month ago

Any update on this?

CarlPiper commented 1 month ago

We really need to get to bottom of this issue, any update?

AshDeeming commented 1 month ago

relates to: https://github.com/reapit/foundations/issues/11087

HollyJoyPhillips commented 1 month ago

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 3 weeks ago

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

CarlPiper commented 1 week ago

This still doesn't look to be the solution to our issue.

Our issue is that what our client is seeing in their portal isn't being represented in the feed.

Please see the below from client:

_" Thanks for this. Attached is what we see in our CRM and what RPD feed you. Upon looking they don’t seem to show the details from the following sections –

Accessibility Rights & Restrictions Flood & Erosion

Can you ask them if that’s by design? "_

RPS_AttributesFeed2