Zum Inhalt springen

updateMessage

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

Type: MessageUpdatePayload!

Arguments

  • id: UID! — Id of the object to change.
  • message: MessageUpdateInput! — The fields to update on the message.
mutation($id: UID!, $message: MessageUpdateInput!) {
updateMessage(id: $id, message: $message) {
changes {
field
newValue
oldValue
}
id
message {
attachmentsAsPdf
childItemLinkType
delayDeliveryTo
errorNotificationSentAt
id
isHtml
massMailing
pingenDeliveryType
pingenLetterId
priority
readAt
receiversAsText
sendAt
senderName
subject
text
textAsHtml
type
}
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
}
}