API v1 Add financial_transaction_type to FinancialTransactions output
This commit is contained in:
parent
be269101f8
commit
88228022e3
4 changed files with 14 additions and 3 deletions
|
|
@ -383,6 +383,12 @@ definitions:
|
|||
amount:
|
||||
type: number
|
||||
description: amount credited (negative for a debit transaction)
|
||||
financial_transaction_type_id:
|
||||
type: integer
|
||||
description: id of the type of the transaction
|
||||
financial_transaction_type_name:
|
||||
type: string
|
||||
description: name of the type of the transaction
|
||||
note:
|
||||
type: string
|
||||
description: note entered with the transaction
|
||||
|
|
@ -390,7 +396,7 @@ definitions:
|
|||
type: string
|
||||
format: date-time
|
||||
description: when the transaction was entered
|
||||
required: ['id', 'user_id', 'user_name', 'amount', 'note', 'created_at']
|
||||
required: ['id', 'user_id', 'user_name', 'amount', 'financial_transaction_type_id', 'financial_transaction_type_name', 'note', 'created_at']
|
||||
|
||||
FinancialTransactionClass:
|
||||
type: object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue