Zum Inhalt springen

updateAssignment

Update an existing assignment. The user must have update access on the target object.

Type: AssignmentUpdatePayload!

Arguments

  • assignment: AssignmentUpdateInput! — The fields to update on the assignment.
  • id: UID! — Id of the object to change.
mutation($assignment: AssignmentUpdateInput!, $id: UID!) {
updateAssignment(assignment: $assignment, id: $id) {
assignment {
advancePayment
advancePaymentTranslated
childItemLinkType
finishDate
id
number
paymentPeriodType
paymentPeriodTypeTranslated
startDate
}
changes {
field
newValue
oldValue
}
id
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
}
runtime
}
}