This series of guides, will provide information on how to build a data integration with a 3rd party system, using the OneFile API:
- Initial data download using API
- Creating and managing users via the API
- Assigning users to learners via the API
- Assigning Framework Templates, Standards and Units via the API
To change the Default Assessor, or the Default Employer, call the POST /api/v2.1/User/{id} endpoint.
Other users can be assigned to learners by calling the POST /api/v2.1/User/{id}/Assign endpoint.
The level property is used to specify how the user is to be assigned to the learner.
Assignment Level | User Role(s) | Level | Additional Body Data Required |
---|---|---|---|
Learning Aim | Assessor IQA | 3 | StandardID |
Unit Summary | Assessor IQA | 2 | UnitID |
Additional | Assessor IQA Employer Observer | 1 |
Examples of each call can be found below:
Change Default Assessor
POST /api/v2.1/User/{id}
{
"DefaultAssessorID": {id}
}
Assign/Change Default Employer
POST /api/v2.1/User/{id}
{
"DefaultEmployerID": {id}
}
Assign/Change Learning Aim Assessor/IV
POST /api/v2.1/User/{id}/Assign
{
"LearnerID": {id},
"Level": 3,
"StandardID: {id}
}
Assign/Change Unit Summary Assessor/IV
POST /api/v2.1/User/{id}/Assign
{
"LearnerID": {id},
"Level": 2,
"UnitID: {id}
}
Assign Additional Assessor/IV/Employer/Observer
POST /api/v2.1/User/{id}/Assign
{
"LearnerID": {id}
"Level": 1
}