AddNote

View as Markdown

Add a new note

Semester: Check the GetSchoolPeriods call

User/Reporter: Check the GetStudent

School Tags: Check the Tags call

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.

Request

This endpoint expects an object.
titlestringRequired
notesstringRequired
userobjectRequired
reporterobjectRequired
semesterobjectRequired
schoolTagslist of objectsRequired
visibleToStudentbooleanRequired
visibleToAdminsbooleanRequired
visibleToTeachersbooleanRequired
visibleToGuardiansbooleanRequired
pinnedbooleanRequired

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
titlestring
notesstring
createatdatetime
updatedAtdatetime
userIdinteger
reportedIdinteger
schoolTagslist of integers
visibleToStudentboolean
visibleToAdminsboolean
visibleToTeachersboolean
visibleToGuardiansboolean
pinnedboolean