get https://app.pennylane.com/api/external/v2/ledger_entry_lines//categories
List categories of a Ledger Entry line
This endpoint requires one of the following scopes:
ledger
Log in to see full request history
Responses
List categories of a Ledger Entry line
This endpoint requires one of the following scopes:
ledger
xxxxxxxxxx
curl --request GET \
--url https://app.pennylane.com/api/external/v2/ledger_entry_lines/ledger_entry_line_id/categories \
--header 'accept: application/json'
xxxxxxxxxx
19{
"total_pages": 5,
"current_page": 1,
"total_items": 12,
"per_page": 20,
"items": [
{
"id": 421,
"label": "HR - Salaries",
"weight": "0.25",
"category_group": {
"id": 229
},
"analytical_code": "CODE123",
"created_at": "2023-08-30T10:08:08.146343Z",
"updated_at": "2023-08-30T10:08:08.146343Z"
}
]
}