@startuml
!include ..\..\..\..\.c4s\C4_Sequence.puml

title CRM App - Update Order Fraud Check Result - C4 Sequence - Container level

System_Ext(C4InterFlow.SoftwareSystems.ExternalSystem, "External", "")
System(ECommercePlatform.SoftwareSystems.CRMApp, "CRM App", "")

System_Boundary(ECommercePlatform.SoftwareSystems.FraudService, "Fraud Service")
    Container(ECommercePlatform.SoftwareSystems.FraudService.Containers.Api, "Api", "", "")
    Container(ECommercePlatform.SoftwareSystems.FraudService.Containers.Database, "Database", "", "")
    Container(ECommercePlatform.SoftwareSystems.FraudService.Containers.Messaging, "Messaging", "", "")
Boundary_End()

Rel(C4InterFlow.SoftwareSystems.ExternalSystem, ECommercePlatform.SoftwareSystems.CRMApp, "Update Order Fraud Check Result")
Rel(ECommercePlatform.SoftwareSystems.CRMApp, ECommercePlatform.SoftwareSystems.FraudService.Containers.Api, "Update Order Fraud Check Result")
Rel(ECommercePlatform.SoftwareSystems.FraudService.Containers.Api, ECommercePlatform.SoftwareSystems.FraudService.Containers.Database, "Update Fraud Check Result")
Rel(ECommercePlatform.SoftwareSystems.FraudService.Containers.Api, ECommercePlatform.SoftwareSystems.FraudService.Containers.Messaging, "Send Fraud Check Result Event")


@enduml
