41 lines
798 B
HTTP
41 lines
798 B
HTTP
@FinancialApi_HostAddress = https://localhost:7010
|
|
|
|
GET {{FinancialApi_HostAddress}}/weatherforecast/
|
|
Accept: application/json
|
|
|
|
### Apply Fee to an Account
|
|
|
|
POST {{FinancialApi_HostAddress}}/accounts/apply-fee
|
|
Accept: application/json
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"accountId": 1,
|
|
"amount": 500.0
|
|
}
|
|
|
|
### Transfer Between Accounts
|
|
|
|
POST {{FinancialApi_HostAddress}}/accounts/transfer
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"sourceAccountId": 1,
|
|
"destinationAccountId": 2,
|
|
"amount": 1000.00
|
|
}
|
|
|
|
### Reverse a Journal Entry
|
|
|
|
POST {{FinancialApi_HostAddress}}/journal/reverse
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"originalJournalId": "1443B0FC-F679-4445-A910-CC333F0925B7",
|
|
"reason": "Incorrect Account Fee"
|
|
}
|
|
|
|
### Events
|
|
|
|
GET {{FinancialApi_HostAddress}}/events
|
|
Content-Type: application/json |