AddGradebookGrade

View as Markdown
Add a new grade in a gradebook for the specified class course (gradebook should have already been created) ClassCourse: Check GetPeriodClassCourses call GradeMapping: Check GradeMapping call ParentSimpleGradeId: Self referencing to another grade from the gradebook, check Gradebook call Type: 4 -> Folder 5 -> Point grade 6 -> Grade Colors: Check [https://tailwindcss.com/docs/colors](https://tailwindcss.com/docs/colors) for colors

Headers

dreamclass-secret-keystringOptional

Your DreamClass API key. Required on every request. Find it in the DreamClass app under Settings > Integrations.

tenantstringOptional
Your tenant code: the DreamClass subdomain you sign in at (for https://myaccount.dreamclass.io it is "myaccount"), or your full white-labelled domain. Required on every request.
schoolCodestringOptional

Your school code. Required on every request. Find it in the DreamClass app under Settings > Integrations.

Query parameters

classCourseIdstringOptional
Class course id of the gradebook

Request

This endpoint expects an object.
namestringRequired
creationDatedateRequired
parentSimpleGradeobjectRequired
typeintegerRequired
colorstringRequired
gradeMappingobjectRequired
positionintegerRequired
weightintegerRequired
maxGradeanyOptional

Response headers

ExpiresstringOptional
Cache-ControlstringOptional
Access-Control-Allow-HeadersstringOptional
X-XSS-ProtectionstringOptional
PragmastringOptional
Access-Control-Allow-MethodsstringOptional
X-Frame-OptionsstringOptional
Access-Control-Expose-HeadersstringOptional
Access-Control-Allow-OriginstringOptional
Access-Control-Allow-CredentialsstringOptional
X-Content-Type-OptionsstringOptional
Access-Control-Max-AgestringOptional

Response

OK
idinteger
namestring
colorstring
positioninteger
weightinteger
typeinteger
gradeMappingIdinteger
parentSimpleGradeIdinteger