CreateE-LearningLearningRecord
POST /tp-api/e-learning/:courseId/learning-records
Submit a learning record for an e-learning.
Path Parameters
- courseId string required
Course ID
Header Parameters
- training-provider-id string required
- application/json
Request Body required
- learnerId string required
Learner ID
- grade string required
Possible values: [
PASSED
]Learner grade. Note: We only consider grades that reflect successful performance.
- completed date-time required
The completion time for the learning record, should be in ISO8601 format. It should be after the enrolled date-time.
- notes string
Additional notes
Responses
- 200
- 400
Default Response
- application/json
- Schema
- Example (from schema)
Schema
- id string required
{
"id": "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...