applyMemberModelState
Apply member model state.
Type: ApplyMemberModelStateOperationResult!
Arguments
customMemberTypeID:Int— Set a custom membertype instead of the defaults. Only works when state is set to customgroupObjectId: UID! — UID of the group object to modify.memberModelID:Int! — UID of the member model to modify.personObjectId: UID! — UID of the person object to modify.stateType: MemberShipModelDefaultMemberType! — State type for the operation.
Example
Abschnitt betitelt „Example“mutation($customMemberTypeID: Int, $groupObjectId: UID!, $memberModelID: Int!, $personObjectId: UID!, $stateType: MemberShipModelDefaultMemberType!) { applyMemberModelState(customMemberTypeID: $customMemberTypeID, groupObjectId: $groupObjectId, memberModelID: $memberModelID, personObjectId: $personObjectId, stateType: $stateType) { errorData errorType id memberModelItem { id isDefaultMemberTypeSet isDefaultNegativeMemberTypeSet name objectID } 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 }}