Zum Inhalt springen

setAbsence

Authorized.

Type: [Absence!]!

Arguments

  • absenceKind: String! — Absence kind for the operation.
  • comment: String — Comment for the operation.
  • from: DateTimeISO — From for filtering or the operation.
  • parentLessonTermID: ID! — UID of the parent lesson term to modify.
  • studentPersonID: ID — UID of the student person to modify.
  • studentPersonIDs: [ID!] — UIDs of the student person objects to update.
  • to: DateTimeISO — To for filtering or the operation.
mutation($absenceKind: String!, $comment: String, $from: DateTimeISO, $parentLessonTermID: ID!, $studentPersonID: ID, $studentPersonIDs: [ID!], $to: DateTimeISO) {
setAbsence(absenceKind: $absenceKind, comment: $comment, from: $from, parentLessonTermID: $parentLessonTermID, studentPersonID: $studentPersonID, studentPersonIDs: $studentPersonIDs, to: $to) {
absenceDate
absenceFrom
absenceTo
absentPerson {
absenceComments
ahvnr
bankAddress
bankIbanNumber
bankName
birthday
childItemLinkType
civilstatus
classMembershipEndDate
code
courseParticipationInfo
deliverMessageType
driversLicenceClass
employmentRate
entryAt
extra1
extra2
extra3
fullName
fullNameRevert
id
isActive
jobFunction
lastName
leaveAt
licensePlateNumber
licensePlateNumber2
lockerNumber
middleName
militaryDivison
militaryDriversLicenceClass
militaryRank
nameTag
occupation
officeNr
pcNumber
personNumber
picture
placeOfBirthCity
placeOfBirthState
placeOfOriginCity
placeOfOriginState
preName
religiousDenomination
ripolNumber
salutation
salutationWithName
sex
shippingComment
signature
title
titleAddress
weaponNumber
}
amount
childItemLinkType
comment
currentLink {
createdAt
createdBy
fileTagID
level
linkToObjectID
linkType
linkedObjectID
objectID
orderNr
}
id
kind {
absenceKindID
code
color
countsAsPresent
excused
name
order
}
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
}
parentTerm {
absenceID
accountingStatus
alarmOffMessage
childItemLinkType
dayCaption
disposeObjectID
finish
hiddenOnSchedule
id
isClassesClickable
isGoalsClickable
isLearnModuleClickable
isLessonSketchClickable
isMaterialClickable
isResourcesClickable
isResourcesTreeViewEnabled
isRoomsClickable
lessonValue
location
name
start
termMemberUsernamesAsText
termMembersAsText
}
}
}