Overview
The /1/learner endpoint provides for the creation of new learners.
...
Info |
---|
|
Key | Value | Example |
---|
User-Agent | dmtd-rest-api |
| Accept | application/json |
| Authorization | Bearer <your token> | Bearer wV1MLk5+sFzioJw/3M5r9A== | Content-Type | application/json |
|
|
...
Info |
---|
|
Field | Type | Optional | Description |
---|
code | String | Optional | A unique code that correlates the student to an external database and/or obfuscates the student's name (maximum length 191 chars); correlates to X-LearnerCode | color | String | Optional | A CSS color to associate with the client (e.g. #ffffff) | dateOfBirth | Date | Required | The date of birth for the learner | firstName | String | Optional |
| lastName | String | Optional |
| gender | Integer | Optional | 1 = male, 2 = female | isActive | Bool | Optional | A flag that indicates whether the learner is being actively assessed (default = true) |
|
...