Skip to main content

CreateAmendmentSession

Stable

Creates a signature session and one amendment per recipient

Signature​

mutation {
CreateAmendmentSession(name: ..., documentTemplateId: ..., isMandatory: ..., recipientScope: ...)
}

Retourne : AmendmentSession!

Arguments​

NomTypeRequisDéfautDescription
nameString!✓——
documentTemplateIdID!✓——
operationIds[ID!]—The fundraisings the amendment relates to
isMandatoryBoolean!✓—Ignored when no fundraising is selected
recipientScopeAmendmentSessionRecipientScope!✓——
recipientAccountIds[ID!]—Only read when the scope is a manual selection

Exemple​

mutation {
CreateAmendmentSession(
name: $name
documentTemplateId: $documentTemplateId
isMandatory: $isMandatory
recipientScope: $recipientScope
) {
id
name
documentTemplate {}
operations {}
isMandatory
isGenerating
hasFailedGeneration
hasAmendmentsAwaitingValidation
hasAmendmentsInSignature
holdsAFiledSignature
createdAt
status {}
}
}