Creates a new exam template with all sub-templates in one call.
Changed onUsed by the exam template wizard to create the exam template together with its indicator templates, client group templates and exam attributes at once. If no configuration template is assigned, a default one is created.
Request
- Base URL: http://localhost:8080
- URL: http://localhost:8080/admin-api/v1/exam-template/create
- Auth: oauth (defined in the document in a form this page cannot read)
Query parameters
Request body
Example request
{
"id": 1,
"institutionId": 1,
"name": "Semester End BYOD",
"examType": "BYOD",
"configurationTemplateId": 4,
"clientConfigurationId": 1,
"indicatorTemplates": [
{
"id": 1,
"examTemplateId": 1,
"name": "Battery",
"type": "BATTERY_STATUS",
"color": "44a2c6",
"thresholds": [
{
"value": 50,
"color": "ff9800"
}
]
}
]
}Response
OK
Example response
{
"id": 1,
"institutionId": 1,
"name": "Semester End BYOD",
"examType": "BYOD",
"configurationTemplateId": 4,
"clientConfigurationId": 1,
"indicatorTemplates": [
{
"id": 1,
"examTemplateId": 1,
"name": "Battery",
"type": "BATTERY_STATUS",
"color": "44a2c6",
"thresholds": [
{
"value": 50,
"color": "ff9800"
}
]
}
]
}Changes
- breaking
the request property
became required - breaking
the request property
became required - breaking
the request property
became required - breaking
the request property
//became required - breaking
the request property
became required - breaking
the request property
became required - breaking
the response property
became optional for the status - info
api operation id
createExamTemplate_1removed and replaced withfullCreateExamTemplate - info
api tag
ExamTemplateadded - info
api tag
exam-template-controllerremoved - info
the request property
became optional - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
//became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- breaking
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info