Skip to main content

GET Subcategories

Overview


The following table contains information about the GET method for managing the process of retrieving all available subcategories.

GET Subcategories
MethodGET
URL or Endpoint/api/v1​/subcategories/select-list
ParametersNot applicable
BodyNot applicable

Response

{
"success": true,
"errors": [],
"messages": [],
"result": [
{
"categoryId": 1,
"id": 1,
"name": "Books",
"value": "BOOKS",
"description": null
},
{
"categoryId": 1,
"id": 2,
"name": "Design",
"value": "DESIGN",
"description": null
},
{
"categoryId": 1,
"id": 3,
"name": "Fashion & Beauty",
"value": "FASHION & BEAUTY",
"description": null
},
{
"categoryId": 1,
"id": 4,
"name": "Food",
"value": "FOOD",
"description": null
},
{
"categoryId": 1,
"id": 5,
"name": "Performing Arts",
"value": "PERFORMING ARTS",
"description": null
},
{
"categoryId": 1,
"id": 6,
"name": "Visual Arts",
"value": "VISUAL ARTS",
"description": null
},
{
"categoryId": 2,
"id": 7,
"name": "Careers",
"value": "CAREERS",
"description": null
},
{
"categoryId": 2,
"id": 8,
"name": "Entrepreneurship",
"value": "ENTREPRENEURSHIP",
"description": null
},
{
"categoryId": 2,
"id": 9,
"name": "Investing",
"value": "INVESTING",
"description": null
},
{
"categoryId": 2,
"id": 10,
"name": "Management",
"value": "MANAGMENT",
"description": null
},
{
"categoryId": 2,
"id": 11,
"name": "Marketing",
"value": "MARKETING",
"description": null
},
{
"categoryId": 2,
"id": 12,
"name": "Non-Profit",
"value": "NON-PROFIT",
"description": null
},
{
"categoryId": 3,
"id": 13,
"name": "Comedy Interviews",
"value": "COMEDY INTERVIEWS",
"description": null
},
{
"categoryId": 3,
"id": 14,
"name": "Improv",
"value": "IMPROV",
"description": null
},
{
"categoryId": 3,
"id": 15,
"name": "Stand-Up",
"value": "STAND-UP",
"description": null
},
{
"categoryId": 4,
"id": 16,
"name": "Courses",
"value": "COURSES",
"description": null
},
{
"categoryId": 4,
"id": 17,
"name": "How To",
"value": "HOW TO",
"description": null
},
{
"categoryId": 4,
"id": 18,
"name": "Language Learning",
"value": "LANGUAGE LEARNING",
"description": null
},
{
"categoryId": 4,
"id": 19,
"name": "Self-Improvement",
"value": "SELF-IMPROVEMENT",
"description": null
},
{
"categoryId": 5,
"id": 20,
"name": "Comedy Fiction",
"value": "COMEDY FICTION",
"description": null
},
{
"categoryId": 5,
"id": 21,
"name": "Drama",
"value": "DRAMA",
"description": null
},
{
"categoryId": 5,
"id": 22,
"name": "Science Fiction",
"value": "SCIENCE FICTION",
"description": null
},
{
"categoryId": 8,
"id": 23,
"name": "Alternative Health",
"value": "ALTERNATIVE HEALTH",
"description": null
},
{
"categoryId": 8,
"id": 24,
"name": "Fitness",
"value": "FITNESS",
"description": null
},
{
"categoryId": 8,
"id": 25,
"name": "Medicine",
"value": "MEDICINE",
"description": null
},
{
"categoryId": 8,
"id": 26,
"name": "Mental Health",
"value": "MENTAL HEALTH",
"description": null
},
{
"categoryId": 8,
"id": 27,
"name": "Nutrition",
"value": "NUTRITION",
"description": null
},
{
"categoryId": 8,
"id": 28,
"name": "Sexuality",
"value": "SEXUALITY",
"description": null
},
{
"categoryId": 9,
"id": 29,
"name": "Education for Kids",
"value": "EDUCATION FOR KIDS",
"description": null
},
{
"categoryId": 9,
"id": 30,
"name": "Parenting",
"value": "PARENTING",
"description": null
},
{
"categoryId": 9,
"id": 31,
"name": "Pets & Animals",
"value": "PETS & ANIMALS",
"description": null
},
{
"categoryId": 9,
"id": 32,
"name": "Stories for Kids",
"value": "STORIES FOR KIDS",
"description": null
},
{
"categoryId": 10,
"id": 33,
"name": "Animation & Manga",
"value": "ANIMATION & MANGA",
"description": null
},
{
"categoryId": 10,
"id": 34,
"name": "Automotive",
"value": "AUTOMOTIVE",
"description": null
},
{
"categoryId": 10,
"id": 35,
"name": "Aviation",
"value": "AVIATION",
"description": null
},
{
"categoryId": 10,
"id": 36,
"name": "Crafts",
"value": "CRAFTS",
"description": null
},
{
"categoryId": 10,
"id": 37,
"name": "Games",
"value": "GAMES",
"description": null
},
{
"categoryId": 10,
"id": 38,
"name": "Hobbies",
"value": "HOBBIES",
"description": null
},
{
"categoryId": 10,
"id": 39,
"name": "Home & Garden",
"value": "HOME & GARDEN",
"description": null
},
{
"categoryId": 10,
"id": 40,
"name": "Video Games",
"value": "VIDEO GAMES",
"description": null
},
{
"categoryId": 11,
"id": 41,
"name": "Music Commentary",
"value": "MUSIC COMMENTARY",
"description": null
},
{
"categoryId": 11,
"id": 42,
"name": "Music History",
"value": "MUSIC HISTORY",
"description": null
},
{
"categoryId": 11,
"id": 43,
"name": "Music Interviews",
"value": "MUSIC INTERVIEWS",
"description": null
},
{
"categoryId": 12,
"id": 44,
"name": "Business News",
"value": "BUSINESS NEWS",
"description": null
},
{
"categoryId": 12,
"id": 45,
"name": "Daily News",
"value": "DAILY NEWS",
"description": null
},
{
"categoryId": 12,
"id": 46,
"name": "Entertainment News",
"value": "ENTERTAINMENT NEWS",
"description": null
},
{
"categoryId": 12,
"id": 47,
"name": "News Commentary",
"value": "NEWS COMMENTARY",
"description": null
},
{
"categoryId": 12,
"id": 48,
"name": "Politics",
"value": "POLITICS",
"description": null
},
{
"categoryId": 12,
"id": 49,
"name": "Sports News",
"value": "SPORTS NEWS",
"description": null
},
{
"categoryId": 12,
"id": 50,
"name": "Tech News",
"value": "TECH NEWS",
"description": null
},
{
"categoryId": 13,
"id": 51,
"name": "Buddhism",
"value": "BUDDHISM",
"description": null
},
{
"categoryId": 13,
"id": 52,
"name": "Christianity",
"value": "CHRISTIANITY",
"description": null
},
{
"categoryId": 13,
"id": 53,
"name": "Hinduism",
"value": "HINDUISM",
"description": null
},
{
"categoryId": 13,
"id": 54,
"name": "Islam",
"value": "ISLAM",
"description": null
},
{
"categoryId": 13,
"id": 55,
"name": "Judaism",
"value": "JUDAISM",
"description": null
},
{
"categoryId": 13,
"id": 56,
"name": "Religion",
"value": "RELIGION",
"description": null
},
{
"categoryId": 13,
"id": 57,
"name": "Spirituality",
"value": "SPIRITUALITY",
"description": null
},
{
"categoryId": 14,
"id": 58,
"name": "Astronomy",
"value": "ASTRONOMY",
"description": null
},
{
"categoryId": 14,
"id": 59,
"name": "Chemistry",
"value": "CHEMISTRY",
"description": null
},
{
"categoryId": 14,
"id": 60,
"name": "Earth Sciences",
"value": "EARTH SCIENCES",
"description": null
},
{
"categoryId": 14,
"id": 61,
"name": "Life Sciences",
"value": "LIFE SCIENCES",
"description": null
},
{
"categoryId": 14,
"id": 62,
"name": "Mathematics",
"value": "MATHEMATICS",
"description": null
},
{
"categoryId": 14,
"id": 63,
"name": "Natural Sciences",
"value": "NATURAL SCIENCES",
"description": null
},
{
"categoryId": 14,
"id": 64,
"name": "Nature",
"value": "NATURE",
"description": null
},
{
"categoryId": 14,
"id": 65,
"name": "Physics",
"value": "PHYSICS",
"description": null
},
{
"categoryId": 14,
"id": 66,
"name": "Social Sciences",
"value": "SOCIAL SCIENCES",
"description": null
},
{
"categoryId": 15,
"id": 67,
"name": "Documentary",
"value": "DOCUMETNARY",
"description": null
},
{
"categoryId": 15,
"id": 68,
"name": "Personal Journals",
"value": "PERSONAL JOURNALS",
"description": null
},
{
"categoryId": 15,
"id": 69,
"name": "Philosophy",
"value": "PHILOSOPHY",
"description": null
},
{
"categoryId": 15,
"id": 70,
"name": "Places & Travel",
"value": "PALCES & TRAVEL",
"description": null
},
{
"categoryId": 15,
"id": 71,
"name": "Relationships",
"value": "REALITIONSHIPS",
"description": null
},
{
"categoryId": 16,
"id": 72,
"name": "Baseball",
"value": "BASEBALL",
"description": null
},
{
"categoryId": 16,
"id": 73,
"name": "Basketball",
"value": "BASKETBALL",
"description": null
},
{
"categoryId": 16,
"id": 74,
"name": "Cricket",
"value": "CRICKET",
"description": null
},
{
"categoryId": 16,
"id": 75,
"name": "Fantasy Sports",
"value": "FANTASY SPORTS",
"description": null
},
{
"categoryId": 16,
"id": 76,
"name": "Football",
"value": "FOOTBALL",
"description": null
},
{
"categoryId": 16,
"id": 77,
"name": "Golf",
"value": "GOLF",
"description": null
},
{
"categoryId": 16,
"id": 78,
"name": "Hockey",
"value": "HOCKEY",
"description": null
},
{
"categoryId": 16,
"id": 79,
"name": "Rugby",
"value": "RUGBY",
"description": null
},
{
"categoryId": 16,
"id": 80,
"name": "Soccer",
"value": "SOCCER",
"description": null
},
{
"categoryId": 16,
"id": 81,
"name": "Swimming",
"value": "SWIMMING",
"description": null
},
{
"categoryId": 16,
"id": 82,
"name": "Tennis",
"value": "TENNIS",
"description": null
},
{
"categoryId": 16,
"id": 83,
"name": "Volleyball",
"value": "VOLLEYBALL",
"description": null
},
{
"categoryId": 16,
"id": 84,
"name": "Wilderness",
"value": "WILDERNESS",
"description": null
},
{
"categoryId": 16,
"id": 85,
"name": "Wrestling",
"value": "WRESLING",
"description": null
},
{
"categoryId": 19,
"id": 86,
"name": "After Shows",
"value": "AFTERSHOWS",
"description": null
},
{
"categoryId": 19,
"id": 87,
"name": "Film History",
"value": "FILM HISTORY",
"description": null
},
{
"categoryId": 19,
"id": 88,
"name": "Film Interviews",
"value": "FILM INTERVIEWS",
"description": null
},
{
"categoryId": 19,
"id": 89,
"name": "Film Reviews",
"value": "FILM REVIEWS",
"description": null
},
{
"categoryId": 19,
"id": 90,
"name": "TV Reviews",
"value": "TV REVIEWS",
"description": null
}
],
"resultInfo": null,
"statusCode": 200
}

Information about the fields that appear when you receive the response are displayed in the table below.

Here's the structured information in the requested format:

Field NameTypeDescription
successbooleanIf the response is successful, it will return true. Otherwise, it will return false.
errorsarray[string]Indicates if there was an error.
messagesarray[string]Returns the response message from the backend.
resultarray[object]Returns the response array containing the detailed result objects.
categoryIdintegerThe unique identifier for the category.
idintegerThe unique identifier for the subcategory.
namestringThe name of the subcategory.
valuestringThe value of the subcategory.
descriptionstringA description of the subcategory .
resultInfoobjectAdditional information about the result.
statusCodeintegerThe HTTP status code of the response.
## Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code 400: Bad Request

  • HTTP Status Code 401: Unauthorized

  • HTTP Status Code 403: Forbidden

  • HTTP Status Code 404: Result Not Found

  • HTTP Status Code 500: Internal Server Error

  • HTTP Status Code 503: Backend Fetch Failed