Improve testing and some cleanup refactoring.
This commit is contained in:
@@ -7,8 +7,8 @@ Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"accountId": 1,
|
||||
"amount": 50.0
|
||||
"accountId": 1,
|
||||
"amount": 50.0
|
||||
}
|
||||
|
||||
### Transfer Between Accounts
|
||||
@@ -17,9 +17,9 @@ POST {{FinancialApi_HostAddress}}/accounts/transfer
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"sourceAccountId": 1,
|
||||
"destinationAccountId": 2,
|
||||
"amount": 1000.00
|
||||
"sourceAccountId": 1,
|
||||
"destinationAccountId": 2,
|
||||
"amount": 1000.00
|
||||
}
|
||||
|
||||
### Reverse a Journal Entry
|
||||
@@ -28,8 +28,8 @@ POST {{FinancialApi_HostAddress}}/journal/reverse
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"originalJournalId": "FD2BFD8E-7C85-4CAD-A12B-CCBCD7C12B4A",
|
||||
"reason": "Incorrect Account Fee"
|
||||
"originalJournalId": "B65EB28C-7EC1-4B70-9069-06A61A4FE857",
|
||||
"reason": "Incorrect Account Fee"
|
||||
}
|
||||
|
||||
### Events
|
||||
|
||||
Reference in New Issue
Block a user