{"openapi":"3.0.4","info":{"title":"Patch a Fund.","description":"Update fields on a Fund.\r\nThe behaviour is defined by the JSON Patch specification.\r\n\r\nCurrently supported fields are: DisplayName, Description, PortfolioIds, FundConfigurationId, ShareClassInstruments, Type, InceptionDate, DecimalPlaces, PrimaryNavType, AdditionalNavTypes, AborId, YearEndDate.","version":"0.0.1"},"servers":[{"url":"https://fbn-prd.lusid.com/api"}],"paths":{"/api/funds/{scope}/{code}":{"patch":{"tags":["Funds"],"summary":"Patch a Fund.","description":"Update fields on a Fund.\r\nThe behaviour is defined by the JSON Patch specification.\r\n\r\nCurrently supported fields are: DisplayName, Description, PortfolioIds, FundConfigurationId, ShareClassInstruments, Type, InceptionDate, DecimalPlaces, PrimaryNavType, AdditionalNavTypes, AborId, YearEndDate.","operationId":"PatchFund","parameters":[{"name":"scope","in":"path","description":"The scope of the Fund.","required":true,"schema":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string"}},{"name":"code","in":"path","description":"The code of the Fund. Together with the scope this uniquely identifies the Fund.","required":true,"schema":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string"}}],"requestBody":{"description":"The json patch document. For more information see: https://datatracker.ietf.org/doc/html/rfc6902.","content":{"application/json-patch+json":{"schema":{"type":"array","items":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/Operation"}},"example":[{"value":"UpdatedFundName","path":"/displayName","op":"add"},{"path":"/description","op":"remove"},{"value":{"scope":"myFundConfigScope","code":"myFundConfigCode"},"path":"/fundConfigurationId","op":"add"},{"value":{"scope":"myAborScope","code":"myAborCode"},"path":"/aborId","op":"add"},{"value":["shareClassScope"],"path":"/shareClassInstrumentScopes","op":"add"},{"value":{"instrumentIdentifiers":{"Instrument/default/ClientInternal":"shareClass526"},"launchPrice":2.5,"launchDate":"2024-02-01T00:00:00.0000000+00:00"},"path":"/shareClassInstruments/-","op":"add"},{"value":"Standalone","path":"/type","op":"add"},{"value":"2024-01-01","path":"/inceptionDate","op":"add"},{"value":2,"path":"/decimalPlaces","op":"add"},{"value":{"day":24,"month":12},"path":"/yearEndDate","op":"add"}]},"application/json":{"schema":{"type":"array","items":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/Operation"}},"example":[{"value":"UpdatedFundName","path":"/displayName","op":"add"},{"path":"/description","op":"remove"},{"value":{"scope":"myFundConfigScope","code":"myFundConfigCode"},"path":"/fundConfigurationId","op":"add"},{"value":{"scope":"myAborScope","code":"myAborCode"},"path":"/aborId","op":"add"},{"value":["shareClassScope"],"path":"/shareClassInstrumentScopes","op":"add"},{"value":{"instrumentIdentifiers":{"Instrument/default/ClientInternal":"shareClass526"},"launchPrice":2.5,"launchDate":"2024-02-01T00:00:00.0000000+00:00"},"path":"/shareClassInstruments/-","op":"add"},{"value":"Standalone","path":"/type","op":"add"},{"value":"2024-01-01","path":"/inceptionDate","op":"add"},{"value":2,"path":"/decimalPlaces","op":"add"},{"value":{"day":24,"month":12},"path":"/yearEndDate","op":"add"}]},"text/json":{"schema":{"type":"array","items":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/Operation"}},"example":[{"value":"UpdatedFundName","path":"/displayName","op":"add"},{"path":"/description","op":"remove"},{"value":{"scope":"myFundConfigScope","code":"myFundConfigCode"},"path":"/fundConfigurationId","op":"add"},{"value":{"scope":"myAborScope","code":"myAborCode"},"path":"/aborId","op":"add"},{"value":["shareClassScope"],"path":"/shareClassInstrumentScopes","op":"add"},{"value":{"instrumentIdentifiers":{"Instrument/default/ClientInternal":"shareClass526"},"launchPrice":2.5,"launchDate":"2024-02-01T00:00:00.0000000+00:00"},"path":"/shareClassInstruments/-","op":"add"},{"value":"Standalone","path":"/type","op":"add"},{"value":"2024-01-01","path":"/inceptionDate","op":"add"},{"value":2,"path":"/decimalPlaces","op":"add"},{"value":{"day":24,"month":12},"path":"/yearEndDate","op":"add"}]},"application/*+json":{"schema":{"type":"array","items":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/Operation"}},"example":[{"value":"UpdatedFundName","path":"/displayName","op":"add"},{"path":"/description","op":"remove"},{"value":{"scope":"myFundConfigScope","code":"myFundConfigCode"},"path":"/fundConfigurationId","op":"add"},{"value":{"scope":"myAborScope","code":"myAborCode"},"path":"/aborId","op":"add"},{"value":["shareClassScope"],"path":"/shareClassInstrumentScopes","op":"add"},{"value":{"instrumentIdentifiers":{"Instrument/default/ClientInternal":"shareClass526"},"launchPrice":2.5,"launchDate":"2024-02-01T00:00:00.0000000+00:00"},"path":"/shareClassInstruments/-","op":"add"},{"value":"Standalone","path":"/type","op":"add"},{"value":"2024-01-01","path":"/inceptionDate","op":"add"},{"value":2,"path":"/decimalPlaces","op":"add"},{"value":{"day":24,"month":12},"path":"/yearEndDate","op":"add"}]}},"required":true},"responses":{"200":{"description":"The updated Fund.","content":{"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/Fund"},"example":{"href":"http://example.com","id":{"scope":"FundScope","code":"FundCode"},"displayName":"Fund Name","description":"Standard Fund","baseCurrency":"USD","investorStructure":"Classes","portfolioIds":[{"displayName":"Portfolio Name","description":"This is a longer description of the Portfolio","scope":"PortfolioScope","code":"PortfolioCode","portfolioEntityType":"SinglePortfolio"}],"fundConfigurationId":{"scope":"FundConfigurationScope","code":"FundConfigurationCode"},"shareClassInstruments":[{"instrumentIdentifiers":{"Instrument/default/Figi":"GB0007980598"},"lusidInstrumentId":"LUID_00000123","instrumentScope":"MyScope"}],"type":"Master","inceptionDate":"2024-01-01T00:00:00.0000000+00:00","decimalPlaces":6,"primaryNavType":{"status":"Active","code":"PrimaryNav","displayName":"PrimaryNav","description":"Primary Nav description","chartOfAccountsId":{"scope":"ChartOfAccountsScope","code":"ChartOfAccountsCode"},"postingModuleCodes":["PostingModule1"],"cleardownModuleCodes":["CleardownModule1"],"valuationRecipeId":{"scope":"RecipeScope","code":"RecipeCode"},"holdingRecipeId":{"scope":"RecipeScope","code":"RecipeCode"},"accountingMethod":"FirstInFirstOut","subHoldingKeys":[],"amortisationMethod":"EffectiveYield","transactionTypeScope":"TransactionTypeScope","cashGainLossCalculationDate":"Default"},"additionalNavTypes":[{"status":"Active","code":"taxNav","displayName":"Tax Nav","description":"Tax Nav description","chartOfAccountsId":{"scope":"ChartOfAccountsScope","code":"ChartOfAccountsCode"},"postingModuleCodes":["PostingModule1"],"cleardownModuleCodes":["CleardownModule1"],"valuationRecipeId":{"scope":"RecipeScope","code":"RecipeCode2"},"holdingRecipeId":{"scope":"RecipeScope","code":"RecipeCode3"},"accountingMethod":"FirstInFirstOut","subHoldingKeys":[],"amortisationMethod":"EffectiveYield","transactionTypeScope":"TransactionTypeScope","cashGainLossCalculationDate":"Default","amortisationRuleSetId":{"scope":"AmortisationRuleSetScope","code":"AmortisationRuleSetCode"},"leaderNavTypeCode":"PrimaryNav"}],"properties":{"Fund/MyScope/FundManagerName":{"key":"Fund/MyScope/FundManagerName","value":{"labelValue":"Smith"},"effectiveFrom":"2020-03-05T00:00:00.0000000+00:00"}},"createInstrument":false,"allocationGroups":[{"classes":[{"shareClassShortCode":"SCA","apportionmentFactor":1}],"code":"AllocationGroup1","name":"Allocation Group 1","shareClassShortCode":"SCA"}],"shareClasses":[{"instrumentIdentifiers":{"Instrument/default/Figi":"GB0007980591"},"series":[{"seriesIdentifier":"S1","seriesType":"Lead","launchDate":"2024-01-01T00:00:00.0000000+00:00","launchPriceType":"Manual","domCcy":"USD","properties":{}}],"code":"ShareClassA","name":"Share Class A","shareClassShortCode":"SCA","launchPrice":100,"launchDate":"2024-01-01T00:00:00.0000000+00:00","properties":{},"fundShareClassType":"Unitised","distributionType":"Income","domCcy":"USD","distributionPaymentType":"Gross","hedging":"None"}]}},"text/plain":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/Fund"},"example":{"href":"http://example.com","id":{"scope":"FundScope","code":"FundCode"},"displayName":"Fund Name","description":"Standard Fund","baseCurrency":"USD","investorStructure":"Classes","portfolioIds":[{"displayName":"Portfolio Name","description":"This is a longer description of the Portfolio","scope":"PortfolioScope","code":"PortfolioCode","portfolioEntityType":"SinglePortfolio"}],"fundConfigurationId":{"scope":"FundConfigurationScope","code":"FundConfigurationCode"},"shareClassInstruments":[{"instrumentIdentifiers":{"Instrument/default/Figi":"GB0007980598"},"lusidInstrumentId":"LUID_00000123","instrumentScope":"MyScope"}],"type":"Master","inceptionDate":"2024-01-01T00:00:00.0000000+00:00","decimalPlaces":6,"primaryNavType":{"status":"Active","code":"PrimaryNav","displayName":"PrimaryNav","description":"Primary Nav description","chartOfAccountsId":{"scope":"ChartOfAccountsScope","code":"ChartOfAccountsCode"},"postingModuleCodes":["PostingModule1"],"cleardownModuleCodes":["CleardownModule1"],"valuationRecipeId":{"scope":"RecipeScope","code":"RecipeCode"},"holdingRecipeId":{"scope":"RecipeScope","code":"RecipeCode"},"accountingMethod":"FirstInFirstOut","subHoldingKeys":[],"amortisationMethod":"EffectiveYield","transactionTypeScope":"TransactionTypeScope","cashGainLossCalculationDate":"Default"},"additionalNavTypes":[{"status":"Active","code":"taxNav","displayName":"Tax Nav","description":"Tax Nav description","chartOfAccountsId":{"scope":"ChartOfAccountsScope","code":"ChartOfAccountsCode"},"postingModuleCodes":["PostingModule1"],"cleardownModuleCodes":["CleardownModule1"],"valuationRecipeId":{"scope":"RecipeScope","code":"RecipeCode2"},"holdingRecipeId":{"scope":"RecipeScope","code":"RecipeCode3"},"accountingMethod":"FirstInFirstOut","subHoldingKeys":[],"amortisationMethod":"EffectiveYield","transactionTypeScope":"TransactionTypeScope","cashGainLossCalculationDate":"Default","amortisationRuleSetId":{"scope":"AmortisationRuleSetScope","code":"AmortisationRuleSetCode"},"leaderNavTypeCode":"PrimaryNav"}],"properties":{"Fund/MyScope/FundManagerName":{"key":"Fund/MyScope/FundManagerName","value":{"labelValue":"Smith"},"effectiveFrom":"2020-03-05T00:00:00.0000000+00:00"}},"createInstrument":false,"allocationGroups":[{"classes":[{"shareClassShortCode":"SCA","apportionmentFactor":1}],"code":"AllocationGroup1","name":"Allocation Group 1","shareClassShortCode":"SCA"}],"shareClasses":[{"instrumentIdentifiers":{"Instrument/default/Figi":"GB0007980591"},"series":[{"seriesIdentifier":"S1","seriesType":"Lead","launchDate":"2024-01-01T00:00:00.0000000+00:00","launchPriceType":"Manual","domCcy":"USD","properties":{}}],"code":"ShareClassA","name":"Share Class A","shareClassShortCode":"SCA","launchPrice":100,"launchDate":"2024-01-01T00:00:00.0000000+00:00","properties":{},"fundShareClassType":"Unitised","distributionType":"Income","domCcy":"USD","distributionPaymentType":"Gross","hedging":"None"}]}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/Fund"},"example":{"href":"http://example.com","id":{"scope":"FundScope","code":"FundCode"},"displayName":"Fund Name","description":"Standard Fund","baseCurrency":"USD","investorStructure":"Classes","portfolioIds":[{"displayName":"Portfolio Name","description":"This is a longer description of the Portfolio","scope":"PortfolioScope","code":"PortfolioCode","portfolioEntityType":"SinglePortfolio"}],"fundConfigurationId":{"scope":"FundConfigurationScope","code":"FundConfigurationCode"},"shareClassInstruments":[{"instrumentIdentifiers":{"Instrument/default/Figi":"GB0007980598"},"lusidInstrumentId":"LUID_00000123","instrumentScope":"MyScope"}],"type":"Master","inceptionDate":"2024-01-01T00:00:00.0000000+00:00","decimalPlaces":6,"primaryNavType":{"status":"Active","code":"PrimaryNav","displayName":"PrimaryNav","description":"Primary Nav description","chartOfAccountsId":{"scope":"ChartOfAccountsScope","code":"ChartOfAccountsCode"},"postingModuleCodes":["PostingModule1"],"cleardownModuleCodes":["CleardownModule1"],"valuationRecipeId":{"scope":"RecipeScope","code":"RecipeCode"},"holdingRecipeId":{"scope":"RecipeScope","code":"RecipeCode"},"accountingMethod":"FirstInFirstOut","subHoldingKeys":[],"amortisationMethod":"EffectiveYield","transactionTypeScope":"TransactionTypeScope","cashGainLossCalculationDate":"Default"},"additionalNavTypes":[{"status":"Active","code":"taxNav","displayName":"Tax Nav","description":"Tax Nav description","chartOfAccountsId":{"scope":"ChartOfAccountsScope","code":"ChartOfAccountsCode"},"postingModuleCodes":["PostingModule1"],"cleardownModuleCodes":["CleardownModule1"],"valuationRecipeId":{"scope":"RecipeScope","code":"RecipeCode2"},"holdingRecipeId":{"scope":"RecipeScope","code":"RecipeCode3"},"accountingMethod":"FirstInFirstOut","subHoldingKeys":[],"amortisationMethod":"EffectiveYield","transactionTypeScope":"TransactionTypeScope","cashGainLossCalculationDate":"Default","amortisationRuleSetId":{"scope":"AmortisationRuleSetScope","code":"AmortisationRuleSetCode"},"leaderNavTypeCode":"PrimaryNav"}],"properties":{"Fund/MyScope/FundManagerName":{"key":"Fund/MyScope/FundManagerName","value":{"labelValue":"Smith"},"effectiveFrom":"2020-03-05T00:00:00.0000000+00:00"}},"createInstrument":false,"allocationGroups":[{"classes":[{"shareClassShortCode":"SCA","apportionmentFactor":1}],"code":"AllocationGroup1","name":"Allocation Group 1","shareClassShortCode":"SCA"}],"shareClasses":[{"instrumentIdentifiers":{"Instrument/default/Figi":"GB0007980591"},"series":[{"seriesIdentifier":"S1","seriesType":"Lead","launchDate":"2024-01-01T00:00:00.0000000+00:00","launchPriceType":"Manual","domCcy":"USD","properties":{}}],"code":"ShareClassA","name":"Share Class A","shareClassShortCode":"SCA","launchPrice":100,"launchDate":"2024-01-01T00:00:00.0000000+00:00","properties":{},"fundShareClassType":"Unitised","distributionType":"Income","domCcy":"USD","distributionPaymentType":"Gross","hedging":"None"}]}}}},"400":{"description":"The details of the input related failure","content":{"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/LusidValidationProblemDetails"}},"text/plain":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/LusidValidationProblemDetails"}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/LusidValidationProblemDetails"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/LusidProblemDetails"}}}}},"security":[{"BearerAuth":[]}],"x-fbn-apistatus":"Experimental"}}},"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer"}}}}