teacher-tools/bruno-api/Classroom Compliance/Create Compliance Entry.bru

31 lines
419 B
Plaintext
Raw Permalink Normal View History

meta {
name: Create Compliance Entry
type: http
seq: 10
}
post {
url: {{base_url}}/classroom-compliance/classes/:classId/entries
body: json
auth: inherit
}
params:path {
classId: {{class_id}}
}
body:json {
{
"student_id": 1,
"date": "2024-12-16",
"absent": false,
"phone": {
"compliant": true
},
"behavior": {
"rating": 3,
"comment": "Good job!"
}
}
}