Skip to main content

CreateAmendment

Stable

Generates the amendment document for its recipient and opens its signature chain

Signature​

mutation {
CreateAmendment(accountId: ..., operationIds: ..., isMandatory: ..., withEmail: ...)
}

Retourne : Amendment!

Arguments​

NomTypeRequisDéfautDescription
accountIdID!✓—Distributor or head of network account the amendment is addressed to
documentTemplateIdID—Required outside a session; inside one the template of the session prevails
operationIds[ID!]!✓—Fundraisings the amendment applies to; ignored inside a session
isMandatoryBoolean!✓—Forced to false without any fundraising; ignored inside a session
withEmailBoolean!✓—Invites the signer right away and takes the amendment out of the draft state, inside a session as well as outside one
amendmentSessionIdID—Session the amendment joins, whose template, fundraisings and mandatory flag it inherits; it waits for the launch unless the email is asked for

Exemple​

mutation {
CreateAmendment(
accountId: $accountId
operationIds: $operationIds
isMandatory: $isMandatory
withEmail: $withEmail
) {
id
account {}
documentTemplate {}
documentGenerated {}
documentName
operations {}
isMandatory
isDraft
amendmentSession {}
createdAt
archivedAt
signatureDate
status {}
signatureTracking {}
hasSignatureChain
}
}