We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DELETE Company Certificate
the implementation of this ticket depends on #471
Suggested API Endpoint: DELETE /api/administration/companydata/companyCertificate/document/{documentId}
When running the endpoint - first validate if the certificate is assigned to the same company_id as the acting user company_id
Set the respective document inside the table portal.documents to "INACTIVE" and update the "last_date_changed" date as well as the "last_editor_id"
Afterwards set inside the table portal.company_certificates.status to "INACTIVE"
....make sure that the documents can not get deleted via the following endpoint: /api/administration/Documents/{documentId}
DB Changes to enable the feature: #471
FrontEnd-Implementation Ticket: CPLP-3663
Backend API Development CPLP-3655, CPLP-3656, CPLP-3657
Components: N/A Sprints: PI 12 - S1 - CPLP Fix Versions: N/A StoryPoints: N/A Attachments: CPLP-3658-image-2023-12-27-13-15-51-660.png, CPLP-3658-image-2023-12-27-13-37-47-123.png
The text was updated successfully, but these errors were encountered:
chore: adjust error message
cf59dee
Refs: eclipse-tractusx#467
e80287f
feat(delete): delete company certificates (#536)
4b103d6
Refs: #467 Reviewed-by: Phil Schneider <[email protected]> Co-authored-by: Phil Schneider <[email protected]>
AnuragNagpure
No branches or pull requests
Summary
DELETE Company Certificate
the implementation of this ticket depends on #471
Detail
Suggested API Endpoint: DELETE /api/administration/companydata/companyCertificate/document/{documentId}
When running the endpoint - first validate if the certificate is assigned to the same company_id as the acting user company_id
Set the respective document inside the table portal.documents to "INACTIVE" and update the "last_date_changed" date as well as the "last_editor_id"
Afterwards set inside the table portal.company_certificates.status to "INACTIVE"
....make sure that the documents can not get deleted via the following endpoint: /api/administration/Documents/{documentId}
Validation:
Related Tickets
DB Changes to enable the feature: #471
FrontEnd-Implementation Ticket: CPLP-3663
Backend API Development CPLP-3655, CPLP-3656, CPLP-3657
Components: N/A
Sprints: PI 12 - S1 - CPLP
Fix Versions: N/A
StoryPoints: N/A
Attachments: CPLP-3658-image-2023-12-27-13-15-51-660.png, CPLP-3658-image-2023-12-27-13-37-47-123.png
The text was updated successfully, but these errors were encountered: