Files
@ 2eecd641dda8
Branch filter:
Location: NPO-Accounting/experimental-accounting-api/tests/post-transactions.json - annotation
2eecd641dda8
1.1 KiB
application/json
Added CORS Flask endpoint decorator
a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 a1ed27a82cf3 | {
"transactions": [
{
"__type__": "Transaction",
"date": "2013-01-01",
"payee": "Kindly T. Donor",
"postings": [
{
"__type__": "Posting",
"account": "Income:Foo:Donation",
"amount": {
"__type__": "Amount",
"amount": "-100",
"symbol": "$"
}
},
{
"__type__": "Posting",
"account": "Assets:Checking",
"amount": {
"__type__": "Amount",
"amount": "100",
"symbol": "$"
}
}
]
},
{
"__type__": "Transaction",
"date": "2013-03-15",
"payee": "Another J. Donor",
"postings": [
{
"__type__": "Posting",
"account": "Income:Foo:Donation",
"amount": {
"__type__": "Amount",
"amount": "-400",
"symbol": "$"
}
},
{
"__type__": "Posting",
"account": "Assets:Checking",
"amount": {
"__type__": "Amount",
"amount": "400",
"symbol": "$"
}
}
]
}
]
}
|