ListELearningRecords
GET /tp-api/e-learning/:courseId/learning-records
Retrieve a list of learning records for an e-learning course.
Path Parameters
- courseId string required
Course ID
Query Parameters
- cursor string
Cursor to return items after a specific position in the list.
- limit integer
Possible values:
>= 1
and<= 100
Default value:
10
Maximum number of items to return.
- skip integer
Query to retrieve the items starting from that position in the dataset.
Header Parameters
- training-provider-id string required
Responses
- 200
- 400
Default Response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- id string required
Learning record ID
- result string required
Possible values: [
PASSED
,FAILED
]Learner grade
- notes string
Additional notes
learner object required
id string requiredLearner ID
firstname stringLearner firstname.
lastname stringLearner lastname.
email stringLearner email.
phone stringLearner phone.
- ]
[
{
"id": "string",
"result": "PASSED",
"notes": "string",
"learner": {
"id": "string",
"firstname": "string",
"lastname": "string",
"email": "string",
"phone": "string"
}
}
]
Default Response
- application/json
- Schema
- Example (from schema)
Schema
- anyOf
- MOD1
- MOD2
statusCode number requiredcode stringError code
error string requiredError key
message string requiredError message
error object required
key string requiredError key
message string requiredError message
{
"statusCode": 0,
"code": "string",
"error": "string",
"message": "string"
}
Loading...