Trainee Details

Trainee Details


Course list for a particular user who is logged in

QueryArguments

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/trainee-details 
Example Request:
 curl -X POST \
  https://app.alphalearn.com/webapi/v1/trainee-details \
  -H 'authorization: Bearer {Authorization Token}' \
Example Response:
200 OK
{
    "success": true,
    "data": {
        "ongoing": [
            {
                "title": "string",
                "courseCode": "string",
                "completedPercent": "integer",
                "startDate": "date",
                "endDate": "date",
                "isachived": "integer",
                "achivedDate": "datetime"
            }
        ],
        "expired": [
            {
                "title": "string",
                "courseCode": "string",
                "completedPercent": "integer",
                "startDate": "date",
                "endDate": "date",
                "isachived": "integer",
                "achivedDate": "datetime"
            }
        ],
        "complted": [
            {
                "title": "string",
                "courseCode": "string",
                "completedPercent": "string",
                "startDate": "date",
                "endDate": "date",
                "isachived": "integer",
                "achivedDate": "datetime"
            }
        ],
        "learningpaths": {
            "learningpath_name": [
                {
                    "id": "integer",
                    "name": "string",
                    "code": "string",
                    "title": "string",
                    "courseCode": "string",
                    "completedPercent": "integer",
                    "startDate": "date",
                    "endDate": "date",
                    "isachived": "integer",
                    "achivedDate": "datetime"
                }
            ]
        },
        "exam": [
            {
                "examTitle": "string",
                "duration": "integer",
                "total_questions": "integer",
                "total_marks": "integer",
                "passingMarks": "integer",
                "startDate": "date",
                "endDate": "date",
                "attemptDate": "datetime",
                "submitDate": "datetime",
                "scheduledon": "datetime",
                "status": "integer"
            }
        ]
    }
}

Comments are closed.