setFavorite
Updates favorite.
Type: OperationResult!
Arguments
objectID: UID! — The ID of the object to favorite.parentID: UID — The ID of the favorites folder. If not provided, will use user’s default favorites folder.
Example
Abschnitt betitelt „Example“mutation($objectID: UID!, $parentID: UID) { setFavorite(objectID: $objectID, parentID: $parentID) { 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 }}