CreateSecurity
Signature
mutation {
CreateSecurity(securityType: ..., companyId: ..., name: ..., nominalValue: ..., distributionPeriodicity: ..., numberOfDecimals: ...)
}
Retourne : Security!
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
securityType | SecurityType! | ✓ | — | — |
companyId | ID! | ✓ | — | — |
name | String! | ✓ | — | — |
nominalValue | PreciseAmount! | ✓ | — | — |
distributionPeriodicity | DistributionPeriodicity! | ✓ | — | — |
numberOfDecimals | Int! | ✓ | — | — |
obligationSpecific | ObligationSpecificInput | — | — | |
convertibleObligationSpecific | ConvertibleObligationSpecificInput | — | — | |
scpiShareSpecific | ScpiShareSpecificInput | — | — | |
fundShareSpecific | FundShareSpecificInput | — | — |
Exemple
mutation {
CreateSecurity(
securityType: $securityType
companyId: $companyId
name: $name
nominalValue: $nominalValue
distributionPeriodicity: $distributionPeriodicity
numberOfDecimals: $numberOfDecimals
) {
# Sélectionner les champs souhaités
}
}