Skip to content

Namex API+Legal API: support slim search response #27318

Closed

Description

@severinbeauvais

This is the second part of #26088 (which is high priority, while this ticket is low priority).

  • example of Legal API slim search URL: https://legal-api-dev.apps.silver.devops.gov.bc.ca/api/v2/businesses/BC0887655?slim=true
  • return a shorter list of NR data, including only:
    • actions not needed
    • applicants not needed
    • consent flag
    • corp num
    • expiration date
    • id
    • legal type (eg, C)
    • names array
    • nature of business not needed
    • NR number
    • request type code (eg, CT)
    • state code (eg, DRAFT)

2. Add support for a "slim" response

  • eg. https://legal-api-dev.apps.silver.devops.gov.bc.ca/api/v2/businesses/BC0887655?slim=true
  • this endpoint already exists
  • need to confirm which properties BRD actually uses
    • draft status (eg, PENDING)
    • identifier
    • legal name
    • legal type
    • admin freeze
    • good standing
    • in dissolution
    • last modified
    • state (eg, ACTIVE)
  • also confirm which properties Business Dashboard uses for retry mechanism

Activity

  1. added
    Dependency
    Entities Team
    NameX
    on Apr 22, 2025
  2. changed the title [-]Copy of Namex API: support search parameters + support slim response[/-] [+]Namex API: support slim response[/+] on Apr 22, 2025
  3. changed the title [-]Namex API: support slim response[/-] [+]Namex API: support slim search response[/+] on Apr 22, 2025
  4. changed the title [-]Namex API: support slim search response[/-] [+]Namex API+Legal API: support slim search response[/+] on May 9, 2025
  5. severinbeauvais commented on May 26, 2025

    @severinbeauvais
    CollaboratorAuthor

    @Rajandeep98 Do we still need this ticket or is it no longer needed due to the other changes you've made?

  6. Rajandeep98 commented on Jun 6, 2025

    @Rajandeep98
    Collaborator

    {
    "names": [
    "GUTKOWSKI LLC",
    "MITCHELL AND SONS",
    "WEIMANN AND SONS"
    ],
    "nrNum": "NR 9651729",
    "requestTypeCd": "FR",
    "stateCd": "APPROVED"
    }
    ]

  7. Rajandeep98 commented on Jun 6, 2025

    @Rajandeep98
    Collaborator

    Making slim endpoint is not useful for affiliations call as data is being pulled from auth db not from lear and names resp.
    auth makes and needs to make full call to lear and names by sending list of respective identifiers therefore, we cant cut the times of fetching data by sliming down names search call.

    this can be closed, no work needed after investigation

  8. severinbeauvais commented on Jun 6, 2025

    @severinbeauvais
    CollaboratorAuthor

    Thank you, Rajan. I agree.

    I bumped the estimate down to 2 (to cover the investigation time), and am moving this ticket to Done before it's closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

DependencyEntities TeamNameX

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions