Course List

Course List

List all courses for a company

HTTP REQUEST

POST https://app.alphalearn.com/webapi/v1/course-list

QUERY PARAMETERS

Field Type Description
pageSize Integer Number of records to be returned with in a single API call. Default is 20
page Integer Page number of the records.
allcourse Integer allcourse = 1, if courses belong to any category.

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",
                "trainer_displayname": "string",
                "hidetrainername": "integer",
                "duration": "integer",
                "courseID": "string",
                "currency": [
                    {
                        "typeID": "integer",
                        "currencyCode": "string",
                        "price": "integer",
                        "isDefault": "integer"
                    },
                ]
            },
          ],
          "totalCount": "integer",
          "pageSize": "integer"
          "page": "integer",      
        }
      }