CreateClassLearningRecord
POST /tp-api/classes/:classId/learning-records
Submit a learning record for a class.
Path Parameters
- classId string required
Class ID
Header Parameters
- training-provider-id string required
- application/json
Request Body required
- learnerId string required
Learner ID
- grade string required
Possible values: [
PASSED
,FAILED
]Learner grade
- notes string
Additional notes
Responses
- 200
- 400
Default Response
- application/json
- Schema
- Example (from schema)
Schema
- id string required
Leaning record ID.
{
"id": "string"
}
Default Response
- application/json
- Schema
- Example (from schema)
Schema
- anyOf
- MOD1
- MOD2
errors object[] required
Array [key string requiredError key
message string requiredError message
]statusCode number requiredcode stringError code
error string requiredError key
message string requiredError message
{
"errors": [
{
"key": "string",
"message": "string"
}
]
}
Loading...