Files
silver-octo-spoon/wolverine/a-frame-architecture/FinancialApi/FinancialApi.http
T
2026-07-16 16:10:16 +02:00

37 lines
715 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": "3E829F92-E2FA-4FCD-9B7B-E1B5AAC96FF1",
"reason": "Incorrect Account Fee"
}