Mutation
mutation SetIbcMeetingAttendance($meetingId: String!, $present: Boolean!, $userId: String!) {
setIbcMeetingAttendance(meetingId: $meetingId, present: $present, userId: $userId) {
id
isGuest
present
user {
allowedLocations {
children {
__typename
}
id
isSite
location
parentId
tags
}
avatarUrl
department
email
firstName
groups {
createdAt
id
name
users {
__typename
}
}
}
}
}Variables
{
"meetingId": "string",
"present": true,
"userId": "string"
}Response
{
"data": {
"setIbcMeetingAttendance": {
"id": "string",
"isGuest": true,
"present": true,
"user": {
"allowedLocations": [
{
"children": [
{
"__typename": "Location"
}
],
"id": 1,
"isSite": true,
"location": "string",
"parentId": 1,
"tags": [
"string"
]
}
],
"avatarUrl": "string",
"department": "string",
"email": "string",
"firstName": "string",
"groups": [
{
"createdAt": "value",
"id": "string",
"name": "string",
"users": [
{
"__typename": "User"
}
]
}
]
}
}
}
}Mutations
setIbcMeetingAttendance
Marks a user present or absent at an IBC meeting, adding them as an attendee if they are not one yet, and returns the attendee.
MUTATION
setIbcMeetingAttendance(meetingId: String!, present: Boolean!, userId: String!): IbcMeetingAttendee!Arguments
meetingId
String!
required
Id of the IBC meeting.
present
Boolean!
required
Whether the user attended the meeting.
userId
String!
required
Id of the user whose attendance to set.
Returns
id
String!
Id of the attendee entry.
isGuest
Boolean!
Whether the user attends as a guest rather than as a committee member.
present
Boolean
Whether the user attended the meeting.
user
User!
The user expected at the meeting.
Mutation
mutation SetIbcMeetingAttendance($meetingId: String!, $present: Boolean!, $userId: String!) {
setIbcMeetingAttendance(meetingId: $meetingId, present: $present, userId: $userId) {
id
isGuest
present
user {
allowedLocations {
children {
__typename
}
id
isSite
location
parentId
tags
}
avatarUrl
department
email
firstName
groups {
createdAt
id
name
users {
__typename
}
}
}
}
}Variables
{
"meetingId": "string",
"present": true,
"userId": "string"
}Response
{
"data": {
"setIbcMeetingAttendance": {
"id": "string",
"isGuest": true,
"present": true,
"user": {
"allowedLocations": [
{
"children": [
{
"__typename": "Location"
}
],
"id": 1,
"isSite": true,
"location": "string",
"parentId": 1,
"tags": [
"string"
]
}
],
"avatarUrl": "string",
"department": "string",
"email": "string",
"firstName": "string",
"groups": [
{
"createdAt": "value",
"id": "string",
"name": "string",
"users": [
{
"__typename": "User"
}
]
}
]
}
}
}
}