@startuml

title Retrieve Document Process \n\n\n

participant "UI" as a
participant "Experience API" as b
participant "Retrive Document API" as c
participant "DB" as d
participant "OT" as e

activate a
activate b
a -> b
activate c
b -> c
deactivate b
a -> c
deactivate a

Note Right of c #DFDFFF
[[http://flows.corporate.t-mobile.com/all-swaggers/swagger/ce.cfs.documents/retrievedocument.swagger.json/ API for Document by Metadata]]
end note

note over c #aqua: Document (PDF content)

note right of c #aqua
Validate Request
Look up document in Database
if not found call OpenText
This API will support Retrival
based on DcoumentID
end note

c -> d : Data Entry for Read and Audit (1)
activate d
activate e
c -> e : Retrive Document (1A)
deactivate c
deactivate d
deactivate e

@enduml