{"openapi":"3.0.4","info":{"title":"Create a FundConfiguration.","description":"Create the given FundConfiguration.","version":"0.0.1"},"servers":[{"url":"https://fbn-prd.lusid.com/api"}],"paths":{"/api/fundconfigurations/{scope}":{"post":{"tags":["Fund Configuration"],"summary":"Create a FundConfiguration.","description":"Create the given FundConfiguration.","operationId":"CreateFundConfiguration","parameters":[{"name":"scope","in":"path","description":"The scope of the FundConfiguration.","required":true,"schema":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string"}}],"requestBody":{"description":"The definition of the FundConfiguration.","content":{"application/json-patch+json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/FundConfigurationRequest"},"example":{"code":"FundConfigurationCode","displayName":"My Fund Configuration","description":"Standard Fund Configuration","dealingFilters":[{"filterId":"SUB","filter":"account.code startswith '3001'"},{"filterId":"RED","filter":"account.code startswith '3002'"}],"pnlFilters":[{"filterId":"SUB","filter":"account.code startswith '3001'"},{"filterId":"RED","filter":"account.code startswith '3002'"}],"backOutFilters":[{"filterId":"SUB","filter":"account.code startswith '3001'"},{"filterId":"RED","filter":"account.code startswith '3002'"}],"externalFeeFilters":[{"filterId":"ShareClassAFee","filter":"account.code eq 'ShareClassAFees'","appliesTo":"Fees"},{"filterId":"ShareClassAPnLAdjustment","filter":"account.code eq 'ShareClassAPnl'","appliesTo":"PnLBucket"}],"properties":{"FundConfiguration/MyScope/FundManagerName":{"key":"FundConfiguration/MyScope/FundManagerName","value":{"labelValue":"Smith"},"effectiveFrom":"2020-03-05T00:00:00.0000000+00:00"}}}},"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/FundConfigurationRequest"},"example":{"code":"FundConfigurationCode","displayName":"My Fund Configuration","description":"Standard Fund Configuration","dealingFilters":[{"filterId":"SUB","filter":"account.code startswith '3001'"},{"filterId":"RED","filter":"account.code startswith '3002'"}],"pnlFilters":[{"filterId":"SUB","filter":"account.code startswith '3001'"},{"filterId":"RED","filter":"account.code startswith '3002'"}],"backOutFilters":[{"filterId":"SUB","filter":"account.code startswith '3001'"},{"filterId":"RED","filter":"account.code startswith '3002'"}],"externalFeeFilters":[{"filterId":"ShareClassAFee","filter":"account.code eq 'ShareClassAFees'","appliesTo":"Fees"},{"filterId":"ShareClassAPnLAdjustment","filter":"account.code eq 'ShareClassAPnl'","appliesTo":"PnLBucket"}],"properties":{"FundConfiguration/MyScope/FundManagerName":{"key":"FundConfiguration/MyScope/FundManagerName","value":{"labelValue":"Smith"},"effectiveFrom":"2020-03-05T00:00:00.0000000+00:00"}}}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/FundConfigurationRequest"},"example":{"code":"FundConfigurationCode","displayName":"My Fund Configuration","description":"Standard Fund Configuration","dealingFilters":[{"filterId":"SUB","filter":"account.code startswith '3001'"},{"filterId":"RED","filter":"account.code startswith '3002'"}],"pnlFilters":[{"filterId":"SUB","filter":"account.code startswith '3001'"},{"filterId":"RED","filter":"account.code startswith '3002'"}],"backOutFilters":[{"filterId":"SUB","filter":"account.code startswith '3001'"},{"filterId":"RED","filter":"account.code startswith '3002'"}],"externalFeeFilters":[{"filterId":"ShareClassAFee","filter":"account.code eq 'ShareClassAFees'","appliesTo":"Fees"},{"filterId":"ShareClassAPnLAdjustment","filter":"account.code eq 'ShareClassAPnl'","appliesTo":"PnLBucket"}],"properties":{"FundConfiguration/MyScope/FundManagerName":{"key":"FundConfiguration/MyScope/FundManagerName","value":{"labelValue":"Smith"},"effectiveFrom":"2020-03-05T00:00:00.0000000+00:00"}}}},"application/*+json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/FundConfigurationRequest"},"example":{"code":"FundConfigurationCode","displayName":"My Fund Configuration","description":"Standard Fund Configuration","dealingFilters":[{"filterId":"SUB","filter":"account.code startswith '3001'"},{"filterId":"RED","filter":"account.code startswith '3002'"}],"pnlFilters":[{"filterId":"SUB","filter":"account.code startswith '3001'"},{"filterId":"RED","filter":"account.code startswith '3002'"}],"backOutFilters":[{"filterId":"SUB","filter":"account.code startswith '3001'"},{"filterId":"RED","filter":"account.code startswith '3002'"}],"externalFeeFilters":[{"filterId":"ShareClassAFee","filter":"account.code eq 'ShareClassAFees'","appliesTo":"Fees"},{"filterId":"ShareClassAPnLAdjustment","filter":"account.code eq 'ShareClassAPnl'","appliesTo":"PnLBucket"}],"properties":{"FundConfiguration/MyScope/FundManagerName":{"key":"FundConfiguration/MyScope/FundManagerName","value":{"labelValue":"Smith"},"effectiveFrom":"2020-03-05T00:00:00.0000000+00:00"}}}}},"required":true},"responses":{"201":{"description":"The newly created Fund configuration.","content":{"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/FundConfiguration"}},"text/plain":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/FundConfiguration"}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/FundConfiguration"}}}},"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"}}}}