financial/categories/getAll

Get a list of all chart of accounts categories.

POST
https://api.elvanto.com/v1/financial/categories/getAll.{json|xml|php}

Notes

  • A status of 0 indicates an archived account
  • A status of 1 indicates an active account

Parameters

Name 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
Expected request JSON HTTP POST
{
    "page": 1,
    "page_size": 100
}
Expected response JSON XML PHP
{
    "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"
            }
        ]
    }
}
Error responses

Please see our response status codes documentation for details of potential error responses for any API request.

  • 250: Invalid page number The page number you have provided is invalid.
  • 250: Invalid page size The page size must be between 10 and 1000.