SubLedger
Returns a list of booking accounts.
Returns a list of booking accounts in one property for a booking.<br>You must have at least one of these scopes: 'subledger.read, accounting.read'.<br>For fine-grained clients, you must have this permission: 'core.subledger_booking_accounts.read'.
get/finance/v0-nsfw/booking-accounts
Request
- Base URLhttps://api.apaleo.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.apaleo.com/finance/v0-nsfw/booking-accounts
- AuthOAuth 2Implicit: https://identity.apaleo.com/connect/authorizeScopes: subledger.read, accounting.read, admin
Query parameters
propertyIdstring required
Filter account list by property id
bookingIdstring required
Filter account list by booking id
languageCodestring
The language for the the report
includeArchivedboolean
If set to true, also includes archived accounts. If not set, or set to false, it only returns non-archived accounts
pageNumberinteger
Page number to retrieve. Default: 1. If the page has no items, the API returns 204 No Content.
pageSizeinteger
Items per page. Default: 500. Maximum: 500.
Response
Success.
Example response
{
"accounts": [
{
"accountNumber": "1100",
"name": "Credit Card Payment",
"type": "Payments",
"hasChildren": true,
"isArchived": false
},
{
"accountNumber": "1100",
"name": "Bank Transfer",
"type": "Payments",
"hasChildren": false,
"isArchived": true
}
],
"count": 0
}Changes
No recorded changes to this operation across all 4 revisions of this API.