Closed
Description
openedon Oct 23, 2018
I am running Firefly III version 4.7.7
When i attempt to retrieve expense data using the transactions API, using a slightly different parameter variable will cause multiple invalid data to show up.
curl -X GET \
'https://demo.firefly-iii.org/api/v1/transactions?type=expense' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer xxx'
Transaction ID 1356 does not shows up
curl -X GET \
'https://demo.firefly-iii.org/api/v1/transactions?type=expenses' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer xxx'
Transaction ID 1356 shows up
This is transaction ID 1356
{
"type": "transactions",
"id": "1356",
"attributes": {
"updated_at": "2018-10-23T12:00:09+02:00",
"created_at": "2018-10-23T12:00:09+02:00",
"description": "Saving money for September",
"transaction_description": null,
"date": "2018-09-28",
"type": "Transfer",
"identifier": 0,
"journal_id": 669,
"reconciled": false,
"amount": 140,
"currency_id": 1,
"currency_code": "EUR",
"currency_symbol": "€",
"currency_dp": 2,
"foreign_amount": null,
"foreign_currency_id": null,
"foreign_currency_code": null,
"foreign_currency_symbol": null,
"foreign_currency_dp": null,
"bill_id": null,
"bill_name": null,
"category_id": null,
"category_name": null,
"budget_id": null,
"budget_name": null,
"notes": null,
"source_id": 1,
"source_name": "Checking Account",
"source_iban": "NL11XOLA6707795988",
"source_type": "Asset account",
"destination_id": 2,
"destination_name": "Savings Account",
"destination_iban": "NL96DZCO4665940223",
"destination_type": "Asset account"
},
"links": {
"0": {
"rel": "self",
"uri": "/transactions/1356"
},
"self": "https://demo.firefly-iii.org/api/v1/transactions/1356"
}
}
This issue was originally mentioned by @Ditti4 here. I did some investigation and found out about it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels