Files
silver-octo-spoon/wolverine/a-frame-architecture/FinancialApi/FinancialApi.http
T

37 lines
711 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": 3000.00
}
### Reverse a Journal Entry
POST {{FinancialApi_HostAddress}}/journal/reverse
Content-Type: application/json
{
"originalJournalId": "AD4FC011-9979-4364-A0D4-2CCD922ECB5E",
"reason": "Incorrect Account"
}