Legal API - Create endpoint for retrieving stage 1 AR letter #22235
Labels
Entities - David
A label to filter on the tickets for the Entities based team that David is PO for.
ENTITY
Business Team
Create an endpoint that will be used by the emailer to retrieve the stage 1 letter(notice of commencement of dissolution) to be used as email attachment. Note that this endpoint will be used to retrieve the stage 1 letter for a one business. A separate ticket will take care of generating the batch stage 1 letters that will be sent to BCMail+.
Url structure of new endpoint
Although we have a separate endpoint for generating furnishing documents, it will still leverage the existing report generating code that is already available in the legal api.
One major difference to note is that the letter will need to follow BCMail+ formatting requirements. If these requirements are not met, there may be printing issues on their end.
Reference PPR repo for reference BCMail+ implementation. The repo contains an implementation for generating a cover letter + main content report as well as code for SFTP upload. Note that a cover is not required for this ticket.
TODOs
PPR code reference - https://github.com/bcgov/ppr/blob/94dd475c3b657c88c35ab33922f5d540b64b6fb8/ppr-api/src/ppr_api/resources/v1/callbacks.py#L36-L76
The text was updated successfully, but these errors were encountered: