Skip to content
Snippets Groups Projects
user avatar
Martin Vogel authored
#414 Refactor fluent client to a state-machine so that we can establish a subsequent, controlled method call flow
60d7becf
History

Client Module

API Flow

The SdkClientFactory provides fluent API client both for Sender and Subscriber.

As the flow chart belwo shows, the fluent client ntercae guide you through all essentials calls in order to hand in a Submission.

Api client flow for sending a submission

flowchart LR

A[retrieveOAuthToken] --> B(Upload)
B -->|uploadAttachment| C[Result 1]
B -->|uploadData| D[Result 2]

Api client flow for subscribing to a submission

flowchart TD

A[retrieveOAuthToken] --> B(Upload)
B -->|uploadAttachment| C[Result 1]
B -->|uploadData| D[Result 2]