Skip to content

Sequences ‐ Get Submission

jcadam14 edited this page Mar 6, 2024 · 3 revisions

Get Latest Submission

---
title: Get Latest Submission
---
sequenceDiagram
        frontend->>filing_api: GET /v1/filing/institutions/{lei}/filings/{period_name}/submissions/latest
        filing_api->>submission_repo: get_latest_submission(lei, filing_period)
        filing_api-->>frontend: return SubmissionDTO
Loading

Get Submission

---
title: Submission Status 
---
sequenceDiagram
      frontend->>filing_api: GET /v1/filing/institutions/{lei}/filings/{period_name}/submissions/{id}
      filing_api->>submission_repo: get_submission(id)
      filing_api-->>frontend: return SubmissionDTO
Loading

Since MVP is always showing the latest submission, either endpoint can be polled to return the status of the current Submission.

Clone this wiki locally