[FYI] Retrieve PDF doc endpoint for gazette furnishing entry returning a stage 1 letter pdf
The endpoint returning PDF doc for a business which has GAZETTE entry.
https://legal-api-dev.apps.silver.devops.gov.bc.ca/api/v2/businesses/BC0693666/furnishings/40/document
Steps to Reproduce Steps to reproduce the behavior:
- Move the business to stage 1 of dissolution.
- Modify the DB and run the dissolution job to move the business to Gazette entry in furnishings table.
- Fetch the PDF doc through the endpoint providing BusinessId and FurnishingsId.
Actual: Able to retrieve Stage 1 PDF doc.
Expected behavior Should return 404 for a business with Gazette entry furnishing Id.
This business has 2 entries.
Try retrieving the PDF doc through endpoint using 2 furnishingId's
Scenario1: : This is expected BusinessId: BC0693666 FurnishingId: 40 Type: MAIL
Scenario2: this should return 404 BusinessId: BC0693666 FurnishingId: 45 Type: GAZETTE
@vikas-gov @davemck513 This is fixed with #22502. @vishnup0422 Can you help to verify it?
Picked a business with EMAIL and GAZETTE Entries
Fetch PDF with EMAIL furnishing ID
Fetch PDF with GAZETTE entryID 345