Skip to navigation

Get Course Progress in Percentage

View as Markdown

The API endpoint {{baseUrl}}/api/course/courseProgressPercentage is a POST request that is used to get the completion percentage of a user for a course.

Request

  • Method: POST

  • Base URL: {{baseUrl}}

  • Path: /api/course/courseProgressPercentage

  • Headers:

    • Content-Type: application/x-www-form-urlencoded

Request Body

The request body type is x-www-form-urlencoded

  • course_id (string): Course ID

  • idst (string): User ID

  • auth (string): Authentication token

Response

The response will be in JSON format and will include the following fields:

  • success (string): Indicates the success status of the request.

  • data (object): Contains properties of the progress percentage for that course

    • complete_percentage (number): Percentage of the course completed

    • failed_percentage (number): Percentage of the course failed.

Request

This endpoint expects an object.
authstringRequired
idststringRequired
course_idstringRequired

Response headers

Keep-AlivestringOptional
X-Powered-BystringOptional

Response

OK
dataobject
successstring