CreateInvestment
Signature
mutation {
CreateInvestment(operationId: ..., accountId: ..., amount: ...)
}
Retourne : Investment!
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
operationId | ID! | ✓ | — | — |
securityOperationInvestmentId | ID | — | — | |
securityFeePatternId | ID | — | — | |
accountId | ID! | ✓ | — | — |
amount | Amount! | ✓ | — | — |
taxationType | TaxationType | — | — | |
taxationAccountNumber | String | — | — | |
consultancyFeesPercentage | Float | — | — | |
source | InvestmentSource | — | — | |
withEmail | Boolean | — | — |
Exemple
mutation {
CreateInvestment(
operationId: $operationId
accountId: $accountId
amount: $amount
) {
# Sélectionner les champs souhaités
}
}