Course By Category

Course By Category


Retrieve course list based on single category.

QueryArguments

categoryID integer The category id
totalCount Total number of records
pageSize Number of returned records in current api call
page Current page number of returned records
Definition:
 POST https://app.alphalearn.com/webapi/v1/course-list
Example Request:
 curl -X POST \
  https://app.alphalearn.com/webapi/v1/course-list\
  -H 'authorization: Bearer {Authorization Token}' \
  -F categoryID={categoryID}
Example Response:
200 OK
{
    "success": true,
     "data": {
        "course_list": [
            {
                "id": "integer",
                "title": "string",
                "courseCode": "string",
                "thumbnail": "string",
                 "description": "string",
                "price_inr": "integer",
                "price_USD": "integer",
                "start_date": "date",
                "end_date": "date",
                "updatedDate": "datetime",
                "department": "string",
                "designation": "string"
            },  
    ],
        "totalCount": "integer",
        "pageSize": "integer"
        "page": "integer",      
   }
}

Comments are closed.