{"openapi":"3.0.4","info":{"title":"Reverts a Final Valuation Point to Estimate.","description":"Moves a 'Final' status Valuation Point to status 'Estimate'.","version":"0.0.1"},"servers":[{"url":"https://fbn-prd.lusid.com/api"}],"paths":{"/api/funds/{scope}/{code}/valuationpoints/$reverttoestimate":{"post":{"tags":["Funds"],"summary":"Reverts a Final Valuation Point to Estimate.","description":"Moves a 'Final' status Valuation Point to status 'Estimate'.","operationId":"RevertValuationPointToEstimate","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":"navTypeCode","in":"query","description":"When provided, sets the status of the Valuation Point of the specified NAV Type to be Estimate.\r\n            Otherwise, the Primary NAV Type will be used.","schema":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string"}}],"requestBody":{"description":"The revertValuationPointRequest which contains the Diary Entry code for the Final Valuation Point to move to Estimate status.","content":{"application/json-patch+json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/RevertValuationPointDataRequest"},"example":{"diaryEntryCode":"DiaryEntryCode"}},"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/RevertValuationPointDataRequest"},"example":{"diaryEntryCode":"DiaryEntryCode"}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/RevertValuationPointDataRequest"},"example":{"diaryEntryCode":"DiaryEntryCode"}},"application/*+json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/RevertValuationPointDataRequest"},"example":{"diaryEntryCode":"DiaryEntryCode"}}},"required":true},"responses":{"200":{"description":"The updated Valuation Point response as a result of it be marked as Estimate.","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"}}}}