entity
entity copied to clipboard
Legal API - update annual report, change of address, change of directors & consent continuation out filing outputs to work with alternate names (FIRST PASS)
This is not intended to be an exhaustive update for outputs at this point as we do not have the data migration scripts nailed down yet. But in the meantime, we can update the output code such that we are following the new model and can fix any obvious output generation issues.
To test the filing outputs, it would probably be easiest to pull up the corresponding filings being tested in OCP dev for a given business identifier and compare the output of the listed documents.
For each output, do the following:
- [ ] Verify able to retrieve documents associated with filing via GET https://business-api-dev-dy4loprnwa-nn.a.run.app/api/v2/businesses/<business_identifier>/filings/<filing_id>/documents endpoint. If endpoint errors out, fix as req’d
- [ ] Determine outputs relevant to business types of interest. Pulling up a firm in OCP may be a quick way to determine expected outputs for a given filing
- [ ] if firm output, update to use alternate names for business name
- [ ] Verify each output loads for relevant business types and fix any basic issues. If a firm, test with a firm imported from COLIN(business identifier starts with FM0) and one created in LEAR(business identifier starts with FM1)
- [ ] More detailed versioning related verification will be done in future tickets when data migration scripts are finalized