Skip to content

API - DRS | MHR - Create New Doc Record at Submit #23444

Closed

Description

@arlentees

As a Registries Analyst working with the MHR, I want a document record to be created automatically when I submit a filing. The documentation requirements could include PDF files from a form completed by the citizen, records from Land Titles, photos of the home and CSA decals, and hard copies of items such as death certificates that will need to be scanned at a later date.

  • MHR Call to create a document record
  • New sequence number using 10 digits
  • MHR Table (Add filtering(partial) and sorting in Document ID column)

Developer Notes:
In the current DRS model author belongs to the scanning record, not the document record. Authors are conditionally saved only if the document ID is a scanning record document ID (8 digits). A scanning record is pending if there is no document saved (URL to download).

In each environment the DRS GCP project Pub/Sub permissions need to be updated to give the PPR API service account the Pub/Sub publisher role.

Note:
A further DRS model change is required if author should be saved for all document records (electronic as well as scanned).

A new request parameter documentId is available for filtering and sorting. Filtering is on matches that start with the value.

Activity

  1. changed the title [-]DRS - MHR Create New Doc Record at Submit[/-] [+]DRS - MHR - Create New Doc Record at Submit[/+] on Sep 20, 2024
  2. changed the title [-]DRS - MHR - Create New Doc Record at Submit[/-] [+]API - DRS | MHR - Create New Doc Record at Submit[/+] on Oct 7, 2024
  3. LizGovier commented on Oct 10, 2024

    @LizGovier
  4. self-assigned this
    on Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions