-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API: POST Company Certificates #468
Comments
Below PR is for CD portal |
Not sure if I understand the ticket correctly, so I summarise my understanding: The endpoint should provide the possibility to create a company certificate while uploading a document at the same time. @jjeroch correct? Then we should remove the certificateId from the url since we're creating the certificate and therefore no id is available. |
@Phil91 right - the endpoint is used to create the company certificate record in the portal db and automatically also stores the document itself inside the document table. or would you add this inside the POST endpoint? |
ok I understood - we have the company certificate type in the body so we can change the |
* added endpoint POST /api/administration/companydata/companyCertificate to create company certificates * added migration --------- Refs: #468 Co-authored-by: Phil Schneider <[email protected]> Reviewed-by: Phil Schneider <[email protected]>
successfully tested on the rc environment |
@AnuragNagpure can you please recheck the implementation. Can you please recheck this once and in case this is not yet implemented please raise a pr against the dev branch |
@AnuragNagpure is the comment above already solved? |
…icate (#551) * adjust company certificate status to INACTIVE ---------- Refs: #468 Reviewed-By: Phil Schneider <[email protected]>
Summary
POST Company Certificate endpoint needed which created a db record of an company certificate uploaded incl. the document storage itself
the implementation of this ticket depends on #471
Detail
Suggested API Endpoint: POST /api/administration/companydata/companyCertificate
Request Parameter:
Only PDF is allowed and up to 2MB file size
When the POST endpoint is triggered, following activities are executed:
Validation:
Related Tickets
DB Changes to enable the feature: #471
FrontEnd-Implementation Ticket: CPLP-3662
Backend API Development CPLP-3655, CPLP-3656
Components: N/A
Sprints: PI 12 - S1 - CPLP
Fix Versions: N/A
StoryPoints: N/A
Attachments: CPLP-3657-image-2023-12-27-13-15-51-660.png, CPLP-3657-image-2023-12-27-13-37-47-123.png
The text was updated successfully, but these errors were encountered: