Topics: Exam

Exam List

Exam List

Exam List


List all exams for a company

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/exam-list 

Example Request:

 curl -X POST \
  https://app.alphalearn.com/webapi/v1/exam-list \
  -H 'authorization: Bearer {Authorization Token}' \

Example Response:

200 OK
{
 "success": true,
    "data": {
        "examlist": [
            {
               "id": "integer",
               "examTitle": "string",
            }, 
        ],
        "totalCount": "integer",
        "pageSize": "integer",
        "page": "integer"
        
    }
}

Exam Details

Exam Details

Exam Details


Retrieve a single exam basic detail

QueryArguments

examID integer The exam id
Definition:

 POST https://app.alphalearn.com/webapi/v1/exam-details 

Example Request:

 curl -X POST \
  https://app.alphalearn.com/webapi/v1/exam-details \
  -H 'authorization: Bearer {Authorization Token}' \
  -F examID={examID}

Example Response:

200 OK
{
    "success": true,
    "data": [
       {
        "id": "integer",
        "courseID": "integer",
        "subjectID": "integer",
        "examTitle": "string",
        "period": "integer",
        "duration": "integer",
        "tquestion": "integer",
        "tmarks": "integer",
        "beoc": "integer",
        "startDate": "date",
        "passingMarks": "integer",
        "sequenceRandom": "integer",
        "examtypeMarks": "integer",
        "isAutomated": "integer",
        "status": "integer",
        "showResult": "integer",
        "noOfAttempts": "integer",
        "isreschbytrainee": "integer",
        "isprogresshundred": "integer",
        "appearAfter": "integer",
        "createdDate": "date",
        "updatedDate": "date",
        "reminder1": "integer",
        "reminder2": "integer",
        "eventrestriction": "integer",
        "eventcount": "integer"
     }
  ]
}