This canvas describes the File Transfer Service, which is part of the Flexifin application.
| Name: | File Transfer service | ||||||
|---|---|---|---|---|---|---|---|
Description: |
The File Transfer Service provides an API for uploading and processing transactional files. |
||||||
Capabilities |
|||||||
|
|||||||
REST API: |
|||||||
Command Canvas
Command |
Invoked By |
Source Service |
|||||
|---|---|---|---|---|---|---|---|
UploadFileCommand |
POST - /api/v1/files |
||||||
SubmitForProcessingCommand |
PUT - /api/v1/files/{id} |
||||||
ProcessFilePartCommand |
PaymentMade |
||||||
FailFilePartCommand |
CommandProcessingFailed |
||||||
Query Canvas
Command |
Invoked By |
Source Service |
|||||
|---|---|---|---|---|---|---|---|
GetFileQuery |
GET - /api/v1/files/{id} |
||||||
GetFilesQuery |
GET - /api/v1/files |
||||||
DownloadFileQuery |
GET - /api/v1/files/download |
||||||
GetFilePartQuery |
GET - /api/v1/files/fileParts |
||||||
Event Canvas
Emits
Event |
Consuming Service |
||||||
|---|---|---|---|---|---|---|---|
FILE_RCP_MAKE_PAYMENT_REQUEST |
flexifin-rcp-command |
||||||
JOURNAL_ADJUSTMENT_REQUESTED |
banking-command |
Consumes
Event |
Emitting Service |
||||||
|---|---|---|---|---|---|---|---|
PaymentMade |
flexifin-rcp-command |
||||||
JournalAppliedEvent |
banking-command |
||||||
CommandProcessingFailed |
flexifin-rcp-command,banking-command |