Zum Inhalt springen

bookPersonIntoModule

Books a person into a module: creates the course participant and the module class membership.

Type: OperationResult!

Arguments

  • moduleCourseID: ID! — UID of the module course.
  • personID: ID! — UID of the person to book.
mutation($moduleCourseID: ID!, $personID: ID!) {
bookPersonIntoModule(moduleCourseID: $moduleCourseID, personID: $personID) {
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
}
}