Create sequence diagrams with simple online tool

Swimlanes.io is a free webapp for making sequence diagrams. You simply edit the text on the left and the diagram is updated in real time. You can download your sequence diagrams as images or distribute with a link.

Title: TRE cost report sequence diagram _: ** /api/costs** CLIENT->>API: get overall TRE costs API->>ARM: get resource groups by tag "tre_id"=tre_id ARM->>API: Resource group list with all tags API->>COST: get costs filtered by tag "tre_id"=tre_id or list of resource groups and grouped by resource group and tag COST->>API: costs note: aggregate tagged and untagged costs by Tag, Resource Group, Currency and Date API->>API: get shared services list API->>API: get all workspaces API->>CLIENT: OK /w json TRE combined costs Note over API,A: combined overall costs grouped by component (TRE core, shared services, workspaces) _: **/api/workspace/{workspace_id}/costs** CLIENT->>API: get TRE workspace costs API->>ARM: get resource groups by tag "tre_workspace_id"=tre_workspace_id ARM->>API: Resource group list with all tags API->>COST: get costs filtered by tag "tre_workspace_id"=tre_workspace_id and grouped by tag COST->>API: costs note: aggregate tagged and untagged costs by Tag, Resource Group, Currency and Date API->>API: get workspace by workspace id API->>API: get workspace services by workspace id group: loop per workspace service API->>API: get user resource by workspace service id end API->>CLIENT: OK /w json TRE combined costs Note over API,A: combined workspace costs grouped by workspaces services and user resource