Get a list of all chart of accounts categories.
POSThttps://api.elvanto.com/v1/financial/categories/getAll.{json|xml|php}
status
of 0 indicates an archived accountstatus
of 1 indicates an active accountName | Type | Description |
---|---|---|
page | integer | The results page to retrieve. Default: 1 |
page_size | integer | The number of records to retrieve per results page. Default: 1000 |
{
"generated_in": "0.018",
"status": "ok",
"categories": {
"on_this_page": 5,
"page": 1,
"per_page": 100,
"total": 5,
"category": [
{
"id": "dc3c1b5c-24ad-4226-9d29-da458c19700b",
"status": 1,
"name": "Building Fund"
},
{
"id": "085f2690-7630-4516-aa23-aab5e2c637d1",
"status": 0,
"name": "Missions"
}
]
}
}
<?xml version="1.0" encoding="UTF-8"?> <rsp generated_in="0.018" status="ok"> <transactions on_this_page="5" page="1" per_page="100" total="5"> <transaction id="637d1690-7630-4516-aa23-aab5e2c085f2" status="1"> <name>Building Fund</name> </transaction> <transaction id="085f2690-7630-4516-aa23-aab5e2c637d1" status="0"> <name>Missions</name> </transaction> </transactions> </rsp>
stdClass Object
(
[generated_in] => 0.018
[status] => ok
[categories] => stdClass Object
(
[on_this_page] => 5
[page] => 1
[per_page] => 100
[total] => 5
[category] => stdClass Object
(
[0] => stdClass Object
(
[id] => dc3c1b5c-24ad-4226-9d29-da458c19700b
[status] => 1
[name] => Building Fund
)
[1] => stdClass Object
(
[id] => 085f2690-7630-4516-aa23-aab5e2c637d1
[status] => 0
[name] => Missions
)
)
)
)
Please see our response status codes documentation for details of potential error responses for any API request.