{"openapi":"3.0.4","info":{"title":"Get the Transactions for the given Fund.","description":"Gets the Transactions for the given Valuation Point for a Fund.","version":"0.0.1"},"servers":[{"url":"https://fbn-prd.lusid.com/api"}],"paths":{"/api/funds/{scope}/{code}/valuationpoints/transactions/$query":{"post":{"tags":["Funds"],"summary":"Get the Transactions for the given Fund.","description":"Gets the Transactions for the given Valuation Point for a Fund.","operationId":"GetValuationPointTransactions","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"}},{"name":"asAt","in":"query","description":"The asAt datetime at which to retrieve transactions. Defaults to returning the latest version\r\n            of each transaction if not specified.","schema":{"type":"string","format":"date-time"},"x-nullable":true},{"name":"filter","in":"query","description":"Expression to filter the result set.","schema":{"maxLength":16384,"minLength":0,"pattern":"^[\\s\\S]*$","type":"string"}},{"name":"limit","in":"query","description":"When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.","schema":{"maximum":5000,"minimum":1,"type":"integer","format":"int32"},"x-nullable":true},{"name":"page","in":"query","description":"The pagination token to use to continue listing transactions from a previous call to GetValuationPointTransactions.","schema":{"maxLength":500,"minLength":1,"pattern":"^[a-zA-Z0-9\\+/]*={0,3}$","type":"string"}},{"name":"propertyKeys","in":"query","description":"A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount'\r\n            domain to decorate onto the transactions.","schema":{"type":"array","items":{"type":"string","description":"The key that uniquely identifies the property. It has the format {domain}/{scope}/{code}."}},"x-nullable":true},{"name":"navTypeCode","in":"query","description":"When provided, runs against the specified NAV Type, otherwise the Primary NAV Type will be used.","schema":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string"}},{"name":"dataModelScope","in":"query","description":"The optional scope of a Custom Data Model to use","schema":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string"}},{"name":"dataModelCode","in":"query","description":"The optional code of a Custom Data Model to use","schema":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string"}},{"name":"showCancelledTransactions","in":"query","description":"Option to specify whether or not to include cancelled transactions,\r\n            including previous versions of transactions which have since been amended.\r\n            Defaults to False if not specified.","schema":{"type":"boolean"},"x-nullable":true},{"name":"membershipType","in":"query","description":"The membership types of the specified Custom Data Model to return. Default value: Member. Available values: All, Member, Candidate.","schema":{"type":"string"}}],"requestBody":{"description":"The arguments to use for querying the transactions.","content":{"application/json-patch+json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointDataQueryParameters"},"example":{"end":{"diaryEntry":"DiaryEntryCode"},"variant":"Variant"}},"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointDataQueryParameters"},"example":{"end":{"diaryEntry":"DiaryEntryCode"},"variant":"Variant"}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointDataQueryParameters"},"example":{"end":{"diaryEntry":"DiaryEntryCode"},"variant":"Variant"}},"application/*+json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointDataQueryParameters"},"example":{"end":{"diaryEntry":"DiaryEntryCode"},"variant":"Variant"}}},"required":true},"responses":{"200":{"description":"The requested transactions for the specified Valuation Point for a Fund.","content":{"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointResourceListOfAccountedTransaction"},"example":{"startValuationPoint":{"aborId":{"scope":"aborScope","code":"DiaryEntryCode"},"diaryEntryCode":"DiaryEntryCode","type":"Period","name":"2023_Q1","status":"Final","applyClearDown":false,"effectiveAt":"2023-04-02T15:10:10.0000000+00:00","queryAsAt":"2023-04-15T15:10:10.0000000+00:00","previousEntryTime":"0001-01-01T00:00:00.0000000+00:00","properties":{"DiaryEntry/AccountingDiary/Reports":{"key":"DiaryEntry/AccountingDiary/Reports","value":{"labelValue":"Some comments"}}}},"version":{"effectiveFrom":"2019-03-05T12:00:00.0000000+00:00","asAtDate":"2019-03-05T12:00:00.0000000+00:00"},"values":[{"accountingDate":"2023-04-02T15:10:10.0000000+00:00","journalEntryAction":"Default","transaction":{"transactionId":"TXN-12345","type":"Sell","description":"Sale","instrumentIdentifiers":{"Instrument/default/RIC":"RIC.N"},"instrumentScope":"default","instrumentUid":"LUID_JLH24106","transactionDate":"2018-08-04T00:00:00.0000000+00:00","settlementDate":"2018-08-06T00:00:00.0000000+00:00","units":1000,"transactionAmount":90000,"transactionPrice":{"price":90,"type":"Price"},"totalConsideration":{"amount":90000,"currency":"USD"},"exchangeRate":1,"transactionToPortfolioRate":0.75,"transactionCurrency":"USD","properties":{"Transaction/default/TradeToPortfolioRate":{"key":"Transaction/default/TradeToPortfolioRate","value":{"metricValue":{"value":0.75}}},"Transaction/default/SourcePortfolioId":{"key":"Transaction/default/SourcePortfolioId","value":{"labelValue":"DEMO-PORTFOLIO-ID"}},"Transaction/default/SourcePortfolioScope":{"key":"Transaction/default/SourcePortfolioScope","value":{"labelValue":"DEMO-SCOPE"}}},"source":"","transactionStatus":"Amended","entryDateTime":"2018-08-07T10:30:12.0000000+00:00","cancelDateTime":"2018-08-08T13:20:45.0000000+00:00","holdingIds":[1],"sourceType":"InputTransaction","grossTransactionAmount":70000,"accountingDate":"2018-08-04T00:00:00.0000000+00:00","version":{"effectiveFrom":"2018-08-04T00:00:00.0000000+00:00","asAtDate":"2018-08-08T13:20:45.0000000+00:00"}},"portfolioId":{"scope":{"client":{"name":"TestUser"},"scope":"Scope1"},"identifier":"PortfolioId1"},"valuationPointOrigin":"None"},{"accountingDate":"2023-04-02T15:10:10.0000000+00:00","journalEntryAction":"Default","transaction":{"transactionId":"TXN-12345","type":"Sell","description":"Sale","instrumentIdentifiers":{"Instrument/default/RIC":"RIC.N"},"instrumentScope":"default","instrumentUid":"LUID_JLH24106","transactionDate":"2018-08-04T00:00:00.0000000+00:00","settlementDate":"2018-08-06T00:00:00.0000000+00:00","units":1000,"transactionAmount":92000,"transactionPrice":{"price":92,"type":"Price"},"totalConsideration":{"amount":92000,"currency":"USD"},"exchangeRate":1,"transactionToPortfolioRate":0.75,"transactionCurrency":"USD","properties":{"Transaction/default/TradeToPortfolioRate":{"key":"Transaction/default/TradeToPortfolioRate","value":{"metricValue":{"value":0.75}}},"Transaction/default/SourcePortfolioId":{"key":"Transaction/default/SourcePortfolioId","value":{"labelValue":"DEMO-PORTFOLIO-ID"}},"Transaction/default/SourcePortfolioScope":{"key":"Transaction/default/SourcePortfolioScope","value":{"labelValue":"DEMO-SCOPE"}}},"source":"","transactionStatus":"Active","entryDateTime":"2018-08-08T13:20:45.0000000+00:00","realisedGainLoss":[{"instrumentScope":"default","instrumentUid":"LUID_JLH24106","units":1000,"purchaseTradeDate":"2018-08-04T00:00:00.0000000+00:00","purchaseSettlementDate":"2018-08-06T00:00:00.0000000+00:00","purchasePrice":90,"costTradeCcy":{"amount":90000,"currency":"USD"},"costPortfolioCcy":{"amount":67950,"currency":"GBP"},"realisedTradeCcy":{"amount":2000,"currency":"USD"},"realisedTotal":{"amount":1050,"currency":"GBP"},"realisedMarket":{"amount":1510,"currency":"GBP"},"realisedCurrency":{"amount":-460,"currency":"GBP"},"taxLotId":"DEMO-TAXLOTID","realisedAmortisation":{"amount":0,"currency":"GBP"},"tradeDateToSettlementDateRealisedCurrency":{"amount":0,"currency":"GBP"}}],"holdingIds":[1],"sourceType":"InputTransaction","grossTransactionAmount":90000,"accountingDate":"2018-08-04T00:00:00.0000000+00:00","version":{"effectiveFrom":"2018-08-04T00:00:00.0000000+00:00","asAtDate":"2018-08-08T13:20:45.0000000+00:00"}},"portfolioId":{"scope":{"client":{"name":"TestUser"},"scope":"Scope1"},"identifier":"PortfolioId1"},"valuationPointOrigin":"None"}],"links":[]}},"text/plain":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointResourceListOfAccountedTransaction"},"example":{"startValuationPoint":{"aborId":{"scope":"aborScope","code":"DiaryEntryCode"},"diaryEntryCode":"DiaryEntryCode","type":"Period","name":"2023_Q1","status":"Final","applyClearDown":false,"effectiveAt":"2023-04-02T15:10:10.0000000+00:00","queryAsAt":"2023-04-15T15:10:10.0000000+00:00","previousEntryTime":"0001-01-01T00:00:00.0000000+00:00","properties":{"DiaryEntry/AccountingDiary/Reports":{"key":"DiaryEntry/AccountingDiary/Reports","value":{"labelValue":"Some comments"}}}},"version":{"effectiveFrom":"2019-03-05T12:00:00.0000000+00:00","asAtDate":"2019-03-05T12:00:00.0000000+00:00"},"values":[{"accountingDate":"2023-04-02T15:10:10.0000000+00:00","journalEntryAction":"Default","transaction":{"transactionId":"TXN-12345","type":"Sell","description":"Sale","instrumentIdentifiers":{"Instrument/default/RIC":"RIC.N"},"instrumentScope":"default","instrumentUid":"LUID_JLH24106","transactionDate":"2018-08-04T00:00:00.0000000+00:00","settlementDate":"2018-08-06T00:00:00.0000000+00:00","units":1000,"transactionAmount":90000,"transactionPrice":{"price":90,"type":"Price"},"totalConsideration":{"amount":90000,"currency":"USD"},"exchangeRate":1,"transactionToPortfolioRate":0.75,"transactionCurrency":"USD","properties":{"Transaction/default/TradeToPortfolioRate":{"key":"Transaction/default/TradeToPortfolioRate","value":{"metricValue":{"value":0.75}}},"Transaction/default/SourcePortfolioId":{"key":"Transaction/default/SourcePortfolioId","value":{"labelValue":"DEMO-PORTFOLIO-ID"}},"Transaction/default/SourcePortfolioScope":{"key":"Transaction/default/SourcePortfolioScope","value":{"labelValue":"DEMO-SCOPE"}}},"source":"","transactionStatus":"Amended","entryDateTime":"2018-08-07T10:30:12.0000000+00:00","cancelDateTime":"2018-08-08T13:20:45.0000000+00:00","holdingIds":[1],"sourceType":"InputTransaction","grossTransactionAmount":70000,"accountingDate":"2018-08-04T00:00:00.0000000+00:00","version":{"effectiveFrom":"2018-08-04T00:00:00.0000000+00:00","asAtDate":"2018-08-08T13:20:45.0000000+00:00"}},"portfolioId":{"scope":{"client":{"name":"TestUser"},"scope":"Scope1"},"identifier":"PortfolioId1"},"valuationPointOrigin":"None"},{"accountingDate":"2023-04-02T15:10:10.0000000+00:00","journalEntryAction":"Default","transaction":{"transactionId":"TXN-12345","type":"Sell","description":"Sale","instrumentIdentifiers":{"Instrument/default/RIC":"RIC.N"},"instrumentScope":"default","instrumentUid":"LUID_JLH24106","transactionDate":"2018-08-04T00:00:00.0000000+00:00","settlementDate":"2018-08-06T00:00:00.0000000+00:00","units":1000,"transactionAmount":92000,"transactionPrice":{"price":92,"type":"Price"},"totalConsideration":{"amount":92000,"currency":"USD"},"exchangeRate":1,"transactionToPortfolioRate":0.75,"transactionCurrency":"USD","properties":{"Transaction/default/TradeToPortfolioRate":{"key":"Transaction/default/TradeToPortfolioRate","value":{"metricValue":{"value":0.75}}},"Transaction/default/SourcePortfolioId":{"key":"Transaction/default/SourcePortfolioId","value":{"labelValue":"DEMO-PORTFOLIO-ID"}},"Transaction/default/SourcePortfolioScope":{"key":"Transaction/default/SourcePortfolioScope","value":{"labelValue":"DEMO-SCOPE"}}},"source":"","transactionStatus":"Active","entryDateTime":"2018-08-08T13:20:45.0000000+00:00","realisedGainLoss":[{"instrumentScope":"default","instrumentUid":"LUID_JLH24106","units":1000,"purchaseTradeDate":"2018-08-04T00:00:00.0000000+00:00","purchaseSettlementDate":"2018-08-06T00:00:00.0000000+00:00","purchasePrice":90,"costTradeCcy":{"amount":90000,"currency":"USD"},"costPortfolioCcy":{"amount":67950,"currency":"GBP"},"realisedTradeCcy":{"amount":2000,"currency":"USD"},"realisedTotal":{"amount":1050,"currency":"GBP"},"realisedMarket":{"amount":1510,"currency":"GBP"},"realisedCurrency":{"amount":-460,"currency":"GBP"},"taxLotId":"DEMO-TAXLOTID","realisedAmortisation":{"amount":0,"currency":"GBP"},"tradeDateToSettlementDateRealisedCurrency":{"amount":0,"currency":"GBP"}}],"holdingIds":[1],"sourceType":"InputTransaction","grossTransactionAmount":90000,"accountingDate":"2018-08-04T00:00:00.0000000+00:00","version":{"effectiveFrom":"2018-08-04T00:00:00.0000000+00:00","asAtDate":"2018-08-08T13:20:45.0000000+00:00"}},"portfolioId":{"scope":{"client":{"name":"TestUser"},"scope":"Scope1"},"identifier":"PortfolioId1"},"valuationPointOrigin":"None"}],"links":[]}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointResourceListOfAccountedTransaction"},"example":{"startValuationPoint":{"aborId":{"scope":"aborScope","code":"DiaryEntryCode"},"diaryEntryCode":"DiaryEntryCode","type":"Period","name":"2023_Q1","status":"Final","applyClearDown":false,"effectiveAt":"2023-04-02T15:10:10.0000000+00:00","queryAsAt":"2023-04-15T15:10:10.0000000+00:00","previousEntryTime":"0001-01-01T00:00:00.0000000+00:00","properties":{"DiaryEntry/AccountingDiary/Reports":{"key":"DiaryEntry/AccountingDiary/Reports","value":{"labelValue":"Some comments"}}}},"version":{"effectiveFrom":"2019-03-05T12:00:00.0000000+00:00","asAtDate":"2019-03-05T12:00:00.0000000+00:00"},"values":[{"accountingDate":"2023-04-02T15:10:10.0000000+00:00","journalEntryAction":"Default","transaction":{"transactionId":"TXN-12345","type":"Sell","description":"Sale","instrumentIdentifiers":{"Instrument/default/RIC":"RIC.N"},"instrumentScope":"default","instrumentUid":"LUID_JLH24106","transactionDate":"2018-08-04T00:00:00.0000000+00:00","settlementDate":"2018-08-06T00:00:00.0000000+00:00","units":1000,"transactionAmount":90000,"transactionPrice":{"price":90,"type":"Price"},"totalConsideration":{"amount":90000,"currency":"USD"},"exchangeRate":1,"transactionToPortfolioRate":0.75,"transactionCurrency":"USD","properties":{"Transaction/default/TradeToPortfolioRate":{"key":"Transaction/default/TradeToPortfolioRate","value":{"metricValue":{"value":0.75}}},"Transaction/default/SourcePortfolioId":{"key":"Transaction/default/SourcePortfolioId","value":{"labelValue":"DEMO-PORTFOLIO-ID"}},"Transaction/default/SourcePortfolioScope":{"key":"Transaction/default/SourcePortfolioScope","value":{"labelValue":"DEMO-SCOPE"}}},"source":"","transactionStatus":"Amended","entryDateTime":"2018-08-07T10:30:12.0000000+00:00","cancelDateTime":"2018-08-08T13:20:45.0000000+00:00","holdingIds":[1],"sourceType":"InputTransaction","grossTransactionAmount":70000,"accountingDate":"2018-08-04T00:00:00.0000000+00:00","version":{"effectiveFrom":"2018-08-04T00:00:00.0000000+00:00","asAtDate":"2018-08-08T13:20:45.0000000+00:00"}},"portfolioId":{"scope":{"client":{"name":"TestUser"},"scope":"Scope1"},"identifier":"PortfolioId1"},"valuationPointOrigin":"None"},{"accountingDate":"2023-04-02T15:10:10.0000000+00:00","journalEntryAction":"Default","transaction":{"transactionId":"TXN-12345","type":"Sell","description":"Sale","instrumentIdentifiers":{"Instrument/default/RIC":"RIC.N"},"instrumentScope":"default","instrumentUid":"LUID_JLH24106","transactionDate":"2018-08-04T00:00:00.0000000+00:00","settlementDate":"2018-08-06T00:00:00.0000000+00:00","units":1000,"transactionAmount":92000,"transactionPrice":{"price":92,"type":"Price"},"totalConsideration":{"amount":92000,"currency":"USD"},"exchangeRate":1,"transactionToPortfolioRate":0.75,"transactionCurrency":"USD","properties":{"Transaction/default/TradeToPortfolioRate":{"key":"Transaction/default/TradeToPortfolioRate","value":{"metricValue":{"value":0.75}}},"Transaction/default/SourcePortfolioId":{"key":"Transaction/default/SourcePortfolioId","value":{"labelValue":"DEMO-PORTFOLIO-ID"}},"Transaction/default/SourcePortfolioScope":{"key":"Transaction/default/SourcePortfolioScope","value":{"labelValue":"DEMO-SCOPE"}}},"source":"","transactionStatus":"Active","entryDateTime":"2018-08-08T13:20:45.0000000+00:00","realisedGainLoss":[{"instrumentScope":"default","instrumentUid":"LUID_JLH24106","units":1000,"purchaseTradeDate":"2018-08-04T00:00:00.0000000+00:00","purchaseSettlementDate":"2018-08-06T00:00:00.0000000+00:00","purchasePrice":90,"costTradeCcy":{"amount":90000,"currency":"USD"},"costPortfolioCcy":{"amount":67950,"currency":"GBP"},"realisedTradeCcy":{"amount":2000,"currency":"USD"},"realisedTotal":{"amount":1050,"currency":"GBP"},"realisedMarket":{"amount":1510,"currency":"GBP"},"realisedCurrency":{"amount":-460,"currency":"GBP"},"taxLotId":"DEMO-TAXLOTID","realisedAmortisation":{"amount":0,"currency":"GBP"},"tradeDateToSettlementDateRealisedCurrency":{"amount":0,"currency":"GBP"}}],"holdingIds":[1],"sourceType":"InputTransaction","grossTransactionAmount":90000,"accountingDate":"2018-08-04T00:00:00.0000000+00:00","version":{"effectiveFrom":"2018-08-04T00:00:00.0000000+00:00","asAtDate":"2018-08-08T13:20:45.0000000+00:00"}},"portfolioId":{"scope":{"client":{"name":"TestUser"},"scope":"Scope1"},"identifier":"PortfolioId1"},"valuationPointOrigin":"None"}],"links":[]}}}},"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"}}}}