{
"reset": true,
"data": {
"id": "uuid-123",
"priority": {
"o_level_rules": [
{
"rule": "Subjects Passed",
"priority": 1,
"description": "Students with the highest number of A's are ranked first"
},
{
"rule": "Grades",
"priority": 2,
"description": "Students with the most number of subjects are ranked first"
},
{
"rule": "Total marks",
"priority": 3,
"description": "Students with the highest marks are ranked first"
}
],
"a_level_rules": [
{
"rule": "Subjects Passed",
"priority": 1,
"description": "Students with the highest number of A's are ranked first"
},
{
"rule": "Symbol",
"priority": 2,
"description": "Students with the most number of subjects are ranked first"
},
{
"rule": "Total marks",
"priority": 3,
"description": "Students with the highest marks are ranked first"
}
]
}
}
}
School - Settings
Reset report settings to defaults
Reset report settings to default factory configuration.
Use Cases:
System reconfiguration: Start fresh with default settings
Creates new instance with hardcoded default values
Returns the newly created default settings
Default Configuration:
The endpoint creates settings with predefined ranking priorities:
O-Level Rules (Priority Order):
Subjects Passed - Students with highest number of passes ranked first
Grades - Students with most subjects ranked first
Total marks - Students with highest marks ranked first
A-Level Rules (Priority Order):
Subjects Passed - Students with highest number of passes ranked first
Symbol - Students with most subjects ranked first
Total marks - Students with highest marks ranked first
Important Notes:
This is a destructive operation - existing settings are deleted
The operation cannot be undone - no backup is created
All custom priority rules and configurations will be lost
The endpoint always succeeds (idempotent) - even if no settings exist
New settings are created immediately after deletion
{
"reset": true,
"data": {
"id": "uuid-123",
"priority": {
"o_level_rules": [
{
"rule": "Subjects Passed",
"priority": 1,
"description": "Students with the highest number of A's are ranked first"
},
{
"rule": "Grades",
"priority": 2,
"description": "Students with the most number of subjects are ranked first"
},
{
"rule": "Total marks",
"priority": 3,
"description": "Students with the highest marks are ranked first"
}
],
"a_level_rules": [
{
"rule": "Subjects Passed",
"priority": 1,
"description": "Students with the highest number of A's are ranked first"
},
{
"rule": "Symbol",
"priority": 2,
"description": "Students with the most number of subjects are ranked first"
},
{
"rule": "Total marks",
"priority": 3,
"description": "Students with the highest marks are ranked first"
}
]
}
}
}