songs/categories/getAll

Get a list of all song categories

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

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.021",
    "status": "ok",
    "categories": {
        "on_this_page": 3,
        "page": 1,
        "per_page": 100,
        "total": 3,
        "category": [
            {
                "id": "9fdd1bfd-7112-46ca-87e7-cb55edf58bde",
                "name": "Regular Songs"
            },
            {
                "id": "f8d7a720-c37c-4e7c-9e1a-7c8c9ca06fe7",
                "name": "Kids Songs"
            },
            {
                "id": "c23b6fd7-2a8c-441c-a133-5cc0dd734162",
                "name": "Christmas Songs"
            }
        ]
    }
}