Skip to main content

UpdateUserCourseMeetingAttendance

Updates the attended state of the provided user for the provided course or meeting ID.

UpdateUserCourseMeetingAttendance(
userId: ID!
courseId: ID
meetingId: ID!
attended: Boolean!
): Boolean!

Directives

authAccess

This requires the current user to be in MANAGER role.

Arguments

UpdateUserCourseMeetingAttendance.userId ● ID! non-null scalar

UpdateUserCourseMeetingAttendance.courseId ● ID scalar

UpdateUserCourseMeetingAttendance.meetingId ● ID! non-null scalar

UpdateUserCourseMeetingAttendance.attended ● Boolean! non-null scalar

Type

Boolean scalar

The Boolean scalar type represents true or false.

Examples

Run in Postman

Query:

UpdateUserCourseMeetingAttendance(
$userId: ID!,
$courseId: ID,
$meetingId: ID!,
$attended: Boolean!
) {
UpdateUserCourseMeetingAttendance(
userId: $userId,
courseId: $courseId,
meetingId: $meetingId,
attended: $attended
)
}

Variables:

{
"userId": "58ccb96c-8e90-4464-86e0-f284442981df",
"courseId": "58ccb96c-8e90-4464-86e0-f284442981df",
"meetingId": "58ccb96c-8e90-4464-86e0-f284442981df",
"attended": false
}

Response:

{
"data": {
"UpdateUserCourseMeetingAttendance": true
}
}