LUSID C# SDK
Public Member Functions | List of all members
Lusid.Sdk.Api.IInstrumentsApiSync Interface Reference

Represents a collection of functions to interact with the API endpoints More...

Inheritance diagram for Lusid.Sdk.Api.IInstrumentsApiSync:
Inheritance graph
[legend]

Public Member Functions

BatchUpsertInstrumentPropertiesResponse BatchUpsertInstrumentProperties (Dictionary< string, UpsertInstrumentPropertyRequest > requestBody, string? scope=default(string?), DateTimeOrCutLabel? identifierEffectiveAt=default(DateTimeOrCutLabel?), string? successMode=default(string?), int operationIndex=0)
 [EARLY ACCESS] BatchUpsertInstrumentProperties: Batch upsert instruments properties More...
 
ApiResponse< BatchUpsertInstrumentPropertiesResponseBatchUpsertInstrumentPropertiesWithHttpInfo (Dictionary< string, UpsertInstrumentPropertyRequest > requestBody, string? scope=default(string?), DateTimeOrCutLabel? identifierEffectiveAt=default(DateTimeOrCutLabel?), string? successMode=default(string?), int operationIndex=0)
 [EARLY ACCESS] BatchUpsertInstrumentProperties: Batch upsert instruments properties More...
 
DeleteInstrumentResponse DeleteInstrument (string identifierType, string identifier, string? scope=default(string?), int operationIndex=0)
 [EARLY ACCESS] DeleteInstrument: Soft delete a single instrument More...
 
ApiResponse< DeleteInstrumentResponseDeleteInstrumentWithHttpInfo (string identifierType, string identifier, string? scope=default(string?), int operationIndex=0)
 [EARLY ACCESS] DeleteInstrument: Soft delete a single instrument More...
 
DeleteInstrumentPropertiesResponse DeleteInstrumentProperties (string identifierType, string identifier, List< string > requestBody, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), string? scope=default(string?), int operationIndex=0)
 [EARLY ACCESS] DeleteInstrumentProperties: Delete instrument properties More...
 
ApiResponse< DeleteInstrumentPropertiesResponseDeleteInstrumentPropertiesWithHttpInfo (string identifierType, string identifier, List< string > requestBody, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), string? scope=default(string?), int operationIndex=0)
 [EARLY ACCESS] DeleteInstrumentProperties: Delete instrument properties More...
 
DeleteInstrumentsResponse DeleteInstruments (List< string > requestBody, string? deleteMode=default(string?), string? scope=default(string?), int operationIndex=0)
 [EARLY ACCESS] DeleteInstruments: Soft or hard delete multiple instruments More...
 
ApiResponse< DeleteInstrumentsResponseDeleteInstrumentsWithHttpInfo (List< string > requestBody, string? deleteMode=default(string?), string? scope=default(string?), int operationIndex=0)
 [EARLY ACCESS] DeleteInstruments: Soft or hard delete multiple instruments More...
 
Dictionary< string, List< string > > GetAllPossibleFeatures (string instrumentType, int operationIndex=0)
 [EXPERIMENTAL] GetAllPossibleFeatures: Provides list of all possible features for instrument type. More...
 
ApiResponse< Dictionary< string, List< string > > > GetAllPossibleFeaturesWithHttpInfo (string instrumentType, int operationIndex=0)
 [EXPERIMENTAL] GetAllPossibleFeatures: Provides list of all possible features for instrument type. More...
 
InstrumentCapabilities GetExistingInstrumentCapabilities (string identifier, string? model=default(string?), DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? instrumentScope=default(string?), string? recipeScope=default(string?), string? recipeCode=default(string?), int operationIndex=0)
 [EXPERIMENTAL] GetExistingInstrumentCapabilities: Retrieve capabilities of an existing instrument identified by LUID. These include instrument features, and if model is provided it also includes supported address keys and economic dependencies. Given an lusid instrument id provides instrument capabilities, outlining features, and, given the model, the capabilities also include supported addresses as well as economic dependencies. More...
 
ApiResponse< InstrumentCapabilitiesGetExistingInstrumentCapabilitiesWithHttpInfo (string identifier, string? model=default(string?), DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? instrumentScope=default(string?), string? recipeScope=default(string?), string? recipeCode=default(string?), int operationIndex=0)
 [EXPERIMENTAL] GetExistingInstrumentCapabilities: Retrieve capabilities of an existing instrument identified by LUID. These include instrument features, and if model is provided it also includes supported address keys and economic dependencies. Given an lusid instrument id provides instrument capabilities, outlining features, and, given the model, the capabilities also include supported addresses as well as economic dependencies. More...
 
InstrumentModels GetExistingInstrumentModels (string identifier, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? instrumentScope=default(string?), string? recipeScope=default(string?), string? recipeCode=default(string?), int operationIndex=0)
 GetExistingInstrumentModels: Retrieve supported pricing models for an existing instrument identified by LUID. More...
 
ApiResponse< InstrumentModelsGetExistingInstrumentModelsWithHttpInfo (string identifier, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? instrumentScope=default(string?), string? recipeScope=default(string?), string? recipeCode=default(string?), int operationIndex=0)
 GetExistingInstrumentModels: Retrieve supported pricing models for an existing instrument identified by LUID. More...
 
Instrument GetInstrument (string identifierType, string identifier, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), string? scope=default(string?), List< string >? relationshipDefinitionIds=default(List< string >?), int operationIndex=0)
 GetInstrument: Get instrument More...
 
ApiResponse< InstrumentGetInstrumentWithHttpInfo (string identifierType, string identifier, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), string? scope=default(string?), List< string >? relationshipDefinitionIds=default(List< string >?), int operationIndex=0)
 GetInstrument: Get instrument More...
 
ResourceListOfInstrumentIdTypeDescriptor GetInstrumentIdentifierTypes (int operationIndex=0)
 GetInstrumentIdentifierTypes: Get instrument identifier types More...
 
ApiResponse< ResourceListOfInstrumentIdTypeDescriptorGetInstrumentIdentifierTypesWithHttpInfo (int operationIndex=0)
 GetInstrumentIdentifierTypes: Get instrument identifier types More...
 
InstrumentPaymentDiary GetInstrumentPaymentDiary (string identifierType, string identifier, string recipeScope, string recipeCode, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? scope=default(string?), int operationIndex=0)
 [EXPERIMENTAL] GetInstrumentPaymentDiary: Get instrument payment diary More...
 
ApiResponse< InstrumentPaymentDiaryGetInstrumentPaymentDiaryWithHttpInfo (string identifierType, string identifier, string recipeScope, string recipeCode, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? scope=default(string?), int operationIndex=0)
 [EXPERIMENTAL] GetInstrumentPaymentDiary: Get instrument payment diary More...
 
InstrumentProperties GetInstrumentProperties (string identifierType, string identifier, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? scope=default(string?), int operationIndex=0)
 [EARLY ACCESS] GetInstrumentProperties: Get instrument properties More...
 
ApiResponse< InstrumentPropertiesGetInstrumentPropertiesWithHttpInfo (string identifierType, string identifier, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? scope=default(string?), int operationIndex=0)
 [EARLY ACCESS] GetInstrumentProperties: Get instrument properties More...
 
ResourceListOfPropertyInterval GetInstrumentPropertyTimeSeries (string identifierType, string identifier, string propertyKey, string? identifierEffectiveAt=default(string?), DateTimeOffset? asAt=default(DateTimeOffset?), string? filter=default(string?), string? page=default(string?), int? limit=default(int?), string? scope=default(string?), int operationIndex=0)
 [EARLY ACCESS] GetInstrumentPropertyTimeSeries: Get instrument property time series More...
 
ApiResponse< ResourceListOfPropertyIntervalGetInstrumentPropertyTimeSeriesWithHttpInfo (string identifierType, string identifier, string propertyKey, string? identifierEffectiveAt=default(string?), DateTimeOffset? asAt=default(DateTimeOffset?), string? filter=default(string?), string? page=default(string?), int? limit=default(int?), string? scope=default(string?), int operationIndex=0)
 [EARLY ACCESS] GetInstrumentPropertyTimeSeries: Get instrument property time series More...
 
ResourceListOfRelationship GetInstrumentRelationships (string identifierType, string identifier, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? filter=default(string?), List< string >? identifierTypes=default(List< string >?), string? scope=default(string?), int operationIndex=0)
 [EARLY ACCESS] GetInstrumentRelationships: Get Instrument relationships More...
 
ApiResponse< ResourceListOfRelationshipGetInstrumentRelationshipsWithHttpInfo (string identifierType, string identifier, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? filter=default(string?), List< string >? identifierTypes=default(List< string >?), string? scope=default(string?), int operationIndex=0)
 [EARLY ACCESS] GetInstrumentRelationships: Get Instrument relationships More...
 
GetInstrumentsResponse GetInstruments (string identifierType, List< string > requestBody, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), string? scope=default(string?), List< string >? relationshipDefinitionIds=default(List< string >?), int operationIndex=0)
 GetInstruments: Get instruments More...
 
ApiResponse< GetInstrumentsResponseGetInstrumentsWithHttpInfo (string identifierType, List< string > requestBody, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), string? scope=default(string?), List< string >? relationshipDefinitionIds=default(List< string >?), int operationIndex=0)
 GetInstruments: Get instruments More...
 
ResourceListOfProperty ListInstrumentProperties (string identifierType, string identifier, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), string? scope=default(string?), int operationIndex=0)
 [EARLY ACCESS] ListInstrumentProperties: Get instrument properties (with Pagination) More...
 
ApiResponse< ResourceListOfPropertyListInstrumentPropertiesWithHttpInfo (string identifierType, string identifier, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), string? scope=default(string?), int operationIndex=0)
 [EARLY ACCESS] ListInstrumentProperties: Get instrument properties (with Pagination) More...
 
PagedResourceListOfInstrument ListInstruments (DateTimeOffset? asAt=default(DateTimeOffset?), DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), string? page=default(string?), List< string >? sortBy=default(List< string >?), int? limit=default(int?), string? filter=default(string?), List< string >? instrumentPropertyKeys=default(List< string >?), string? scope=default(string?), List< string >? relationshipDefinitionIds=default(List< string >?), int operationIndex=0)
 ListInstruments: List instruments More...
 
ApiResponse< PagedResourceListOfInstrumentListInstrumentsWithHttpInfo (DateTimeOffset? asAt=default(DateTimeOffset?), DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), string? page=default(string?), List< string >? sortBy=default(List< string >?), int? limit=default(int?), string? filter=default(string?), List< string >? instrumentPropertyKeys=default(List< string >?), string? scope=default(string?), List< string >? relationshipDefinitionIds=default(List< string >?), int operationIndex=0)
 ListInstruments: List instruments More...
 
InstrumentCapabilities QueryInstrumentCapabilities (LusidInstrument lusidInstrument, string? model=default(string?), int operationIndex=0)
 [EXPERIMENTAL] QueryInstrumentCapabilities: Query capabilities of a particular instrument in advance of creating it. These include instrument features, and if model is provided it also includes supported address keys and economic dependencies. More...
 
ApiResponse< InstrumentCapabilitiesQueryInstrumentCapabilitiesWithHttpInfo (LusidInstrument lusidInstrument, string? model=default(string?), int operationIndex=0)
 [EXPERIMENTAL] QueryInstrumentCapabilities: Query capabilities of a particular instrument in advance of creating it. These include instrument features, and if model is provided it also includes supported address keys and economic dependencies. More...
 
Instrument UpdateInstrumentIdentifier (string identifierType, string identifier, UpdateInstrumentIdentifierRequest updateInstrumentIdentifierRequest, string? scope=default(string?), int operationIndex=0)
 UpdateInstrumentIdentifier: Update instrument identifier More...
 
ApiResponse< InstrumentUpdateInstrumentIdentifierWithHttpInfo (string identifierType, string identifier, UpdateInstrumentIdentifierRequest updateInstrumentIdentifierRequest, string? scope=default(string?), int operationIndex=0)
 UpdateInstrumentIdentifier: Update instrument identifier More...
 
UpsertInstrumentsResponse UpsertInstruments (Dictionary< string, InstrumentDefinition > requestBody, string? scope=default(string?), int operationIndex=0)
 UpsertInstruments: Upsert instruments More...
 
ApiResponse< UpsertInstrumentsResponseUpsertInstrumentsWithHttpInfo (Dictionary< string, InstrumentDefinition > requestBody, string? scope=default(string?), int operationIndex=0)
 UpsertInstruments: Upsert instruments More...
 
UpsertInstrumentPropertiesResponse UpsertInstrumentsProperties (List< UpsertInstrumentPropertyRequest > upsertInstrumentPropertyRequest, string? scope=default(string?), int operationIndex=0)
 UpsertInstrumentsProperties: Upsert instruments properties More...
 
ApiResponse< UpsertInstrumentPropertiesResponseUpsertInstrumentsPropertiesWithHttpInfo (List< UpsertInstrumentPropertyRequest > upsertInstrumentPropertyRequest, string? scope=default(string?), int operationIndex=0)
 UpsertInstrumentsProperties: Upsert instruments properties More...
 
- Public Member Functions inherited from Lusid.Sdk.Client.IApiAccessor
string GetBasePath ()
 Gets the base path of the API client. More...
 

Additional Inherited Members

- Properties inherited from Lusid.Sdk.Client.IApiAccessor
IReadableConfiguration Configuration [get, set]
 Gets or sets the configuration object More...
 
ExceptionFactory ExceptionFactory [get, set]
 Provides a factory method hook for the creation of exceptions. More...
 

Detailed Description

Represents a collection of functions to interact with the API endpoints

Member Function Documentation

◆ BatchUpsertInstrumentProperties()

BatchUpsertInstrumentPropertiesResponse Lusid.Sdk.Api.IInstrumentsApiSync.BatchUpsertInstrumentProperties ( Dictionary< string, UpsertInstrumentPropertyRequest requestBody,
string?  scope = default(string?),
DateTimeOrCutLabel identifierEffectiveAt = default(DateTimeOrCutLabel?),
string?  successMode = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] BatchUpsertInstrumentProperties: Batch upsert instruments properties

Create or update one or more properties for particular instruments. Each instrument property is updated if it exists and created if it does not. For any failures, a reason is provided. Properties have an <i>effectiveFrom</i> datetime from which the property is valid, and an <i>effectiveUntil</i> datetime until which the property is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
requestBodyA list of instruments and associated instrument properties to create or update.
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
identifierEffectiveAtThe effective datetime used to resolve each instrument from the provided identifiers. Defaults to the current LUSID system datetime if not specified. (optional)
successModeWhether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial. (optional, default to "Partial")
operationIndexIndex associated with the operation.
Returns
BatchUpsertInstrumentPropertiesResponse

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ BatchUpsertInstrumentPropertiesWithHttpInfo()

ApiResponse<BatchUpsertInstrumentPropertiesResponse> Lusid.Sdk.Api.IInstrumentsApiSync.BatchUpsertInstrumentPropertiesWithHttpInfo ( Dictionary< string, UpsertInstrumentPropertyRequest requestBody,
string?  scope = default(string?),
DateTimeOrCutLabel identifierEffectiveAt = default(DateTimeOrCutLabel?),
string?  successMode = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] BatchUpsertInstrumentProperties: Batch upsert instruments properties

Create or update one or more properties for particular instruments. Each instrument property is updated if it exists and created if it does not. For any failures, a reason is provided. Properties have an <i>effectiveFrom</i> datetime from which the property is valid, and an <i>effectiveUntil</i> datetime until which the property is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
requestBodyA list of instruments and associated instrument properties to create or update.
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
identifierEffectiveAtThe effective datetime used to resolve each instrument from the provided identifiers. Defaults to the current LUSID system datetime if not specified. (optional)
successModeWhether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial. (optional, default to "Partial")
operationIndexIndex associated with the operation.
Returns
ApiResponse of BatchUpsertInstrumentPropertiesResponse

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ DeleteInstrument()

DeleteInstrumentResponse Lusid.Sdk.Api.IInstrumentsApiSync.DeleteInstrument ( string  identifierType,
string  identifier,
string?  scope = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] DeleteInstrument: Soft delete a single instrument

Soft delete a particular instrument, as identified by a particular instrument identifier. Once deleted, an instrument is marked as inactive and can no longer be referenced when creating or updating transactions or holdings. You can still query existing transactions and holdings related to the deleted instrument.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to search, for example &#39;Figi&#39;.
identifierAn <i>identifierType</i> value to use to identify the instrument, for example &#39;BBG000BLNNV0&#39;.
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
DeleteInstrumentResponse

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ DeleteInstrumentProperties()

DeleteInstrumentPropertiesResponse Lusid.Sdk.Api.IInstrumentsApiSync.DeleteInstrumentProperties ( string  identifierType,
string  identifier,
List< string >  requestBody,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
string?  scope = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] DeleteInstrumentProperties: Delete instrument properties

Delete one or more properties from a particular instrument. If the properties are time-variant then an effective datetime from which to delete properties must be specified. If the properties are perpetual then it is invalid to specify an effective datetime for deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to search, for example &#39;Figi&#39;.
identifierAn <i>identifierType</i> value to use to identify the instrument, for example &#39;BBG000BLNNV0&#39;.
requestBodyA list of property keys from the &#39;Instruments&#39; domain whose properties to delete.
effectiveAtThe effective datetime or cut label at which to delete time-variant properties from. The property must exist at the specified &#39;effectiveAt&#39; datetime. If the &#39;effectiveAt&#39; is not provided or is before the time-variant property exists then a failure is returned. Do not specify this parameter if any of the properties to delete are perpetual. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
DeleteInstrumentPropertiesResponse

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ DeleteInstrumentPropertiesWithHttpInfo()

ApiResponse<DeleteInstrumentPropertiesResponse> Lusid.Sdk.Api.IInstrumentsApiSync.DeleteInstrumentPropertiesWithHttpInfo ( string  identifierType,
string  identifier,
List< string >  requestBody,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
string?  scope = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] DeleteInstrumentProperties: Delete instrument properties

Delete one or more properties from a particular instrument. If the properties are time-variant then an effective datetime from which to delete properties must be specified. If the properties are perpetual then it is invalid to specify an effective datetime for deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to search, for example &#39;Figi&#39;.
identifierAn <i>identifierType</i> value to use to identify the instrument, for example &#39;BBG000BLNNV0&#39;.
requestBodyA list of property keys from the &#39;Instruments&#39; domain whose properties to delete.
effectiveAtThe effective datetime or cut label at which to delete time-variant properties from. The property must exist at the specified &#39;effectiveAt&#39; datetime. If the &#39;effectiveAt&#39; is not provided or is before the time-variant property exists then a failure is returned. Do not specify this parameter if any of the properties to delete are perpetual. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
ApiResponse of DeleteInstrumentPropertiesResponse

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ DeleteInstruments()

DeleteInstrumentsResponse Lusid.Sdk.Api.IInstrumentsApiSync.DeleteInstruments ( List< string >  requestBody,
string?  deleteMode = default(string?),
string?  scope = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] DeleteInstruments: Soft or hard delete multiple instruments

Deletes a number of instruments identified by LusidInstrumentId. Soft deletion marks the instrument as inactive so it can no longer be referenced when creating or updating transactions or holdings. You can still query existing transactions and holdings related to the inactive instrument. In addition to the above behaviour, hard deletion: (i) completely removes all external identifiers from the instrument; (ii) marks the instrument as &#39;Deleted&#39;; (iii) prepends the instrument&#39;s name with &#39;DELETED &#39;; (iv) prevents the instrument from being returned in list instruments queries. Following hard deletion, an instrument may only be retrieved by making a direct get instrument request for the LusidInstrumentId. Instrument deletion cannot be undone. Please note that currency instruments cannot currently be deleted. The maximum number of instruments that this method can delete per request is 2,000.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
requestBodyThe list of lusidInstrumentId&#39;s to delete.
deleteModeThe delete mode to use (defaults to &#39;Soft&#39;). (optional)
scopeThe scope in which the instruments lie. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
DeleteInstrumentsResponse

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ DeleteInstrumentsWithHttpInfo()

ApiResponse<DeleteInstrumentsResponse> Lusid.Sdk.Api.IInstrumentsApiSync.DeleteInstrumentsWithHttpInfo ( List< string >  requestBody,
string?  deleteMode = default(string?),
string?  scope = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] DeleteInstruments: Soft or hard delete multiple instruments

Deletes a number of instruments identified by LusidInstrumentId. Soft deletion marks the instrument as inactive so it can no longer be referenced when creating or updating transactions or holdings. You can still query existing transactions and holdings related to the inactive instrument. In addition to the above behaviour, hard deletion: (i) completely removes all external identifiers from the instrument; (ii) marks the instrument as &#39;Deleted&#39;; (iii) prepends the instrument&#39;s name with &#39;DELETED &#39;; (iv) prevents the instrument from being returned in list instruments queries. Following hard deletion, an instrument may only be retrieved by making a direct get instrument request for the LusidInstrumentId. Instrument deletion cannot be undone. Please note that currency instruments cannot currently be deleted. The maximum number of instruments that this method can delete per request is 2,000.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
requestBodyThe list of lusidInstrumentId&#39;s to delete.
deleteModeThe delete mode to use (defaults to &#39;Soft&#39;). (optional)
scopeThe scope in which the instruments lie. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
ApiResponse of DeleteInstrumentsResponse

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ DeleteInstrumentWithHttpInfo()

ApiResponse<DeleteInstrumentResponse> Lusid.Sdk.Api.IInstrumentsApiSync.DeleteInstrumentWithHttpInfo ( string  identifierType,
string  identifier,
string?  scope = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] DeleteInstrument: Soft delete a single instrument

Soft delete a particular instrument, as identified by a particular instrument identifier. Once deleted, an instrument is marked as inactive and can no longer be referenced when creating or updating transactions or holdings. You can still query existing transactions and holdings related to the deleted instrument.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to search, for example &#39;Figi&#39;.
identifierAn <i>identifierType</i> value to use to identify the instrument, for example &#39;BBG000BLNNV0&#39;.
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
ApiResponse of DeleteInstrumentResponse

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetAllPossibleFeatures()

Dictionary<string, List<string> > Lusid.Sdk.Api.IInstrumentsApiSync.GetAllPossibleFeatures ( string  instrumentType,
int  operationIndex = 0 
)

[EXPERIMENTAL] GetAllPossibleFeatures: Provides list of all possible features for instrument type.

Provides all possible instrument features an instrument of a given type can provide.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
instrumentTypeA lusid instrument type e.g. Bond, FxOption.
operationIndexIndex associated with the operation.
Returns
Dictionary<string, List<string>>

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetAllPossibleFeaturesWithHttpInfo()

ApiResponse<Dictionary<string, List<string> > > Lusid.Sdk.Api.IInstrumentsApiSync.GetAllPossibleFeaturesWithHttpInfo ( string  instrumentType,
int  operationIndex = 0 
)

[EXPERIMENTAL] GetAllPossibleFeatures: Provides list of all possible features for instrument type.

Provides all possible instrument features an instrument of a given type can provide.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
instrumentTypeA lusid instrument type e.g. Bond, FxOption.
operationIndexIndex associated with the operation.
Returns
ApiResponse of Dictionary<string, List<string>>

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetExistingInstrumentCapabilities()

InstrumentCapabilities Lusid.Sdk.Api.IInstrumentsApiSync.GetExistingInstrumentCapabilities ( string  identifier,
string?  model = default(string?),
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  instrumentScope = default(string?),
string?  recipeScope = default(string?),
string?  recipeCode = default(string?),
int  operationIndex = 0 
)

[EXPERIMENTAL] GetExistingInstrumentCapabilities: Retrieve capabilities of an existing instrument identified by LUID. These include instrument features, and if model is provided it also includes supported address keys and economic dependencies. Given an lusid instrument id provides instrument capabilities, outlining features, and, given the model, the capabilities also include supported addresses as well as economic dependencies.

Returns instrument capabilities containing useful information about the instrument and the model. This includes - features corresponding to the instrument e.g. Optionality:American, Other:InflationLinked - supported addresses (if model provided) e.g. Valuation/Pv, Valuation/DirtyPriceKey, Valuation/Accrued - economic dependencies (if model provided) e.g. Cash:USD, Fx:GBP.USD, Rates:GBP.GBPOIS

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierA lusid instrument id identifying the instrument.
modelA pricing model for the instrument. Defaults to Unknown if not specified. If not specified the SupportedAddresses and EconomicDependencies are not provided. (optional)
effectiveAtThe effective datetime or cut label at which to retrieve the instrument. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the instrument. Defaults to returning the latest version if not specified. (optional)
instrumentScopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
recipeScopeThe scope in which the recipe lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
recipeCodeA unique identifier for an entity, used to obtain configuration recipe details. Default configuration recipe is used if not provided. (optional)
operationIndexIndex associated with the operation.
Returns
InstrumentCapabilities

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetExistingInstrumentCapabilitiesWithHttpInfo()

ApiResponse<InstrumentCapabilities> Lusid.Sdk.Api.IInstrumentsApiSync.GetExistingInstrumentCapabilitiesWithHttpInfo ( string  identifier,
string?  model = default(string?),
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  instrumentScope = default(string?),
string?  recipeScope = default(string?),
string?  recipeCode = default(string?),
int  operationIndex = 0 
)

[EXPERIMENTAL] GetExistingInstrumentCapabilities: Retrieve capabilities of an existing instrument identified by LUID. These include instrument features, and if model is provided it also includes supported address keys and economic dependencies. Given an lusid instrument id provides instrument capabilities, outlining features, and, given the model, the capabilities also include supported addresses as well as economic dependencies.

Returns instrument capabilities containing useful information about the instrument and the model. This includes - features corresponding to the instrument e.g. Optionality:American, Other:InflationLinked - supported addresses (if model provided) e.g. Valuation/Pv, Valuation/DirtyPriceKey, Valuation/Accrued - economic dependencies (if model provided) e.g. Cash:USD, Fx:GBP.USD, Rates:GBP.GBPOIS

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierA lusid instrument id identifying the instrument.
modelA pricing model for the instrument. Defaults to Unknown if not specified. If not specified the SupportedAddresses and EconomicDependencies are not provided. (optional)
effectiveAtThe effective datetime or cut label at which to retrieve the instrument. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the instrument. Defaults to returning the latest version if not specified. (optional)
instrumentScopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
recipeScopeThe scope in which the recipe lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
recipeCodeA unique identifier for an entity, used to obtain configuration recipe details. Default configuration recipe is used if not provided. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of InstrumentCapabilities

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetExistingInstrumentModels()

InstrumentModels Lusid.Sdk.Api.IInstrumentsApiSync.GetExistingInstrumentModels ( string  identifier,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  instrumentScope = default(string?),
string?  recipeScope = default(string?),
string?  recipeCode = default(string?),
int  operationIndex = 0 
)

GetExistingInstrumentModels: Retrieve supported pricing models for an existing instrument identified by LUID.

Get the supported pricing models of a single instrument.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierA lusid instrument id identifying the instrument.
effectiveAtThe effective datetime or cut label at which to retrieve the instrument. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the instrument. Defaults to returning the latest version if not specified. (optional)
instrumentScopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
recipeScopeThe scope in which the recipe lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
recipeCodeA unique identifier for an entity, used to obtain configuration recipe details. Default configuration recipe is used if not provided. (optional)
operationIndexIndex associated with the operation.
Returns
InstrumentModels

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetExistingInstrumentModelsWithHttpInfo()

ApiResponse<InstrumentModels> Lusid.Sdk.Api.IInstrumentsApiSync.GetExistingInstrumentModelsWithHttpInfo ( string  identifier,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  instrumentScope = default(string?),
string?  recipeScope = default(string?),
string?  recipeCode = default(string?),
int  operationIndex = 0 
)

GetExistingInstrumentModels: Retrieve supported pricing models for an existing instrument identified by LUID.

Get the supported pricing models of a single instrument.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierA lusid instrument id identifying the instrument.
effectiveAtThe effective datetime or cut label at which to retrieve the instrument. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the instrument. Defaults to returning the latest version if not specified. (optional)
instrumentScopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
recipeScopeThe scope in which the recipe lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
recipeCodeA unique identifier for an entity, used to obtain configuration recipe details. Default configuration recipe is used if not provided. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of InstrumentModels

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetInstrument()

Instrument Lusid.Sdk.Api.IInstrumentsApiSync.GetInstrument ( string  identifierType,
string  identifier,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List< string >?),
string?  scope = default(string?),
List< string >?  relationshipDefinitionIds = default(List< string >?),
int  operationIndex = 0 
)

GetInstrument: Get instrument

Retrieve the definition of a particular instrument, as identified by a particular unique identifier.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to use, for example &#39;Figi&#39;.
identifierAn <i>identifierType</i> value to use to identify the instrument, for example &#39;BBG000BLNNV0&#39;.
effectiveAtThe effective datetime or cut label at which to retrieve the instrument. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the instrument. Defaults to returning the latest version if not specified. (optional)
propertyKeysA list of property keys from the &#39;Instrument&#39; domain to decorate onto the instrument, or from any domain that supports relationships to decorate onto related entities. These must have the format {domain}/{scope}/{code}, for example &#39;Instrument/system/Name&#39;. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
relationshipDefinitionIdsA list of relationship definitions that are used to decorate related entities onto the instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}. (optional)
operationIndexIndex associated with the operation.
Returns
Instrument

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetInstrumentIdentifierTypes()

ResourceListOfInstrumentIdTypeDescriptor Lusid.Sdk.Api.IInstrumentsApiSync.GetInstrumentIdentifierTypes ( int  operationIndex = 0)

GetInstrumentIdentifierTypes: Get instrument identifier types

Retrieve a list of all valid instrument identifier types and whether they are unique or not. An instrument must have a value for at least one unique identifier type (it can have more than one unique type and value). In addition, a value is automatically generated for a LUSID Instrument ID (LUID) unique type by the system. An instrument can have values for multiple non-unique identifier types (or it can have zero non-unique types and values).

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
operationIndexIndex associated with the operation.
Returns
ResourceListOfInstrumentIdTypeDescriptor

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetInstrumentIdentifierTypesWithHttpInfo()

ApiResponse<ResourceListOfInstrumentIdTypeDescriptor> Lusid.Sdk.Api.IInstrumentsApiSync.GetInstrumentIdentifierTypesWithHttpInfo ( int  operationIndex = 0)

GetInstrumentIdentifierTypes: Get instrument identifier types

Retrieve a list of all valid instrument identifier types and whether they are unique or not. An instrument must have a value for at least one unique identifier type (it can have more than one unique type and value). In addition, a value is automatically generated for a LUSID Instrument ID (LUID) unique type by the system. An instrument can have values for multiple non-unique identifier types (or it can have zero non-unique types and values).

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
operationIndexIndex associated with the operation.
Returns
ApiResponse of ResourceListOfInstrumentIdTypeDescriptor

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetInstrumentPaymentDiary()

InstrumentPaymentDiary Lusid.Sdk.Api.IInstrumentsApiSync.GetInstrumentPaymentDiary ( string  identifierType,
string  identifier,
string  recipeScope,
string  recipeCode,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  scope = default(string?),
int  operationIndex = 0 
)

[EXPERIMENTAL] GetInstrumentPaymentDiary: Get instrument payment diary

Get the payment diary of a single instrument.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe identifier being supplied e.g. &quot;Figi&quot;.
identifierThe value of the identifier for the requested instrument.
recipeScopeThe scope of the valuation recipe being used to generate the payment diary
recipeCodeThe code of the valuation recipe being used to generate the payment diary
effectiveAtThe effective datetime or cut label at which to list the instrument&#39;s properties. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the instrument&#39;s properties. Defaults to return the latest version of each property if not specified. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
InstrumentPaymentDiary

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetInstrumentPaymentDiaryWithHttpInfo()

ApiResponse<InstrumentPaymentDiary> Lusid.Sdk.Api.IInstrumentsApiSync.GetInstrumentPaymentDiaryWithHttpInfo ( string  identifierType,
string  identifier,
string  recipeScope,
string  recipeCode,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  scope = default(string?),
int  operationIndex = 0 
)

[EXPERIMENTAL] GetInstrumentPaymentDiary: Get instrument payment diary

Get the payment diary of a single instrument.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe identifier being supplied e.g. &quot;Figi&quot;.
identifierThe value of the identifier for the requested instrument.
recipeScopeThe scope of the valuation recipe being used to generate the payment diary
recipeCodeThe code of the valuation recipe being used to generate the payment diary
effectiveAtThe effective datetime or cut label at which to list the instrument&#39;s properties. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the instrument&#39;s properties. Defaults to return the latest version of each property if not specified. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
ApiResponse of InstrumentPaymentDiary

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetInstrumentProperties()

InstrumentProperties Lusid.Sdk.Api.IInstrumentsApiSync.GetInstrumentProperties ( string  identifierType,
string  identifier,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  scope = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] GetInstrumentProperties: Get instrument properties

List all the properties of a particular instrument, as identified by a particular unique identifier.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to search, for example &#39;Figi&#39;.
identifierAn <i>identifierType</i> value to use to identify the instrument, for example &#39;BBG000BLNNV0&#39;.
effectiveAtThe effective datetime or cut label at which to list the instrument&#39;s properties. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the instrument&#39;s properties. Defaults to returning the latest version of each property if not specified. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
InstrumentProperties

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetInstrumentPropertiesWithHttpInfo()

ApiResponse<InstrumentProperties> Lusid.Sdk.Api.IInstrumentsApiSync.GetInstrumentPropertiesWithHttpInfo ( string  identifierType,
string  identifier,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  scope = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] GetInstrumentProperties: Get instrument properties

List all the properties of a particular instrument, as identified by a particular unique identifier.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to search, for example &#39;Figi&#39;.
identifierAn <i>identifierType</i> value to use to identify the instrument, for example &#39;BBG000BLNNV0&#39;.
effectiveAtThe effective datetime or cut label at which to list the instrument&#39;s properties. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the instrument&#39;s properties. Defaults to returning the latest version of each property if not specified. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
ApiResponse of InstrumentProperties

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetInstrumentPropertyTimeSeries()

ResourceListOfPropertyInterval Lusid.Sdk.Api.IInstrumentsApiSync.GetInstrumentPropertyTimeSeries ( string  identifierType,
string  identifier,
string  propertyKey,
string?  identifierEffectiveAt = default(string?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  filter = default(string?),
string?  page = default(string?),
int?  limit = default(int?),
string?  scope = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] GetInstrumentPropertyTimeSeries: Get instrument property time series

Retrieve the complete time series (history) for a particular property of an instrument.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to search, for example &#39;Figi&#39;.
identifierAn <i>identifierType</i> value to use to identify the instrument, for example &#39;BBG000BLNNV0&#39;.
propertyKeyThe property key of a property from the &#39;Instrument&#39; domain whose history to retrieve. This must have the format {domain}/{scope}/{code}, for example &#39;Instrument/system/Name&#39;.
identifierEffectiveAtThe effective datetime used to resolve the instrument from the identifier. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the instrument&#39;s property history. Defaults to returning the current datetime if not supplied. (optional)
filterExpression to filter the results. For more information about filtering, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
pageThe pagination token to use to continue listing properties; this value is returned from the previous call. If a pagination token is provided, the <i>filter</i>, <i>effectiveAt</i> and <i>asAt</i> fields must not have changed since the original request. For more information, see https://support.lusid.com/knowledgebase/article/KA-01915. (optional)
limitWhen paginating, limit the results to this number. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
ResourceListOfPropertyInterval

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetInstrumentPropertyTimeSeriesWithHttpInfo()

ApiResponse<ResourceListOfPropertyInterval> Lusid.Sdk.Api.IInstrumentsApiSync.GetInstrumentPropertyTimeSeriesWithHttpInfo ( string  identifierType,
string  identifier,
string  propertyKey,
string?  identifierEffectiveAt = default(string?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  filter = default(string?),
string?  page = default(string?),
int?  limit = default(int?),
string?  scope = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] GetInstrumentPropertyTimeSeries: Get instrument property time series

Retrieve the complete time series (history) for a particular property of an instrument.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to search, for example &#39;Figi&#39;.
identifierAn <i>identifierType</i> value to use to identify the instrument, for example &#39;BBG000BLNNV0&#39;.
propertyKeyThe property key of a property from the &#39;Instrument&#39; domain whose history to retrieve. This must have the format {domain}/{scope}/{code}, for example &#39;Instrument/system/Name&#39;.
identifierEffectiveAtThe effective datetime used to resolve the instrument from the identifier. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the instrument&#39;s property history. Defaults to returning the current datetime if not supplied. (optional)
filterExpression to filter the results. For more information about filtering, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
pageThe pagination token to use to continue listing properties; this value is returned from the previous call. If a pagination token is provided, the <i>filter</i>, <i>effectiveAt</i> and <i>asAt</i> fields must not have changed since the original request. For more information, see https://support.lusid.com/knowledgebase/article/KA-01915. (optional)
limitWhen paginating, limit the results to this number. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
ApiResponse of ResourceListOfPropertyInterval

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetInstrumentRelationships()

ResourceListOfRelationship Lusid.Sdk.Api.IInstrumentsApiSync.GetInstrumentRelationships ( string  identifierType,
string  identifier,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  filter = default(string?),
List< string >?  identifierTypes = default(List< string >?),
string?  scope = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] GetInstrumentRelationships: Get Instrument relationships

Get relationships for a particular Instrument.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeAn identifier type attached to the Instrument.
identifierThe identifier value.
effectiveAtThe effective datetime or cut label at which to get relationships. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve relationships. Defaults to return the latest LUSID AsAt time if not specified. (optional)
filterExpression to filter relationships. Users should provide null or empty string for this field until further notice. (optional)
identifierTypesIdentifier types (as property keys) used for referencing Persons or Legal Entities. These can be specified from the &#39;Person&#39; or &#39;LegalEntity&#39; domains and have the format {domain}/{scope}/{code}, for example &#39;Person/CompanyDetails/Role&#39;. An Empty array may be used to return all related Entities. (optional)
scopeThe entity scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
ResourceListOfRelationship

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetInstrumentRelationshipsWithHttpInfo()

ApiResponse<ResourceListOfRelationship> Lusid.Sdk.Api.IInstrumentsApiSync.GetInstrumentRelationshipsWithHttpInfo ( string  identifierType,
string  identifier,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  filter = default(string?),
List< string >?  identifierTypes = default(List< string >?),
string?  scope = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] GetInstrumentRelationships: Get Instrument relationships

Get relationships for a particular Instrument.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeAn identifier type attached to the Instrument.
identifierThe identifier value.
effectiveAtThe effective datetime or cut label at which to get relationships. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve relationships. Defaults to return the latest LUSID AsAt time if not specified. (optional)
filterExpression to filter relationships. Users should provide null or empty string for this field until further notice. (optional)
identifierTypesIdentifier types (as property keys) used for referencing Persons or Legal Entities. These can be specified from the &#39;Person&#39; or &#39;LegalEntity&#39; domains and have the format {domain}/{scope}/{code}, for example &#39;Person/CompanyDetails/Role&#39;. An Empty array may be used to return all related Entities. (optional)
scopeThe entity scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
ApiResponse of ResourceListOfRelationship

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetInstruments()

GetInstrumentsResponse Lusid.Sdk.Api.IInstrumentsApiSync.GetInstruments ( string  identifierType,
List< string >  requestBody,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List< string >?),
string?  scope = default(string?),
List< string >?  relationshipDefinitionIds = default(List< string >?),
int  operationIndex = 0 
)

GetInstruments: Get instruments

Retrieve the definition of one or more instruments, as identified by a collection of unique identifiers. Note that to retrieve all the instruments in the instrument master, use the List instruments endpoint instead.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to use, for example &#39;Figi&#39;.
requestBodyA list of one or more <i>identifierType</i> values to use to identify instruments.
effectiveAtThe effective datetime or cut label at which to retrieve the instrument definitions. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the instrument definitions. Defaults to returning the latest version of each instrument definition if not specified. (optional)
propertyKeysA list of property keys from the &#39;Instrument&#39; domain to decorate onto each instrument, or from any domain that supports relationships to decorate onto related entities. These must have the format {domain}/{scope}/{code}, for example &#39;Instrument/system/Name&#39;. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
relationshipDefinitionIdsA list of relationship definitions that are used to decorate related entities onto each instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}. (optional)
operationIndexIndex associated with the operation.
Returns
GetInstrumentsResponse

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetInstrumentsWithHttpInfo()

ApiResponse<GetInstrumentsResponse> Lusid.Sdk.Api.IInstrumentsApiSync.GetInstrumentsWithHttpInfo ( string  identifierType,
List< string >  requestBody,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List< string >?),
string?  scope = default(string?),
List< string >?  relationshipDefinitionIds = default(List< string >?),
int  operationIndex = 0 
)

GetInstruments: Get instruments

Retrieve the definition of one or more instruments, as identified by a collection of unique identifiers. Note that to retrieve all the instruments in the instrument master, use the List instruments endpoint instead.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to use, for example &#39;Figi&#39;.
requestBodyA list of one or more <i>identifierType</i> values to use to identify instruments.
effectiveAtThe effective datetime or cut label at which to retrieve the instrument definitions. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the instrument definitions. Defaults to returning the latest version of each instrument definition if not specified. (optional)
propertyKeysA list of property keys from the &#39;Instrument&#39; domain to decorate onto each instrument, or from any domain that supports relationships to decorate onto related entities. These must have the format {domain}/{scope}/{code}, for example &#39;Instrument/system/Name&#39;. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
relationshipDefinitionIdsA list of relationship definitions that are used to decorate related entities onto each instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of GetInstrumentsResponse

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ GetInstrumentWithHttpInfo()

ApiResponse<Instrument> Lusid.Sdk.Api.IInstrumentsApiSync.GetInstrumentWithHttpInfo ( string  identifierType,
string  identifier,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List< string >?),
string?  scope = default(string?),
List< string >?  relationshipDefinitionIds = default(List< string >?),
int  operationIndex = 0 
)

GetInstrument: Get instrument

Retrieve the definition of a particular instrument, as identified by a particular unique identifier.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to use, for example &#39;Figi&#39;.
identifierAn <i>identifierType</i> value to use to identify the instrument, for example &#39;BBG000BLNNV0&#39;.
effectiveAtThe effective datetime or cut label at which to retrieve the instrument. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the instrument. Defaults to returning the latest version if not specified. (optional)
propertyKeysA list of property keys from the &#39;Instrument&#39; domain to decorate onto the instrument, or from any domain that supports relationships to decorate onto related entities. These must have the format {domain}/{scope}/{code}, for example &#39;Instrument/system/Name&#39;. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
relationshipDefinitionIdsA list of relationship definitions that are used to decorate related entities onto the instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of Instrument

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ ListInstrumentProperties()

ResourceListOfProperty Lusid.Sdk.Api.IInstrumentsApiSync.ListInstrumentProperties ( string  identifierType,
string  identifier,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  page = default(string?),
int?  limit = default(int?),
string?  scope = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] ListInstrumentProperties: Get instrument properties (with Pagination)

List all the properties of a particular instrument, as identified by a particular unique identifier.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to search, for example &#39;Figi&#39;.
identifierAn <i>identifierType</i> value to use to identify the instrument, for example &#39;BBG000BLNNV0&#39;.
effectiveAtThe effective datetime or cut label at which to list the instrument&#39;s properties. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the instrument&#39;s properties. Defaults to returning the latest version of each property if not specified. (optional)
pageThe pagination token to use to continue listing commands; this value is returned from the previous call. (optional)
limitWhen paginating, limit the results per page to this number. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
ResourceListOfProperty

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ ListInstrumentPropertiesWithHttpInfo()

ApiResponse<ResourceListOfProperty> Lusid.Sdk.Api.IInstrumentsApiSync.ListInstrumentPropertiesWithHttpInfo ( string  identifierType,
string  identifier,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  page = default(string?),
int?  limit = default(int?),
string?  scope = default(string?),
int  operationIndex = 0 
)

[EARLY ACCESS] ListInstrumentProperties: Get instrument properties (with Pagination)

List all the properties of a particular instrument, as identified by a particular unique identifier.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to search, for example &#39;Figi&#39;.
identifierAn <i>identifierType</i> value to use to identify the instrument, for example &#39;BBG000BLNNV0&#39;.
effectiveAtThe effective datetime or cut label at which to list the instrument&#39;s properties. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the instrument&#39;s properties. Defaults to returning the latest version of each property if not specified. (optional)
pageThe pagination token to use to continue listing commands; this value is returned from the previous call. (optional)
limitWhen paginating, limit the results per page to this number. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
ApiResponse of ResourceListOfProperty

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ ListInstruments()

PagedResourceListOfInstrument Lusid.Sdk.Api.IInstrumentsApiSync.ListInstruments ( DateTimeOffset?  asAt = default(DateTimeOffset?),
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
string?  page = default(string?),
List< string >?  sortBy = default(List< string >?),
int?  limit = default(int?),
string?  filter = default(string?),
List< string >?  instrumentPropertyKeys = default(List< string >?),
string?  scope = default(string?),
List< string >?  relationshipDefinitionIds = default(List< string >?),
int  operationIndex = 0 
)

ListInstruments: List instruments

List all the instruments in the instrument master. To retrieve a particular set of instruments instead, use the Get instruments endpoint. The maximum number of instruments that this method can list per request is 2,000.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to list instruments. Defaults to returning the latest version of each instrument if not specified. (optional)
effectiveAtThe effective datetime or cut label at which to list instruments. Defaults to the current LUSID system datetime if not specified. (optional)
pageThe pagination token to use to continue listing instruments; this value is returned from the previous call. If a pagination token is provided, the <i>sortBy</i>, <i>filter</i>, <i>effectiveAt</i> and <i>asAt</i> fields must not have changed since the original request. For more information, see https://support.lusid.com/knowledgebase/article/KA-01915. (optional)
sortByA list of field names or properties to sort by, each suffixed by &quot; ASC&quot; or &quot; DESC&quot;. (optional)
limitWhen paginating, limit the results to this number. (optional)
filterExpression to filter the result set. Defaults to filtering out inactive instruments (that is, those that have been deleted). For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional, default to "State eq &#39;Active&#39;")
instrumentPropertyKeysA list of property keys from the &#39;Instrument&#39; domain to decorate onto instruments, or from any domain that supports relationships to decorate onto related entities. These must have the format {domain}/{scope}/{code}, for example &#39;Instrument/system/Name&#39;. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
relationshipDefinitionIdsA list of relationship definitions that are used to decorate related entities onto each instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}. (optional)
operationIndexIndex associated with the operation.
Returns
PagedResourceListOfInstrument

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ ListInstrumentsWithHttpInfo()

ApiResponse<PagedResourceListOfInstrument> Lusid.Sdk.Api.IInstrumentsApiSync.ListInstrumentsWithHttpInfo ( DateTimeOffset?  asAt = default(DateTimeOffset?),
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
string?  page = default(string?),
List< string >?  sortBy = default(List< string >?),
int?  limit = default(int?),
string?  filter = default(string?),
List< string >?  instrumentPropertyKeys = default(List< string >?),
string?  scope = default(string?),
List< string >?  relationshipDefinitionIds = default(List< string >?),
int  operationIndex = 0 
)

ListInstruments: List instruments

List all the instruments in the instrument master. To retrieve a particular set of instruments instead, use the Get instruments endpoint. The maximum number of instruments that this method can list per request is 2,000.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to list instruments. Defaults to returning the latest version of each instrument if not specified. (optional)
effectiveAtThe effective datetime or cut label at which to list instruments. Defaults to the current LUSID system datetime if not specified. (optional)
pageThe pagination token to use to continue listing instruments; this value is returned from the previous call. If a pagination token is provided, the <i>sortBy</i>, <i>filter</i>, <i>effectiveAt</i> and <i>asAt</i> fields must not have changed since the original request. For more information, see https://support.lusid.com/knowledgebase/article/KA-01915. (optional)
sortByA list of field names or properties to sort by, each suffixed by &quot; ASC&quot; or &quot; DESC&quot;. (optional)
limitWhen paginating, limit the results to this number. (optional)
filterExpression to filter the result set. Defaults to filtering out inactive instruments (that is, those that have been deleted). For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional, default to "State eq &#39;Active&#39;")
instrumentPropertyKeysA list of property keys from the &#39;Instrument&#39; domain to decorate onto instruments, or from any domain that supports relationships to decorate onto related entities. These must have the format {domain}/{scope}/{code}, for example &#39;Instrument/system/Name&#39;. (optional)
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
relationshipDefinitionIdsA list of relationship definitions that are used to decorate related entities onto each instrument in the response. These must take the form {relationshipDefinitionScope}/{relationshipDefinitionCode}. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of PagedResourceListOfInstrument

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ QueryInstrumentCapabilities()

InstrumentCapabilities Lusid.Sdk.Api.IInstrumentsApiSync.QueryInstrumentCapabilities ( LusidInstrument  lusidInstrument,
string?  model = default(string?),
int  operationIndex = 0 
)

[EXPERIMENTAL] QueryInstrumentCapabilities: Query capabilities of a particular instrument in advance of creating it. These include instrument features, and if model is provided it also includes supported address keys and economic dependencies.

Returns instrument capabilities containing useful information about the instrument and the model. This includes - features corresponding to the instrument e.g. Optionality:American, Other:InflationLinked - supported addresses (if model provided) e.g. Valuation/Pv, Valuation/DirtyPriceKey, Valuation/Accrued - economic dependencies (if model provided) e.g. Cash:USD, Fx:GBP.USD, Rates:GBP.GBPOIS

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
lusidInstrumentThe definition of the instrument.
modelA pricing model for the instrument. Defaults to Unknown if not specified. If not specified the SupportedAddresses and EconomicDependencies are not provided. (optional)
operationIndexIndex associated with the operation.
Returns
InstrumentCapabilities

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ QueryInstrumentCapabilitiesWithHttpInfo()

ApiResponse<InstrumentCapabilities> Lusid.Sdk.Api.IInstrumentsApiSync.QueryInstrumentCapabilitiesWithHttpInfo ( LusidInstrument  lusidInstrument,
string?  model = default(string?),
int  operationIndex = 0 
)

[EXPERIMENTAL] QueryInstrumentCapabilities: Query capabilities of a particular instrument in advance of creating it. These include instrument features, and if model is provided it also includes supported address keys and economic dependencies.

Returns instrument capabilities containing useful information about the instrument and the model. This includes - features corresponding to the instrument e.g. Optionality:American, Other:InflationLinked - supported addresses (if model provided) e.g. Valuation/Pv, Valuation/DirtyPriceKey, Valuation/Accrued - economic dependencies (if model provided) e.g. Cash:USD, Fx:GBP.USD, Rates:GBP.GBPOIS

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
lusidInstrumentThe definition of the instrument.
modelA pricing model for the instrument. Defaults to Unknown if not specified. If not specified the SupportedAddresses and EconomicDependencies are not provided. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of InstrumentCapabilities

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ UpdateInstrumentIdentifier()

Instrument Lusid.Sdk.Api.IInstrumentsApiSync.UpdateInstrumentIdentifier ( string  identifierType,
string  identifier,
UpdateInstrumentIdentifierRequest  updateInstrumentIdentifierRequest,
string?  scope = default(string?),
int  operationIndex = 0 
)

UpdateInstrumentIdentifier: Update instrument identifier

Create, update or delete a particular instrument identifier for an instrument. To delete the identifier, leave the value unspecified in the request. If not being deleted, the identifier is updated if it exists and created if it does not.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to search, for example &#39;Figi&#39;.
identifierAn <i>identifierType</i> value to use to identify the instrument, for example &#39;BBG000BLNNV0&#39;.
updateInstrumentIdentifierRequestThe identifier to update or delete. This need not be the same value as the &#39;identifier&#39; parameter used to retrieve the instrument.
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
Instrument

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ UpdateInstrumentIdentifierWithHttpInfo()

ApiResponse<Instrument> Lusid.Sdk.Api.IInstrumentsApiSync.UpdateInstrumentIdentifierWithHttpInfo ( string  identifierType,
string  identifier,
UpdateInstrumentIdentifierRequest  updateInstrumentIdentifierRequest,
string?  scope = default(string?),
int  operationIndex = 0 
)

UpdateInstrumentIdentifier: Update instrument identifier

Create, update or delete a particular instrument identifier for an instrument. To delete the identifier, leave the value unspecified in the request. If not being deleted, the identifier is updated if it exists and created if it does not.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
identifierTypeThe unique identifier type to search, for example &#39;Figi&#39;.
identifierAn <i>identifierType</i> value to use to identify the instrument, for example &#39;BBG000BLNNV0&#39;.
updateInstrumentIdentifierRequestThe identifier to update or delete. This need not be the same value as the &#39;identifier&#39; parameter used to retrieve the instrument.
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
ApiResponse of Instrument

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ UpsertInstruments()

UpsertInstrumentsResponse Lusid.Sdk.Api.IInstrumentsApiSync.UpsertInstruments ( Dictionary< string, InstrumentDefinition requestBody,
string?  scope = default(string?),
int  operationIndex = 0 
)

UpsertInstruments: Upsert instruments

Create or update one or more instruments in the instrument master. An instrument is updated if it already exists and created if it does not. In the request, each instrument definition should be keyed by a unique correlation ID. This ID is ephemeral and not stored by LUSID. It serves only to easily identify each instrument in the response. Note that an instrument must have at least one unique identifier, which is a combination of a type (such as &#39;Figi&#39;) and a value (such as &#39;BBG000BS1N49&#39;). In addition, a random value is automatically generated for a LUSID Instrument ID (LUID) unique type by the system. For more information, see https://support.lusid.com/knowledgebase/article/KA-01862. The response returns both the collection of successfully created or updated instruments, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results. The maximum number of instruments that this method can upsert per request is 2,000.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
requestBodyThe definitions of the instruments to create or update.
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
UpsertInstrumentsResponse

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ UpsertInstrumentsProperties()

UpsertInstrumentPropertiesResponse Lusid.Sdk.Api.IInstrumentsApiSync.UpsertInstrumentsProperties ( List< UpsertInstrumentPropertyRequest upsertInstrumentPropertyRequest,
string?  scope = default(string?),
int  operationIndex = 0 
)

UpsertInstrumentsProperties: Upsert instruments properties

Create or update one or more properties for particular instruments. Each instrument property is updated if it exists and created if it does not. For any failures, a reason is provided. Properties have an <i>effectiveFrom</i> datetime from which the property is valid, and an <i>effectiveUntil</i> datetime until which the property is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
upsertInstrumentPropertyRequestA list of instruments and associated instrument properties to create or update.
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
UpsertInstrumentPropertiesResponse

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ UpsertInstrumentsPropertiesWithHttpInfo()

ApiResponse<UpsertInstrumentPropertiesResponse> Lusid.Sdk.Api.IInstrumentsApiSync.UpsertInstrumentsPropertiesWithHttpInfo ( List< UpsertInstrumentPropertyRequest upsertInstrumentPropertyRequest,
string?  scope = default(string?),
int  operationIndex = 0 
)

UpsertInstrumentsProperties: Upsert instruments properties

Create or update one or more properties for particular instruments. Each instrument property is updated if it exists and created if it does not. For any failures, a reason is provided. Properties have an <i>effectiveFrom</i> datetime from which the property is valid, and an <i>effectiveUntil</i> datetime until which the property is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
upsertInstrumentPropertyRequestA list of instruments and associated instrument properties to create or update.
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
ApiResponse of UpsertInstrumentPropertiesResponse

Implemented in Lusid.Sdk.Api.InstrumentsApi.

◆ UpsertInstrumentsWithHttpInfo()

ApiResponse<UpsertInstrumentsResponse> Lusid.Sdk.Api.IInstrumentsApiSync.UpsertInstrumentsWithHttpInfo ( Dictionary< string, InstrumentDefinition requestBody,
string?  scope = default(string?),
int  operationIndex = 0 
)

UpsertInstruments: Upsert instruments

Create or update one or more instruments in the instrument master. An instrument is updated if it already exists and created if it does not. In the request, each instrument definition should be keyed by a unique correlation ID. This ID is ephemeral and not stored by LUSID. It serves only to easily identify each instrument in the response. Note that an instrument must have at least one unique identifier, which is a combination of a type (such as &#39;Figi&#39;) and a value (such as &#39;BBG000BS1N49&#39;). In addition, a random value is automatically generated for a LUSID Instrument ID (LUID) unique type by the system. For more information, see https://support.lusid.com/knowledgebase/article/KA-01862. The response returns both the collection of successfully created or updated instruments, as well as those that failed. For each failure, a reason is provided. It is important to check the failed set for unsuccessful results. The maximum number of instruments that this method can upsert per request is 2,000.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
requestBodyThe definitions of the instruments to create or update.
scopeThe scope in which the instrument lies. When not supplied the scope is &#39;default&#39;. (optional, default to "default")
operationIndexIndex associated with the operation.
Returns
ApiResponse of UpsertInstrumentsResponse

Implemented in Lusid.Sdk.Api.InstrumentsApi.


The documentation for this interface was generated from the following file: