CreateAmendmentSession
Creates a signature session and one amendment per recipient
Signature
mutation {
CreateAmendmentSession(name: ..., documentTemplateId: ..., isMandatory: ..., recipientScope: ...)
}
Retourne : AmendmentSession!
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
name | String! | ✓ | — | — |
documentTemplateId | ID! | ✓ | — | — |
operationIds | [ID!] | — | The fundraisings the amendment relates to | |
isMandatory | Boolean! | ✓ | — | Ignored when no fundraising is selected |
recipientScope | AmendmentSessionRecipientScope! | ✓ | — | — |
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 {}
}
}