GET category

A lookup call to retrieve all active categories; use https://oohspace.co.uk/api/category.

INPUT

There is no INPUT for this method.

OUTPUT - JSON sample


{
    "data": [
        {
            "category_id": 10021,
            "parent_id": null,
            "name": "Tobacco & Accessories"
        },
        {
            "category_id": 10022,
            "parent_id": null,
            "name": "Travel & Transport"
        },
        {
            "category_id": 30657,
            "parent_id": 20090,
            "name": "Bed &Breakfast's"
        },
        {
            "category_id": 30658,
            "parent_id": 20090,
            "name": "Hotels"
        }
    ]
}