Skip to content

Conversation

@deetz99
Copy link
Collaborator

@deetz99 deetz99 commented Sep 15, 2025

Issue #: bcgov/entity#30654

Description of changes:

  • add officers info to spec

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

summary: Change Of Officers Request
value:
filing:
header:
Copy link
Collaborator

Choose a reason for hiding this comment

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

i noticed in the postman collection there type = "NON_LEGAL".

does the api user actually need to provide that in the request?

image

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It isn't required to pass validation but the api user will need to add this to include it in the submission.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

maybe we should consider setting this in the backend instead?

Copy link
Collaborator

@argush3 argush3 Oct 2, 2025

Choose a reason for hiding this comment

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

So it sounds like this is required field for the COO filing.

If that really is the case, then I think we need to make sure the filing header spec includes "type" definition and the COO request/response examples will need to include type

And outside of this PR, I think we need to update the COO business api validator to check that the type property is passed into the filing header json and that the value is "NON_LEGAL"

Copy link
Collaborator

Choose a reason for hiding this comment

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

as per our conversation, we won't be needing api user to pass type in the filing header during submission of COO

@argush3
Copy link
Collaborator

argush3 commented Sep 19, 2025

looks good, just the two comments

@deetz99 deetz99 merged commit 1cc9cc2 into bcgov:main Oct 3, 2025
2 checks passed
@deetz99 deetz99 deleted the 30654-officers-spec branch October 3, 2025 22:03
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