{"openapi":"3.0.4","info":{"title":"Get Valuation Point Data for a Fund.","description":"Retrieves the Valuation Point data between given dates or Valuation Point codes.\r\nThe endpoint will internally extract all 'Assets' and 'Liabilities' from the Fund's Trial balance to produce a GAV.\r\nStart date will be assumed from the last 'official' ValuationPoint and EndDate will be as provided.","version":"0.0.1"},"servers":[{"url":"https://fbn-prd.lusid.com/api"}],"paths":{"/api/funds/{scope}/{code}/valuationpoints/$query":{"post":{"tags":["Funds"],"summary":"Get Valuation Point Data for a Fund.","description":"Retrieves the Valuation Point data between given dates or Valuation Point codes.\r\nThe endpoint will internally extract all 'Assets' and 'Liabilities' from the Fund's Trial balance to produce a GAV.\r\nStart date will be assumed from the last 'official' ValuationPoint and EndDate will be as provided.","operationId":"GetValuationPointData","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 the Fund definition. Defaults to returning the latest version of the Fund definition if not specified.","schema":{"type":"string","format":"date-time"},"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"}}],"requestBody":{"description":"The arguments to use for querying the Valuation Point data.","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 Valuation Point data for the Fund.","content":{"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointDataResponse"},"example":{"href":"http://finbourne.com","type":"ValuationPoint","status":"Estimate","fundDetails":{"currency":"GBP"},"fundValuationPointData":{"backOut":{},"dealing":{},"pnL":{"nonClassSpecificPnl":{},"aggregatedClassPnl":{},"totalPnl":{}},"gav":99999.99,"fees":{},"nav":99999.99,"miscellaneous":{},"previousValuationPointData":{"nav":{"amount":0}}},"shareClassData":[{"shareClassBreakdown":{"backOut":{},"dealing":{"classDealing":{},"classDealingUnits":{}},"pnL":{"apportionedNonClassSpecificPnl":{},"classPnl":{},"totalPnl":{}},"gav":{"fundCurrencyAmount":99999.99,"shareClassCurrencyAmount":99999.99},"fees":{},"nav":{"fundCurrencyAmount":99999.99,"shareClassCurrencyAmount":99999.99},"miscellaneous":{},"shareClassToFundFxRate":1,"capitalRatio":1,"previousShareClassBreakdown":{"nav":{"amount":{"fundCurrencyAmount":0,"shareClassCurrencyAmount":0}},"shareClassToFundFxRate":1}},"shareClassDetails":{"lusidInstrumentId":"LUID_12345678","instrumentScope":"default","shortCode":"ShareClassShortCode","domCurrency":"USD","instrumentActive":true}}],"valuationPointCode":"FebValuationPoint","previousValuationPointCode":"JanValuationPoint"}},"text/plain":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointDataResponse"},"example":{"href":"http://finbourne.com","type":"ValuationPoint","status":"Estimate","fundDetails":{"currency":"GBP"},"fundValuationPointData":{"backOut":{},"dealing":{},"pnL":{"nonClassSpecificPnl":{},"aggregatedClassPnl":{},"totalPnl":{}},"gav":99999.99,"fees":{},"nav":99999.99,"miscellaneous":{},"previousValuationPointData":{"nav":{"amount":0}}},"shareClassData":[{"shareClassBreakdown":{"backOut":{},"dealing":{"classDealing":{},"classDealingUnits":{}},"pnL":{"apportionedNonClassSpecificPnl":{},"classPnl":{},"totalPnl":{}},"gav":{"fundCurrencyAmount":99999.99,"shareClassCurrencyAmount":99999.99},"fees":{},"nav":{"fundCurrencyAmount":99999.99,"shareClassCurrencyAmount":99999.99},"miscellaneous":{},"shareClassToFundFxRate":1,"capitalRatio":1,"previousShareClassBreakdown":{"nav":{"amount":{"fundCurrencyAmount":0,"shareClassCurrencyAmount":0}},"shareClassToFundFxRate":1}},"shareClassDetails":{"lusidInstrumentId":"LUID_12345678","instrumentScope":"default","shortCode":"ShareClassShortCode","domCurrency":"USD","instrumentActive":true}}],"valuationPointCode":"FebValuationPoint","previousValuationPointCode":"JanValuationPoint"}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointDataResponse"},"example":{"href":"http://finbourne.com","type":"ValuationPoint","status":"Estimate","fundDetails":{"currency":"GBP"},"fundValuationPointData":{"backOut":{},"dealing":{},"pnL":{"nonClassSpecificPnl":{},"aggregatedClassPnl":{},"totalPnl":{}},"gav":99999.99,"fees":{},"nav":99999.99,"miscellaneous":{},"previousValuationPointData":{"nav":{"amount":0}}},"shareClassData":[{"shareClassBreakdown":{"backOut":{},"dealing":{"classDealing":{},"classDealingUnits":{}},"pnL":{"apportionedNonClassSpecificPnl":{},"classPnl":{},"totalPnl":{}},"gav":{"fundCurrencyAmount":99999.99,"shareClassCurrencyAmount":99999.99},"fees":{},"nav":{"fundCurrencyAmount":99999.99,"shareClassCurrencyAmount":99999.99},"miscellaneous":{},"shareClassToFundFxRate":1,"capitalRatio":1,"previousShareClassBreakdown":{"nav":{"amount":{"fundCurrencyAmount":0,"shareClassCurrencyAmount":0}},"shareClassToFundFxRate":1}},"shareClassDetails":{"lusidInstrumentId":"LUID_12345678","instrumentScope":"default","shortCode":"ShareClassShortCode","domCurrency":"USD","instrumentActive":true}}],"valuationPointCode":"FebValuationPoint","previousValuationPointCode":"JanValuationPoint"}}}},"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"}}}}