ExamTemplate
Saves changes to an existing indicator template.
Changed onput/admin-api/v1/exam-template/indicator
Request
- Base URL: http://localhost:8080
- URL: http://localhost:8080/admin-api/v1/exam-template/indicator
- Auth: oauth (defined in the document in a form this page cannot read)
Query parameters
institutionIdinteger
Request body
Example request
{
"id": 1,
"examTemplateId": 1,
"name": "Battery",
"type": "BATTERY_STATUS",
"color": "44a2c6",
"thresholds": [
{
"value": 50,
"color": "ff9800"
}
]
}Response
OK
Example response
{
"id": 1,
"examTemplateId": 1,
"name": "Battery",
"type": "BATTERY_STATUS",
"color": "44a2c6",
"thresholds": [
{
"value": 50,
"color": "ff9800"
}
]
}Changes
- breaking
the request property
became required - info
api operation id
saveIndicatorPutremoved and replaced withsaveIndicatorTemplate - info
api tag
ExamTemplateadded - info
api tag
exam-template-controllerremoved - 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