{"openapi":"3.0.4","info":{"title":"Get holdings adjustment","description":"Get a holdings adjustment made to a transaction portfolio at a specific effective datetime. Note that a\r\nholdings adjustment will only be returned if one exists for the specified effective datetime.","version":"0.0.1"},"servers":[{"url":"https://fbn-prd.lusid.com/api"}],"paths":{"/api/transactionportfolios/{scope}/{code}/holdingsadjustments/{effectiveAt}":{"get":{"tags":["Transaction Portfolios"],"summary":"Get holdings adjustment","description":"Get a holdings adjustment made to a transaction portfolio at a specific effective datetime. Note that a\r\nholdings adjustment will only be returned if one exists for the specified effective datetime.","operationId":"GetHoldingsAdjustment","parameters":[{"name":"scope","in":"path","description":"The scope of the transaction portfolio.","required":true,"schema":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string"}},{"name":"code","in":"path","description":"The code of the transaction portfolio. Together with the scope this uniquely identifies\r\n            the transaction portfolio.","required":true,"schema":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string"}},{"name":"effectiveAt","in":"path","description":"The effective datetime or cut label of the holdings adjustment.","required":true,"schema":{"type":"string","format":"dateorcutlabel"}},{"name":"asAt","in":"query","description":"The asAt datetime at which to retrieve the holdings adjustment. Defaults to the return the latest\r\n            version of the holdings adjustment if not specified.","schema":{"type":"string","format":"date-time"},"x-nullable":true},{"name":"propertyKeys","in":"query","description":"A list of property keys from the 'Instrument' domain to decorate onto holdings adjustments.\r\n            These must have the format {domain}/{scope}/{code}, for example 'Instrument/system/Name'.\r\n            Note that properties from the 'Holding' domain are automatically returned.","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":"filter","in":"query","description":"Expression to filter the holding adjustments result set.\r\n            Supported fields: InstrumentUid, InstrumentScope, Currency, Properties[Holding/{scope}/{code}], SubHoldingKeys[Transaction/{scope}/{code}].\r\n            For example, to filter on a specific instrument, specify \"InstrumentUid eq 'LUID_00003D4X'\".\r\n            For more information about filtering LUSID results, see https://support.lusid.com/docs/filtering-information-retrieved-from-lusid.","schema":{"maxLength":16384,"minLength":0,"pattern":"^[\\s\\S]*$","type":"string"}}],"responses":{"200":{"description":"The details of the requested holdings adjustment","content":{"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/HoldingsAdjustment"},"example":{"effectiveAt":"0001-01-01T00:00:00.0000000+00:00","version":{"effectiveFrom":"2019-03-05T00:00:00.0000000+00:00","asAtDate":"2019-03-08T00:00:00.0000000+00:00"},"unmatchedHoldingMethod":"KeepTheSame","adjustments":[{"instrumentIdentifiers":{"Instrument/default/ClientInternal":"CLI-192836"},"instrumentScope":"default","instrumentUid":"LUID_GNMKYXXK","subHoldingKeys":{},"properties":{},"taxLots":[{"units":10,"cost":{"amount":120,"currency":"GBP"}}],"currency":"ZZZ","custodianAccountId":{"scope":"CustodianAccountScope","code":"CustodianAccountCode"}},{"instrumentIdentifiers":{"Instrument/default/ClientInternal":"CLI-462810"},"instrumentScope":"default","instrumentUid":"LUID_LE9E5SJE","subHoldingKeys":{},"properties":{},"taxLots":[{"units":10,"cost":{"amount":120,"currency":"GBP"}}],"currency":"ZZZ","custodianAccountId":{"scope":"CustodianAccountScope","code":"CustodianAccountCode"}}]}},"text/plain":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/HoldingsAdjustment"},"example":{"effectiveAt":"0001-01-01T00:00:00.0000000+00:00","version":{"effectiveFrom":"2019-03-05T00:00:00.0000000+00:00","asAtDate":"2019-03-08T00:00:00.0000000+00:00"},"unmatchedHoldingMethod":"KeepTheSame","adjustments":[{"instrumentIdentifiers":{"Instrument/default/ClientInternal":"CLI-192836"},"instrumentScope":"default","instrumentUid":"LUID_GNMKYXXK","subHoldingKeys":{},"properties":{},"taxLots":[{"units":10,"cost":{"amount":120,"currency":"GBP"}}],"currency":"ZZZ","custodianAccountId":{"scope":"CustodianAccountScope","code":"CustodianAccountCode"}},{"instrumentIdentifiers":{"Instrument/default/ClientInternal":"CLI-462810"},"instrumentScope":"default","instrumentUid":"LUID_LE9E5SJE","subHoldingKeys":{},"properties":{},"taxLots":[{"units":10,"cost":{"amount":120,"currency":"GBP"}}],"currency":"ZZZ","custodianAccountId":{"scope":"CustodianAccountScope","code":"CustodianAccountCode"}}]}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/HoldingsAdjustment"},"example":{"effectiveAt":"0001-01-01T00:00:00.0000000+00:00","version":{"effectiveFrom":"2019-03-05T00:00:00.0000000+00:00","asAtDate":"2019-03-08T00:00:00.0000000+00:00"},"unmatchedHoldingMethod":"KeepTheSame","adjustments":[{"instrumentIdentifiers":{"Instrument/default/ClientInternal":"CLI-192836"},"instrumentScope":"default","instrumentUid":"LUID_GNMKYXXK","subHoldingKeys":{},"properties":{},"taxLots":[{"units":10,"cost":{"amount":120,"currency":"GBP"}}],"currency":"ZZZ","custodianAccountId":{"scope":"CustodianAccountScope","code":"CustodianAccountCode"}},{"instrumentIdentifiers":{"Instrument/default/ClientInternal":"CLI-462810"},"instrumentScope":"default","instrumentUid":"LUID_LE9E5SJE","subHoldingKeys":{},"properties":{},"taxLots":[{"units":10,"cost":{"amount":120,"currency":"GBP"}}],"currency":"ZZZ","custodianAccountId":{"scope":"CustodianAccountScope","code":"CustodianAccountCode"}}]}}}},"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":"Stable"}}},"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer"}}}}