List a page of batch where the ID is greater than the optionally supplied fromthisid parameter
List is limited to those batches the logged in user can see. Returned in ID order.
GET
/batch/list/{fromthisid}
curl \
--request GET 'https://YOURSITE.infoodle.com/apiv2/batch/list/4' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"id": 123,
"batch_code": "Imported-2025-05-01",
"description": "Transactions imported during 1st May 2025 for event cash donations",
"bank_account_id": 24,
"for_group_id": 543,
"created_by_user_id": [
325231,
-1
],
"datetime_created_local": "2025-04-30 20:43:59",
"datetime_closed_local": "2025-04-30 20:43:59",
"bank_account_code": "12-309123-1390291123-10232",
"currency_code": "NZD",
"account_type": "checking",
"name": "ASB Donations Account",
"xero_account_id": "62f28bd8-3d47-4302-88a3-dc6ff53d8126",
"xero_status": "OK"
}
]
Response examples (401)
{
"error": "Unauthorised"
}
Response examples (403)
{
"error": "Invalid Permission"
}