setCourseCertificateType
Assigns a certificate type to a course framework, course or variant. Assigning it twice updates the existing assignment.
Type: OperationResult!
Arguments
autoIssue:Boolean— Issue this certificate automatically when the participant passed.certificateTypeID:String! — UID of the certificate type to assign.parentID:String! — UID of the course framework, course or variant the certificate type is assigned to.validityOverrideMonths:Int— Overrides the validity of the certificate type for this course only.
Example
Abschnitt betitelt „Example“mutation($autoIssue: Boolean, $certificateTypeID: String!, $parentID: String!, $validityOverrideMonths: Int) { setCourseCertificateType(autoIssue: $autoIssue, certificateTypeID: $certificateTypeID, parentID: $parentID, validityOverrideMonths: $validityOverrideMonths) { 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 }}