CreateAmendment
Generates the amendment document for its recipient and opens its signature chain
Signature
mutation {
CreateAmendment(accountId: ..., operationIds: ..., isMandatory: ..., withEmail: ...)
}
Retourne : Amendment!
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
accountId | ID! | ✓ | — | Distributor or head of network account the amendment is addressed to |
documentTemplateId | ID | — | Required outside a session; inside one the template of the session prevails | |
operationIds | [ID!]! | ✓ | — | Fundraisings the amendment applies to; ignored inside a session |
isMandatory | Boolean! | ✓ | — | Forced to false without any fundraising; ignored inside a session |
withEmail | Boolean! | ✓ | — | Invites the signer right away and takes the amendment out of the draft state, inside a session as well as outside one |
amendmentSessionId | ID | — | 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
}
}