Zum Inhalt springen

addCourseParticipantsToClass

Adds course participants to a class by extracting their person IDs

Type: OperationResult!

Arguments

  • classID: ID! — UID of the class to modify.
  • courseParticipantIDs: [ID!]! — UIDs of the course participant objects to update.
  • memberTypeID: Int! — UID of the member type to modify.
mutation($classID: ID!, $courseParticipantIDs: [ID!]!, $memberTypeID: Int!) {
addCourseParticipantsToClass(classID: $classID, courseParticipantIDs: $courseParticipantIDs, memberTypeID: $memberTypeID) {
errorData
errorType
id
message
object {
accountingItemsAsText
aclInherit
categoriesAsString
code
createdAt
customNumber
hasChildren
hasReports
id
importID
isFavorite
isMember
isSubscribed
journalEntriesAsText
lastChangedAt
longName
membersAsText
name
numbering
objectGuid
objectName
objectTypeID
orderNr
orderType
parentObjectID
remarks
resourceBusyByTerms
shortName
specialType
suffix
suffixManual
thumbnail
validFrom
validTo
}
status
}
}