Skip to content

DRS API updates to support business api integration.#257

Merged
doug-lovett merged 1 commit intobcgov:mainfrom
doug-lovett:32803-drs-business-docs
Mar 13, 2026
Merged

DRS API updates to support business api integration.#257
doug-lovett merged 1 commit intobcgov:mainfrom
doug-lovett:32803-drs-business-docs

Conversation

@doug-lovett
Copy link
Copy Markdown
Collaborator

Issue #: /bcgov/entity#32803

Description of changes:
DRS updates to support business api integration. Update the DRS API to return results when

  • a business filing history request has DRS documents but no filing outputs.
  • a business filing request has DRS documents but no filing outputs.
  • remove unused download links from the business filing requests
  • Allow document search by document class and document service ID to return the document binary data instead of GCS download link.

Update endpoints:
GET /doc-api/api/v1/application-reports/events/BUSINESS/BC0791952?includeDocuments=true
GET /doc-api/api/v1/application-reports/events/BUSINESS/BC0791952/9496208?includeDocuments=true
GET /doc-api/api/v1/searches/COOP?documentServiceId=DS0000101631

Signed-off-by: Doug Lovett <doug@diamante.ca>
@doug-lovett doug-lovett self-assigned this Mar 12, 2026
Copy link
Copy Markdown
Contributor

@cameron-eyds cameron-eyds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks excellent!

@doug-lovett doug-lovett merged commit 1e511e0 into bcgov:main Mar 13, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants