POST
/v1/education/grade1 credit / callPercentage to grade
Convert a percentage to a letter grade using a default (or custom) grade band table.
| Parameter | Type | Required | Description |
|---|---|---|---|
| percentage | number | Yes | Percentage, 0-100. |
| bands | string | No | Optional array of {grade, min} objects, sorted by min descending. |
Request
curl -X POST https://toolsonduty.com/api/v1/education/grade \
-H "Authorization: ******" \
-H "Content-Type: application/json" \
-d '{"percentage":87}'Response
{
"ok": true,
"data": {
"grade": "A2"
}
}