reapit / foundations

Foundations platform mono repo
57 stars 21 forks source link

Client specific (extras) field #7565

Closed Filip5991 closed 2 years ago

Filip5991 commented 2 years ago

Hello,

This is a question that we couldn't figure with a mutual client - Webbers, so I was hoping you could help. Some of Webbers' properties (or appointments we can't tell yet) belong to a 'sub-branch' of Webbers - Fine & Country. We are trying to figure out a way to distinguish these properties.

Inside the /properties/ endpoint, I can see there's an 'extras field', so I was wondering if what we are looking for could be here? However, this field states: You must be granted access to this data beforehand. If this is what we need, how do we request access to view items inside the field? We spoke with support, and they told us we need to be looking for a field called 'pWebOffice'

AshDeeming commented 2 years ago

Hi @Filip5991 Could you confirm if the sub-branches will be in their own offices or office groups?

Filip5991 commented 2 years ago

Hi @AshDeeming , the issue has only arisen due to how it appears the Fine and Country is set up on Webbers.

As far as we are aware this is the only difference with Fine & Country and Webbers: https://prnt.sc/gA-GNFlKg8gp

I think if they had own offices etc we wouldn't need this, as we would just set it up as normal

plittlewood-rpt commented 2 years ago

Hi @Filip5991 - there seem to be various different Fine and Country flags set up in the Webbers system so I'd recommend reaching out to the customer to agree with them which field you should actually be using.

The options seem to be:

It would be wrong to make an assumption here so I think speaking to the agent is your best bet

Filip5991 commented 2 years ago

Hi @plittlewood-rpt , Apologies for the late response, but it's been a long back and forth and I have some more info now https://prnt.sc/jfp4P4seDA6z <- This is the field we are trying to use. I suppose this would be in the "Special" attributes as you mentioned in your previous comment?

I tried pinging the /properties endpoint with a single property (https://platform.reapit.cloud/properties/LNL220010?PageNumber=1&PageSize=100) but I don't see a specialAttributes field in the response? There is one called specialFeatures, but it is almost always empty (at least with the few properties I tried: https://prnt.sc/pCm7wRwtexod)

github-actions[bot] commented 2 years ago

It looks like you have commented on a closed issue. If your comment relates to a bug or feature request, please open a new issue, and include this issue number/url for reference. For more information on our processes, please click here

plittlewood-rpt commented 2 years ago

Hi @Filip5991 yes specialFeatures is the correct collection to be checking - apologies for the typo. I've just run a test against a couple of properties and it seems to be functioning as intended eg

GET /properties/BAR050165

 "specialFeatures": [
    "Fine & Country"
  ],
GET /properties/BUD210176

 "specialFeatures": [
    "Fine & Country"
  ],
github-actions[bot] commented 2 years ago

It looks like you have commented on a closed issue. If your comment relates to a bug or feature request, please open a new issue, and include this issue number/url for reference. For more information on our processes, please click here

Filip5991 commented 2 years ago

Hi @plittlewood-rpt , Thanks for confirming, I also tried a few more properties from the client, and managed to see the special future :) I guess the ones I checked before didn't have the special feature added when they were originally created. Thank you again, and apologies for the delayed responses

github-actions[bot] commented 2 years ago

It looks like you have commented on a closed issue. If your comment relates to a bug or feature request, please open a new issue, and include this issue number/url for reference. For more information on our processes, please click here