Path parameters
-
Which item to be processed
Minimum value is
0
.
GET
/transaction/{id}
curl \
-X GET https://YOURSITE.infoodle.com/apiv2/transaction/99 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": 123,
"user_id": 32132,
"transaction_id": 443,
"amount": 50.65,
"date": "2012-07-06",
"transaction_type": "C",
"accountcode_id": 43,
"taxable": 1,
"batch_id": 405,
"campaign_id": 43,
"location_id": 32,
"stockcode_id": 32,
"stock_qty": 12,
"inkind_description": "Donated sweater",
"who_to_receipt": "hh",
"salestax": 1,
"receipt_annually": 1,
"pledge_drive_id": 3,
"note": "Donation out of the blue",
"datetime_created_utc": "2024-05-31 14:01:02",
"datetime_modified_utc": "2024-06-04 07:03:33"
}
Response examples (401)
{
"error": "Unauthorised"
}
Response examples (403)
{
"error": "Invalid Permission"
}
Response examples (404)
{
"error": "Not Found"
}