bcgov / entity

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

COLIN API: update GET function and new endpoint for UIs to fetch business data #21120

Closed severinbeauvais closed 3 days ago

severinbeauvais commented 2 weeks ago
  1. Update to search for legal type "A".
  2. Update query to return jurisdiction.HOME_COMPANY_NME.
  3. Update query to return jurisdiction.home_recogn_dt.
  4. Update query to return jurisdiction.HOME_JURIS_NUM.
  5. Verify that query already returns jurisdiction.CAN_JUR_TYP_CD.
  6. Verify that query already returns jurisdiction.OTHR_JURIS_DESC.

We need a new COLIN API endpoint to allow our UIs to fetch COLIN business data.

It is understood that the call to the endpoint requires 2 parameters:

severinbeauvais commented 2 weeks ago

@vysakh-menon-aot Add items above if I forgot any.

severinbeauvais commented 1 week ago

@vysakh-menon-aot It's possible that Yui will want the UI to display the identifying number in the home jurisdiction, so can you please return that as well? It's jurisdiction.HOME_JURIS_NUM. Thanks.

vysakh-menon-aot commented 5 days ago
image.png
severinbeauvais commented 3 days ago

Vysakh, to be clear, jurisdiction, above, can be one of these, right?

vysakh-menon-aot commented 3 days ago

@severinbeauvais in dev we have different type of data. By looking into test I could see the below data (for Other). For Canada provinces what you mentioned is correct

image.png
severinbeauvais commented 3 days ago

Vysakh, I forwarded you an email from Dave Roberts on the data in Prod. It, too, has a couple of entries that look wrong, but otherwise match what I said above.

Anyways, this is enough confirmation for me, and the UI will be able to decode the jurisdiction.