curl -X GET \
/accounting/accounts \
--header "Authorization: Bearer <token>"
{
"data": [
{
"id": "f3b3b3b3-3b3b-3b3b-3b3b-3b3b3b3b3b3b",
"name": "Bankkonto",
"number": "1200",
"type": "revenueGermany"
}
],
"meta": {
"pagination": {
"totalItems": 123,
"itemsPerPage": 123,
"currentPage": 123,
"lastPage": 123,
"pageTotalItems": 123
}
}
}
Get accounts for postings.
Required permissions:accounting:accounts:read
curl -X GET \
/accounting/accounts \
--header "Authorization: Bearer <token>"
{
"data": [
{
"id": "f3b3b3b3-3b3b-3b3b-3b3b-3b3b3b3b3b3b",
"name": "Bankkonto",
"number": "1200",
"type": "revenueGermany"
}
],
"meta": {
"pagination": {
"totalItems": 123,
"itemsPerPage": 123,
"currentPage": 123,
"lastPage": 123,
"pageTotalItems": 123
}
}
}
Value for the Authorization header parameter.
AccountingAccount collection
The response is of type object
.
Was this page helpful?