bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 59 forks source link

DATA PORTAL API - STRR sends data to Data Portal #23330

Open mbertucci opened 2 months ago

mbertucci commented 2 months ago

đź“– User Story As the system admin for the Data Portal Team I want to pull the registration information via API So that I can view the information in my system

Context

Local governments use Data Portal to see listing data provided by the platform such as Airbnb and VRBO. LG can see all listings at a glance on an aggregate view. If they want to see some details of a listing, they can view all details in a listing details page. This page is where our STRR data should be displayed. Data Portal will call our API once it's on the detailed listing page.

Aggregate View

image.png

Listing Details Page

image.png

đź“Ź Business Rules:

Data Elements STRR Collected

This is for host registration form only, excluding property manager registers on behalf of their clients.

DOB, SIN and Business (GST) number are collected per request by FIN and they will share this info with CRA. Therefore, we should not display this information to LG but can still collect it from STR registry and share it with FIN via API.

Property Host

Secondary Contact Information (optional)

Principal Residence Requirement

This is the page where we ask hosts if their STR units has PR requirement or exempted. If their STR units has PR requirement applied, they need to upload supporting documents to prove their PR status. If they STR units are exempted, they need to provide reasons for exemptions.

Registration Details

mbertucci commented 2 months ago

Hi Stefanie,

We will review ​docx icon 23330 Data Portal API.docx with dev team on Thursday’s backlog refinement meeting. Can you review this user story and let us know if you want any additional information from us? My proposal is to give you all application data (what hosts provide in the application) and registration data (including date of registration, expiry date, registration status and registration #). One thing to consider is what happens when we cannot find the registration # provided by platform in our system? Maybe we just send a message to indicate no registration # match can be found in our system and Data Portal can flag it for enforcement.

Our application data includes DOB, SIN and Business/GST number (optional) as requested by FIN who will share this information with CRA. We can give you this information and you can hide them from Local Government view but share this information to the FIN via API. Just my thoughts…

Later we may need an update to the API because:

We don’t support property manager to register on behalf of their clients now. Once we have this functionality built, we can give you supplier host information. We don’t support hosts/examiners to update hosts’ contact information or other key information after submission. Therefore, the information may not be up to date. We have a feature in the roadmap that key information can be updated in the backend after submission and registration is issued.

Thanks,

Fiona

shaangill025 commented 2 months ago

2 APIs needed:

jdyck-fw commented 2 months ago

They will provide a specially provided security token when accessing our API.

thorwolpert commented 2 months ago

It should use the same pattern of access as all our APIs. You decide to publish, or not, the OAS to our developer's site.