{"openapi":"3.0.4","info":{"title":"Returns the cashflow buckets of a range of dates, each with its balances and the individual cashflows that make it up, with their source lineage.","description":"Splits the range from BucketStart to BucketEnd into periods with the BucketingSchedule, and returns one bucket per period,\r\nmember portfolio, payment currency and sub-holding key combination. Each bucket has its opening balance, the individual\r\ncashflows that make up its activity, and its closing balance, so every balance and every cashflow appears once. Each\r\ncashflow is annotated with the source (Instrument, Transaction or SRS) that produced it.\r\n            \r\nThe drill-down returns the complete resolved stream, including transaction-sourced cashflows, which\r\nbucketed responses using the (default) InstrumentCashFlow representation exclude. To reconcile the\r\ndrill-down against such a bucketed response, first exclude rows with a sourceType of 'Transaction'.","version":"0.0.1"},"servers":[{"url":"https://fbn-prd.lusid.com/api"}],"paths":{"/api/instrumentevents/$queryBucketCashFlowDrillDown":{"post":{"tags":["Instrument Events"],"summary":"Returns the cashflow buckets of a range of dates, each with its balances and the individual cashflows that make it up, with their source lineage.","description":"Splits the range from BucketStart to BucketEnd into periods with the BucketingSchedule, and returns one bucket per period,\r\nmember portfolio, payment currency and sub-holding key combination. Each bucket has its opening balance, the individual\r\ncashflows that make up its activity, and its closing balance, so every balance and every cashflow appears once. Each\r\ncashflow is annotated with the source (Instrument, Transaction or SRS) that produced it.\r\n            \r\nThe drill-down returns the complete resolved stream, including transaction-sourced cashflows, which\r\nbucketed responses using the (default) InstrumentCashFlow representation exclude. To reconcile the\r\ndrill-down against such a bucketed response, first exclude rows with a sourceType of 'Transaction'.","operationId":"QueryBucketCashFlowDrillDown","requestBody":{"description":"The Query Information.","content":{"application/json-patch+json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/QueryBucketCashFlowDrillDownRequest"},"example":{"bucketStart":"2020-01-01T00:00:00.0000000+00:00","bucketEnd":"2020-07-01T00:00:00.0000000+00:00","startInclusive":false,"endInclusive":true,"portfolioEntityIds":[{"scope":"portfolioScope","code":"portfolioCode","portfolioEntityType":"SinglePortfolio"}],"effectiveAt":"2020-01-01T00:00:00.0000000+00:00","recipeId":{"scope":"default","code":"default"},"reportCurrency":"USD","excludeUnsettledTrades":false,"cashType":"SettleDate","fxRateType":"FxSpot","windowStart":"2020-01-01T00:00:00.0000000+00:00","startingBalance":"PortfolioCashBalance","bucketingSchedule":{"tenor":"1M"}}},"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/QueryBucketCashFlowDrillDownRequest"},"example":{"bucketStart":"2020-01-01T00:00:00.0000000+00:00","bucketEnd":"2020-07-01T00:00:00.0000000+00:00","startInclusive":false,"endInclusive":true,"portfolioEntityIds":[{"scope":"portfolioScope","code":"portfolioCode","portfolioEntityType":"SinglePortfolio"}],"effectiveAt":"2020-01-01T00:00:00.0000000+00:00","recipeId":{"scope":"default","code":"default"},"reportCurrency":"USD","excludeUnsettledTrades":false,"cashType":"SettleDate","fxRateType":"FxSpot","windowStart":"2020-01-01T00:00:00.0000000+00:00","startingBalance":"PortfolioCashBalance","bucketingSchedule":{"tenor":"1M"}}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/QueryBucketCashFlowDrillDownRequest"},"example":{"bucketStart":"2020-01-01T00:00:00.0000000+00:00","bucketEnd":"2020-07-01T00:00:00.0000000+00:00","startInclusive":false,"endInclusive":true,"portfolioEntityIds":[{"scope":"portfolioScope","code":"portfolioCode","portfolioEntityType":"SinglePortfolio"}],"effectiveAt":"2020-01-01T00:00:00.0000000+00:00","recipeId":{"scope":"default","code":"default"},"reportCurrency":"USD","excludeUnsettledTrades":false,"cashType":"SettleDate","fxRateType":"FxSpot","windowStart":"2020-01-01T00:00:00.0000000+00:00","startingBalance":"PortfolioCashBalance","bucketingSchedule":{"tenor":"1M"}}},"application/*+json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/QueryBucketCashFlowDrillDownRequest"},"example":{"bucketStart":"2020-01-01T00:00:00.0000000+00:00","bucketEnd":"2020-07-01T00:00:00.0000000+00:00","startInclusive":false,"endInclusive":true,"portfolioEntityIds":[{"scope":"portfolioScope","code":"portfolioCode","portfolioEntityType":"SinglePortfolio"}],"effectiveAt":"2020-01-01T00:00:00.0000000+00:00","recipeId":{"scope":"default","code":"default"},"reportCurrency":"USD","excludeUnsettledTrades":false,"cashType":"SettleDate","fxRateType":"FxSpot","windowStart":"2020-01-01T00:00:00.0000000+00:00","startingBalance":"PortfolioCashBalance","bucketingSchedule":{"tenor":"1M"}}}}},"responses":{"200":{"description":"The buckets of the requested range, each with its balances and its cashflows.","content":{"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/BucketCashFlowDrillDownResponse"}},"text/plain":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/BucketCashFlowDrillDownResponse"}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/BucketCashFlowDrillDownResponse"}}}},"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":"EarlyAccess"}}},"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer"}}}}