generated from cfpb/open-source-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Sequences ‐ Post Submission
jcadam14 edited this page Mar 7, 2024
·
2 revisions
Post New Submission
---
title: New Submission
---
sequenceDiagram
actor Authenticated User
Authenticated User->>frontend: uploads New Submission
frontend->>filing_api: POST /v1/filing/institutions/{lei}/filings/{period_name}/submissions body:{upload file}
filing_api->>submission_repo: add_submission(lei, period, request.user.id, filename)
filing_api-)submission_processor: upload_to_storage(submission_id)
alt upload_to_storage successful
filing_api-->>frontend: return SubmissionDTO
filing_api-)submission_processor: validate_submission(SubmissionDAO) (state=VALIDATION_IN_PROGRESS)
else
filing_api-->SubmissionDAO: state=UPLOAD_FAILED
filing_api-->>frontend: SubmissionDTO
end
- Filing Period JSON
- Filing JSON
- SnapshotUpdate JSON
- Contact Info JSON
- Submission JSON
- Validation JSON
- Voluntary JSON
- Sequences ‐ Get Filing Periods
- Sequences ‐ Get Filing
- Sequences ‐ Create New Filing
- Sequences ‐ Update Filing
- Sequences ‐ Get Submission
- Sequences ‐ Post Submission
- Sequences ‐ Validate Submission
- Sequences ‐ Get Contact Info
- Sequences ‐ Update Contact Info
- Sequences ‐ Sign Filing
- Sequences ‐ Verify LEI is Active