Contents



This function provides access to the category hierarchy. It takes only the API version as an argument and returns the entire category tree, including all sub-categories. For each category it returns the ID, name and the number of expert profiles within the category.

The endpoint for this function is:

//apis.kassrv.com/categories.svc/APIVERSION



Where:

APIVERSION is the API version being used


Request Parameters



Response Structure



Example Request

//apis.kassrv.com/categories.svc/1.1/XML



Example Response: XML


< category >
< id >412< /id >
< name >Arts & Creative Services< /name >
< expertsCount >244< /expertsCount >
< subCategories >
< category >
< id >644< /id >
< name >Collectibles< /name >
< expertsCount >2< /expertsCount >
< subCategories >
< category >
< id >1026< /id >
< name >Antiques< /name >
< expertsCount >9< /expertsCount >
< /category >
< category >
< id >973< /id >
< name >Art< /name >
< expertsCount >6< /expertsCount >
< /category >
< category >
< id >974< /id >
< name >Books< /name >
< expertsCount >3< /expertsCount >
< /category >
< category >
< id >762< /id >
< name >Memorabilia< /name >
< expertsCount >2< /expertsCount >
< /category > ...
< /subCategories >
< /category >
< category >
< id >10294< /id >
< name >Crafts< /name > ...
< /categories >
< /categoryTree >


Example Response: JSON

NOTE: JSON is not supported by this method.