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 | — | — | |
bsaSpecific | BsaSpecificInput | — | — |
Exemple
mutation {
CreateSecurity(
securityType: $securityType
companyId: $companyId
name: $name
nominalValue: $nominalValue
distributionPeriodicity: $distributionPeriodicity
numberOfDecimals: $numberOfDecimals
) {
id
type {}
securityType {}
securityTypeDetailed {}
name
stakes {}
company {}
nominalValue
distributionPeriodicity {}
securityFeePatterns {}
defaultSecurityFeePattern {}
numberOfDecimals
latestValue {}
remainingParticipations {}
securityValues {}
engagedInvestmentAmount
movements {}
}
}