LUSID C# SDK
Public Member Functions | Properties | List of all members
Lusid.Sdk.Api.TransactionFeesApi Class Reference

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

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

Public Member Functions

 TransactionFeesApi ()
 Initializes a new instance of the TransactionFeesApi class. More...
 
 TransactionFeesApi (string basePath)
 Initializes a new instance of the TransactionFeesApi class. More...
 
 TransactionFeesApi (Lusid.Sdk.Client.Configuration configuration)
 Initializes a new instance of the TransactionFeesApi class using Configuration object More...
 
 TransactionFeesApi (Lusid.Sdk.Client.ISynchronousClient client, Lusid.Sdk.Client.IAsynchronousClient asyncClient, Lusid.Sdk.Client.IReadableConfiguration configuration)
 Initializes a new instance of the TransactionFeesApi class using a Configuration object and client instance. More...
 
string GetBasePath ()
 Gets the base path of the API client. More...
 
DeletedEntityResponse DeleteTransactionFeeRule (string code, int operationIndex=0)
 [EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule. <br> Deletes the rule for all effective time. <br> The rule will remain viewable at previous as at times, but it will no longer be considered by GetApplicableFees. <br> This cannot be undone.
More...
 
Lusid.Sdk.Client.ApiResponse< DeletedEntityResponseDeleteTransactionFeeRuleWithHttpInfo (string code, int operationIndex=0)
 [EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule. <br> Deletes the rule for all effective time. <br> The rule will remain viewable at previous as at times, but it will no longer be considered by GetApplicableFees. <br> This cannot be undone.
More...
 
async System.Threading.Tasks.Task< DeletedEntityResponseDeleteTransactionFeeRuleAsync (string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule. <br> Deletes the rule for all effective time. <br> The rule will remain viewable at previous as at times, but it will no longer be considered by GetApplicableFees. <br> This cannot be undone.
More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< DeletedEntityResponse > > DeleteTransactionFeeRuleWithHttpInfoAsync (string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule. <br> Deletes the rule for all effective time. <br> The rule will remain viewable at previous as at times, but it will no longer be considered by GetApplicableFees. <br> This cannot be undone.
More...
 
ResourceListOfFeeRule GetApplicableTransactionFees (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? instrumentIdentifierType=default(string?), string? instrumentIdentifier=default(string?), string? portfolioScope=default(string?), string? portfolioCode=default(string?), Dictionary< string, string >? requestBody=default(Dictionary< string, string >?), int operationIndex=0)
 [EXPERIMENTAL] GetApplicableTransactionFees: Get the Fees and Commissions that may be applicable to a transaction. Additionally, matching can be based on the instrument&#39;s properties, its portfolio properties, and any additional property keys present in the data file. More...
 
Lusid.Sdk.Client.ApiResponse< ResourceListOfFeeRuleGetApplicableTransactionFeesWithHttpInfo (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? instrumentIdentifierType=default(string?), string? instrumentIdentifier=default(string?), string? portfolioScope=default(string?), string? portfolioCode=default(string?), Dictionary< string, string >? requestBody=default(Dictionary< string, string >?), int operationIndex=0)
 [EXPERIMENTAL] GetApplicableTransactionFees: Get the Fees and Commissions that may be applicable to a transaction. Additionally, matching can be based on the instrument&#39;s properties, its portfolio properties, and any additional property keys present in the data file. More...
 
async System.Threading.Tasks.Task< ResourceListOfFeeRuleGetApplicableTransactionFeesAsync (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? instrumentIdentifierType=default(string?), string? instrumentIdentifier=default(string?), string? portfolioScope=default(string?), string? portfolioCode=default(string?), Dictionary< string, string >? requestBody=default(Dictionary< string, string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] GetApplicableTransactionFees: Get the Fees and Commissions that may be applicable to a transaction. Additionally, matching can be based on the instrument&#39;s properties, its portfolio properties, and any additional property keys present in the data file. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfFeeRule > > GetApplicableTransactionFeesWithHttpInfoAsync (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? instrumentIdentifierType=default(string?), string? instrumentIdentifier=default(string?), string? portfolioScope=default(string?), string? portfolioCode=default(string?), Dictionary< string, string >? requestBody=default(Dictionary< string, string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] GetApplicableTransactionFees: Get the Fees and Commissions that may be applicable to a transaction. Additionally, matching can be based on the instrument&#39;s properties, its portfolio properties, and any additional property keys present in the data file. More...
 
FeeRule GetTransactionFeeRule (string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0)
 [EXPERIMENTAL] GetTransactionFeeRule: Retrieve the definition of single fee rule. Retrieves the fee rule definition at the given effective and as at times. More...
 
Lusid.Sdk.Client.ApiResponse< FeeRuleGetTransactionFeeRuleWithHttpInfo (string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0)
 [EXPERIMENTAL] GetTransactionFeeRule: Retrieve the definition of single fee rule. Retrieves the fee rule definition at the given effective and as at times. More...
 
async System.Threading.Tasks.Task< FeeRuleGetTransactionFeeRuleAsync (string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] GetTransactionFeeRule: Retrieve the definition of single fee rule. Retrieves the fee rule definition at the given effective and as at times. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< FeeRule > > GetTransactionFeeRuleWithHttpInfoAsync (string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] GetTransactionFeeRule: Retrieve the definition of single fee rule. Retrieves the fee rule definition at the given effective and as at times. More...
 
ResourceListOfFeeRule ListTransactionFeeRules (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int? limit=default(int?), string? filter=default(string?), string? page=default(string?), int operationIndex=0)
 [EXPERIMENTAL] ListTransactionFeeRules: List fee rules, with optional filtering. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. More...
 
Lusid.Sdk.Client.ApiResponse< ResourceListOfFeeRuleListTransactionFeeRulesWithHttpInfo (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int? limit=default(int?), string? filter=default(string?), string? page=default(string?), int operationIndex=0)
 [EXPERIMENTAL] ListTransactionFeeRules: List fee rules, with optional filtering. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. More...
 
async System.Threading.Tasks.Task< ResourceListOfFeeRuleListTransactionFeeRulesAsync (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int? limit=default(int?), string? filter=default(string?), string? page=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] ListTransactionFeeRules: List fee rules, with optional filtering. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfFeeRule > > ListTransactionFeeRulesWithHttpInfoAsync (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int? limit=default(int?), string? filter=default(string?), string? page=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] ListTransactionFeeRules: List fee rules, with optional filtering. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. More...
 
FeeRuleUpsertResponse UpsertTransactionFeeRules (Dictionary< string, FeeRuleUpsertRequest > requestBody, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0)
 [EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules. <br> To upsert a new rule, the code field must be left empty, a code will then be assigned and returned as part of the response. To update an existing rule, include the fee code. It is possible to both create and update fee rules in the same request. <br> The upsert is transactional - either all create/update operations will succeed or none of them will.
More...
 
Lusid.Sdk.Client.ApiResponse< FeeRuleUpsertResponseUpsertTransactionFeeRulesWithHttpInfo (Dictionary< string, FeeRuleUpsertRequest > requestBody, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0)
 [EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules. <br> To upsert a new rule, the code field must be left empty, a code will then be assigned and returned as part of the response. To update an existing rule, include the fee code. It is possible to both create and update fee rules in the same request. <br> The upsert is transactional - either all create/update operations will succeed or none of them will.
More...
 
async System.Threading.Tasks.Task< FeeRuleUpsertResponseUpsertTransactionFeeRulesAsync (Dictionary< string, FeeRuleUpsertRequest > requestBody, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules. <br> To upsert a new rule, the code field must be left empty, a code will then be assigned and returned as part of the response. To update an existing rule, include the fee code. It is possible to both create and update fee rules in the same request. <br> The upsert is transactional - either all create/update operations will succeed or none of them will.
More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< FeeRuleUpsertResponse > > UpsertTransactionFeeRulesWithHttpInfoAsync (Dictionary< string, FeeRuleUpsertRequest > requestBody, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules. <br> To upsert a new rule, the code field must be left empty, a code will then be assigned and returned as part of the response. To update an existing rule, include the fee code. It is possible to both create and update fee rules in the same request. <br> The upsert is transactional - either all create/update operations will succeed or none of them will.
More...
 

Properties

Lusid.Sdk.Client.IAsynchronousClient AsynchronousClient [get, set]
 The client for accessing this underlying API asynchronously. More...
 
Lusid.Sdk.Client.ISynchronousClient Client [get, set]
 The client for accessing this underlying API synchronously. More...
 
Lusid.Sdk.Client.IReadableConfiguration Configuration [get, set]
 Gets or sets the configuration object More...
 
Lusid.Sdk.Client.ExceptionFactory ExceptionFactory [get, set]
 Provides a factory method hook for the creation of exceptions. More...
 
- 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

Constructor & Destructor Documentation

◆ TransactionFeesApi() [1/4]

Lusid.Sdk.Api.TransactionFeesApi.TransactionFeesApi ( )
inline

Initializes a new instance of the TransactionFeesApi class.

Returns

◆ TransactionFeesApi() [2/4]

Lusid.Sdk.Api.TransactionFeesApi.TransactionFeesApi ( string  basePath)
inline

Initializes a new instance of the TransactionFeesApi class.

Returns

◆ TransactionFeesApi() [3/4]

Lusid.Sdk.Api.TransactionFeesApi.TransactionFeesApi ( Lusid.Sdk.Client.Configuration  configuration)
inline

Initializes a new instance of the TransactionFeesApi class using Configuration object

Parameters
configurationAn instance of Configuration
Returns

◆ TransactionFeesApi() [4/4]

Lusid.Sdk.Api.TransactionFeesApi.TransactionFeesApi ( Lusid.Sdk.Client.ISynchronousClient  client,
Lusid.Sdk.Client.IAsynchronousClient  asyncClient,
Lusid.Sdk.Client.IReadableConfiguration  configuration 
)
inline

Initializes a new instance of the TransactionFeesApi class using a Configuration object and client instance.

Parameters
clientThe client interface for synchronous API access.
asyncClientThe client interface for asynchronous API access.
configurationThe configuration object.

Member Function Documentation

◆ DeleteTransactionFeeRule()

DeletedEntityResponse Lusid.Sdk.Api.TransactionFeesApi.DeleteTransactionFeeRule ( string  code,
int  operationIndex = 0 
)
inline

[EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule. <br> Deletes the rule for all effective time. <br> The rule will remain viewable at previous as at times, but it will no longer be considered by GetApplicableFees. <br> This cannot be undone.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
codeThe fee rule code.
operationIndexIndex associated with the operation.
Returns
DeletedEntityResponse

Implements Lusid.Sdk.Api.ITransactionFeesApiSync.

◆ DeleteTransactionFeeRuleAsync()

async System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.TransactionFeesApi.DeleteTransactionFeeRuleAsync ( string  code,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule. <br> Deletes the rule for all effective time. <br> The rule will remain viewable at previous as at times, but it will no longer be considered by GetApplicableFees. <br> This cannot be undone.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
codeThe fee rule code.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of DeletedEntityResponse

Implements Lusid.Sdk.Api.ITransactionFeesApiAsync.

◆ DeleteTransactionFeeRuleWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> Lusid.Sdk.Api.TransactionFeesApi.DeleteTransactionFeeRuleWithHttpInfo ( string  code,
int  operationIndex = 0 
)
inline

[EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule. <br> Deletes the rule for all effective time. <br> The rule will remain viewable at previous as at times, but it will no longer be considered by GetApplicableFees. <br> This cannot be undone.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
codeThe fee rule code.
operationIndexIndex associated with the operation.
Returns
ApiResponse of DeletedEntityResponse

Implements Lusid.Sdk.Api.ITransactionFeesApiSync.

◆ DeleteTransactionFeeRuleWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.TransactionFeesApi.DeleteTransactionFeeRuleWithHttpInfoAsync ( string  code,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule. <br> Deletes the rule for all effective time. <br> The rule will remain viewable at previous as at times, but it will no longer be considered by GetApplicableFees. <br> This cannot be undone.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
codeThe fee rule code.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (DeletedEntityResponse)

Implements Lusid.Sdk.Api.ITransactionFeesApiAsync.

◆ GetApplicableTransactionFees()

ResourceListOfFeeRule Lusid.Sdk.Api.TransactionFeesApi.GetApplicableTransactionFees ( DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  instrumentIdentifierType = default(string?),
string?  instrumentIdentifier = default(string?),
string?  portfolioScope = default(string?),
string?  portfolioCode = default(string?),
Dictionary< string, string >?  requestBody = default(Dictionary<string, string>?),
int  operationIndex = 0 
)
inline

[EXPERIMENTAL] GetApplicableTransactionFees: Get the Fees and Commissions that may be applicable to a transaction. Additionally, matching can be based on the instrument&#39;s properties, its portfolio properties, and any additional property keys present in the data file.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
effectiveAtThe effective datetime or cut label at which to match rule definitions. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to match rule definitions. Defaults to returning the latest version if not specified. (optional)
instrumentIdentifierTypeOptional. The unique identifier type to use, eg &#39;Figi&#39; or &#39;LusidInstrumentId&#39;. (optional)
instrumentIdentifierOptional. The Instrument Identifier to get properties for. (optional)
portfolioScopeOptional. The scope of the portfolio to fetch properties from. (optional)
portfolioCodeOptional. The code of the portfolio to fetch properties from. (optional)
requestBodyAny other property keys or fields, including the top-level fields of the fee rule (e.g. &quot;ExecutionBroker&quot; and &quot;SettlementCurrency&quot; ) and those defined in AdditionalKeys, along with their corresponding values that should be matched for fees. Eg. &quot;Instrument/default/Name&#x3D;exampleValue&quot; or &quot;AdditionalKey2&#x3D;Value2&quot;. (optional)
operationIndexIndex associated with the operation.
Returns
ResourceListOfFeeRule

Implements Lusid.Sdk.Api.ITransactionFeesApiSync.

◆ GetApplicableTransactionFeesAsync()

async System.Threading.Tasks.Task<ResourceListOfFeeRule> Lusid.Sdk.Api.TransactionFeesApi.GetApplicableTransactionFeesAsync ( DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  instrumentIdentifierType = default(string?),
string?  instrumentIdentifier = default(string?),
string?  portfolioScope = default(string?),
string?  portfolioCode = default(string?),
Dictionary< string, string >?  requestBody = default(Dictionary<string, string>?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EXPERIMENTAL] GetApplicableTransactionFees: Get the Fees and Commissions that may be applicable to a transaction. Additionally, matching can be based on the instrument&#39;s properties, its portfolio properties, and any additional property keys present in the data file.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
effectiveAtThe effective datetime or cut label at which to match rule definitions. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to match rule definitions. Defaults to returning the latest version if not specified. (optional)
instrumentIdentifierTypeOptional. The unique identifier type to use, eg &#39;Figi&#39; or &#39;LusidInstrumentId&#39;. (optional)
instrumentIdentifierOptional. The Instrument Identifier to get properties for. (optional)
portfolioScopeOptional. The scope of the portfolio to fetch properties from. (optional)
portfolioCodeOptional. The code of the portfolio to fetch properties from. (optional)
requestBodyAny other property keys or fields, including the top-level fields of the fee rule (e.g. &quot;ExecutionBroker&quot; and &quot;SettlementCurrency&quot; ) and those defined in AdditionalKeys, along with their corresponding values that should be matched for fees. Eg. &quot;Instrument/default/Name&#x3D;exampleValue&quot; or &quot;AdditionalKey2&#x3D;Value2&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ResourceListOfFeeRule

Implements Lusid.Sdk.Api.ITransactionFeesApiAsync.

◆ GetApplicableTransactionFeesWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<ResourceListOfFeeRule> Lusid.Sdk.Api.TransactionFeesApi.GetApplicableTransactionFeesWithHttpInfo ( DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  instrumentIdentifierType = default(string?),
string?  instrumentIdentifier = default(string?),
string?  portfolioScope = default(string?),
string?  portfolioCode = default(string?),
Dictionary< string, string >?  requestBody = default(Dictionary<string, string>?),
int  operationIndex = 0 
)
inline

[EXPERIMENTAL] GetApplicableTransactionFees: Get the Fees and Commissions that may be applicable to a transaction. Additionally, matching can be based on the instrument&#39;s properties, its portfolio properties, and any additional property keys present in the data file.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
effectiveAtThe effective datetime or cut label at which to match rule definitions. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to match rule definitions. Defaults to returning the latest version if not specified. (optional)
instrumentIdentifierTypeOptional. The unique identifier type to use, eg &#39;Figi&#39; or &#39;LusidInstrumentId&#39;. (optional)
instrumentIdentifierOptional. The Instrument Identifier to get properties for. (optional)
portfolioScopeOptional. The scope of the portfolio to fetch properties from. (optional)
portfolioCodeOptional. The code of the portfolio to fetch properties from. (optional)
requestBodyAny other property keys or fields, including the top-level fields of the fee rule (e.g. &quot;ExecutionBroker&quot; and &quot;SettlementCurrency&quot; ) and those defined in AdditionalKeys, along with their corresponding values that should be matched for fees. Eg. &quot;Instrument/default/Name&#x3D;exampleValue&quot; or &quot;AdditionalKey2&#x3D;Value2&quot;. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of ResourceListOfFeeRule

Implements Lusid.Sdk.Api.ITransactionFeesApiSync.

◆ GetApplicableTransactionFeesWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfFeeRule> > Lusid.Sdk.Api.TransactionFeesApi.GetApplicableTransactionFeesWithHttpInfoAsync ( DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  instrumentIdentifierType = default(string?),
string?  instrumentIdentifier = default(string?),
string?  portfolioScope = default(string?),
string?  portfolioCode = default(string?),
Dictionary< string, string >?  requestBody = default(Dictionary<string, string>?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EXPERIMENTAL] GetApplicableTransactionFees: Get the Fees and Commissions that may be applicable to a transaction. Additionally, matching can be based on the instrument&#39;s properties, its portfolio properties, and any additional property keys present in the data file.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
effectiveAtThe effective datetime or cut label at which to match rule definitions. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to match rule definitions. Defaults to returning the latest version if not specified. (optional)
instrumentIdentifierTypeOptional. The unique identifier type to use, eg &#39;Figi&#39; or &#39;LusidInstrumentId&#39;. (optional)
instrumentIdentifierOptional. The Instrument Identifier to get properties for. (optional)
portfolioScopeOptional. The scope of the portfolio to fetch properties from. (optional)
portfolioCodeOptional. The code of the portfolio to fetch properties from. (optional)
requestBodyAny other property keys or fields, including the top-level fields of the fee rule (e.g. &quot;ExecutionBroker&quot; and &quot;SettlementCurrency&quot; ) and those defined in AdditionalKeys, along with their corresponding values that should be matched for fees. Eg. &quot;Instrument/default/Name&#x3D;exampleValue&quot; or &quot;AdditionalKey2&#x3D;Value2&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (ResourceListOfFeeRule)

Implements Lusid.Sdk.Api.ITransactionFeesApiAsync.

◆ GetBasePath()

string Lusid.Sdk.Api.TransactionFeesApi.GetBasePath ( )
inline

Gets the base path of the API client.

The base path

Implements Lusid.Sdk.Client.IApiAccessor.

◆ GetTransactionFeeRule()

FeeRule Lusid.Sdk.Api.TransactionFeesApi.GetTransactionFeeRule ( string  code,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0 
)
inline

[EXPERIMENTAL] GetTransactionFeeRule: Retrieve the definition of single fee rule. Retrieves the fee rule definition at the given effective and as at times.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
codeThe fee rule code.
effectiveAtThe effective datetime or cut label at which to retrieve the rule definition. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the rule definition. Defaults to returning the latest version if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
FeeRule

Implements Lusid.Sdk.Api.ITransactionFeesApiSync.

◆ GetTransactionFeeRuleAsync()

async System.Threading.Tasks.Task<FeeRule> Lusid.Sdk.Api.TransactionFeesApi.GetTransactionFeeRuleAsync ( string  code,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EXPERIMENTAL] GetTransactionFeeRule: Retrieve the definition of single fee rule. Retrieves the fee rule definition at the given effective and as at times.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
codeThe fee rule code.
effectiveAtThe effective datetime or cut label at which to retrieve the rule definition. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the rule definition. Defaults to returning the latest version if not specified. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of FeeRule

Implements Lusid.Sdk.Api.ITransactionFeesApiAsync.

◆ GetTransactionFeeRuleWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<FeeRule> Lusid.Sdk.Api.TransactionFeesApi.GetTransactionFeeRuleWithHttpInfo ( string  code,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0 
)
inline

[EXPERIMENTAL] GetTransactionFeeRule: Retrieve the definition of single fee rule. Retrieves the fee rule definition at the given effective and as at times.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
codeThe fee rule code.
effectiveAtThe effective datetime or cut label at which to retrieve the rule definition. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the rule definition. Defaults to returning the latest version if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of FeeRule

Implements Lusid.Sdk.Api.ITransactionFeesApiSync.

◆ GetTransactionFeeRuleWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<FeeRule> > Lusid.Sdk.Api.TransactionFeesApi.GetTransactionFeeRuleWithHttpInfoAsync ( string  code,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EXPERIMENTAL] GetTransactionFeeRule: Retrieve the definition of single fee rule. Retrieves the fee rule definition at the given effective and as at times.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
codeThe fee rule code.
effectiveAtThe effective datetime or cut label at which to retrieve the rule definition. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the rule definition. Defaults to returning the latest version if not specified. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (FeeRule)

Implements Lusid.Sdk.Api.ITransactionFeesApiAsync.

◆ ListTransactionFeeRules()

ResourceListOfFeeRule Lusid.Sdk.Api.TransactionFeesApi.ListTransactionFeeRules ( DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
int?  limit = default(int?),
string?  filter = default(string?),
string?  page = default(string?),
int  operationIndex = 0 
)
inline

[EXPERIMENTAL] ListTransactionFeeRules: List fee rules, with optional filtering. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
effectiveAtThe effective datetime or cut label at which to retrieve the rule definitions. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the rule definitions. Defaults to returning the latest version if not specified. (optional)
limitWhen paginating, limit the results to this number. Defaults to 100 if not specified. (optional)
filterExpression to filter the results. (optional)
pageThe pagination token to use to continue listing entities; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. (optional)
operationIndexIndex associated with the operation.
Returns
ResourceListOfFeeRule

Implements Lusid.Sdk.Api.ITransactionFeesApiSync.

◆ ListTransactionFeeRulesAsync()

async System.Threading.Tasks.Task<ResourceListOfFeeRule> Lusid.Sdk.Api.TransactionFeesApi.ListTransactionFeeRulesAsync ( DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
int?  limit = default(int?),
string?  filter = default(string?),
string?  page = default(string?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EXPERIMENTAL] ListTransactionFeeRules: List fee rules, with optional filtering. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
effectiveAtThe effective datetime or cut label at which to retrieve the rule definitions. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the rule definitions. Defaults to returning the latest version if not specified. (optional)
limitWhen paginating, limit the results to this number. Defaults to 100 if not specified. (optional)
filterExpression to filter the results. (optional)
pageThe pagination token to use to continue listing entities; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ResourceListOfFeeRule

Implements Lusid.Sdk.Api.ITransactionFeesApiAsync.

◆ ListTransactionFeeRulesWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<ResourceListOfFeeRule> Lusid.Sdk.Api.TransactionFeesApi.ListTransactionFeeRulesWithHttpInfo ( DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
int?  limit = default(int?),
string?  filter = default(string?),
string?  page = default(string?),
int  operationIndex = 0 
)
inline

[EXPERIMENTAL] ListTransactionFeeRules: List fee rules, with optional filtering. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
effectiveAtThe effective datetime or cut label at which to retrieve the rule definitions. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the rule definitions. Defaults to returning the latest version if not specified. (optional)
limitWhen paginating, limit the results to this number. Defaults to 100 if not specified. (optional)
filterExpression to filter the results. (optional)
pageThe pagination token to use to continue listing entities; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of ResourceListOfFeeRule

Implements Lusid.Sdk.Api.ITransactionFeesApiSync.

◆ ListTransactionFeeRulesWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfFeeRule> > Lusid.Sdk.Api.TransactionFeesApi.ListTransactionFeeRulesWithHttpInfoAsync ( DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
int?  limit = default(int?),
string?  filter = default(string?),
string?  page = default(string?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EXPERIMENTAL] ListTransactionFeeRules: List fee rules, with optional filtering. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
effectiveAtThe effective datetime or cut label at which to retrieve the rule definitions. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the rule definitions. Defaults to returning the latest version if not specified. (optional)
limitWhen paginating, limit the results to this number. Defaults to 100 if not specified. (optional)
filterExpression to filter the results. (optional)
pageThe pagination token to use to continue listing entities; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (ResourceListOfFeeRule)

Implements Lusid.Sdk.Api.ITransactionFeesApiAsync.

◆ UpsertTransactionFeeRules()

FeeRuleUpsertResponse Lusid.Sdk.Api.TransactionFeesApi.UpsertTransactionFeeRules ( Dictionary< string, FeeRuleUpsertRequest requestBody,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0 
)
inline

[EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules. <br> To upsert a new rule, the code field must be left empty, a code will then be assigned and returned as part of the response. To update an existing rule, include the fee code. It is possible to both create and update fee rules in the same request. <br> The upsert is transactional - either all create/update operations will succeed or none of them will.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
requestBodyA dictionary of upsert request identifiers to rule upsert requests. The request identifiers are valid for the request only and can be used to link the upserted fee rule to the code of a created fee rule.
effectiveAtThe effective datetime or cut label at which the rule will take effect. Defaults to the current LUSID system datetime if not specified. In the case of an update, the changes will take place from this effective time until the next effective time that the rule as been upserted at. For example, consider a rule that already exists, and has previously had an update applied so that the definition will change on the first day of the coming month. An upsert effective from the current day will only change the definition until the first day of the coming month. An additional upsert at the same time (first day of the month) is required if the newly-updated definition is to supersede the future definition. (optional)
operationIndexIndex associated with the operation.
Returns
FeeRuleUpsertResponse

Implements Lusid.Sdk.Api.ITransactionFeesApiSync.

◆ UpsertTransactionFeeRulesAsync()

async System.Threading.Tasks.Task<FeeRuleUpsertResponse> Lusid.Sdk.Api.TransactionFeesApi.UpsertTransactionFeeRulesAsync ( Dictionary< string, FeeRuleUpsertRequest requestBody,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules. <br> To upsert a new rule, the code field must be left empty, a code will then be assigned and returned as part of the response. To update an existing rule, include the fee code. It is possible to both create and update fee rules in the same request. <br> The upsert is transactional - either all create/update operations will succeed or none of them will.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
requestBodyA dictionary of upsert request identifiers to rule upsert requests. The request identifiers are valid for the request only and can be used to link the upserted fee rule to the code of a created fee rule.
effectiveAtThe effective datetime or cut label at which the rule will take effect. Defaults to the current LUSID system datetime if not specified. In the case of an update, the changes will take place from this effective time until the next effective time that the rule as been upserted at. For example, consider a rule that already exists, and has previously had an update applied so that the definition will change on the first day of the coming month. An upsert effective from the current day will only change the definition until the first day of the coming month. An additional upsert at the same time (first day of the month) is required if the newly-updated definition is to supersede the future definition. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of FeeRuleUpsertResponse

Implements Lusid.Sdk.Api.ITransactionFeesApiAsync.

◆ UpsertTransactionFeeRulesWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<FeeRuleUpsertResponse> Lusid.Sdk.Api.TransactionFeesApi.UpsertTransactionFeeRulesWithHttpInfo ( Dictionary< string, FeeRuleUpsertRequest requestBody,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0 
)
inline

[EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules. <br> To upsert a new rule, the code field must be left empty, a code will then be assigned and returned as part of the response. To update an existing rule, include the fee code. It is possible to both create and update fee rules in the same request. <br> The upsert is transactional - either all create/update operations will succeed or none of them will.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
requestBodyA dictionary of upsert request identifiers to rule upsert requests. The request identifiers are valid for the request only and can be used to link the upserted fee rule to the code of a created fee rule.
effectiveAtThe effective datetime or cut label at which the rule will take effect. Defaults to the current LUSID system datetime if not specified. In the case of an update, the changes will take place from this effective time until the next effective time that the rule as been upserted at. For example, consider a rule that already exists, and has previously had an update applied so that the definition will change on the first day of the coming month. An upsert effective from the current day will only change the definition until the first day of the coming month. An additional upsert at the same time (first day of the month) is required if the newly-updated definition is to supersede the future definition. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of FeeRuleUpsertResponse

Implements Lusid.Sdk.Api.ITransactionFeesApiSync.

◆ UpsertTransactionFeeRulesWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<FeeRuleUpsertResponse> > Lusid.Sdk.Api.TransactionFeesApi.UpsertTransactionFeeRulesWithHttpInfoAsync ( Dictionary< string, FeeRuleUpsertRequest requestBody,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules. <br> To upsert a new rule, the code field must be left empty, a code will then be assigned and returned as part of the response. To update an existing rule, include the fee code. It is possible to both create and update fee rules in the same request. <br> The upsert is transactional - either all create/update operations will succeed or none of them will.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
requestBodyA dictionary of upsert request identifiers to rule upsert requests. The request identifiers are valid for the request only and can be used to link the upserted fee rule to the code of a created fee rule.
effectiveAtThe effective datetime or cut label at which the rule will take effect. Defaults to the current LUSID system datetime if not specified. In the case of an update, the changes will take place from this effective time until the next effective time that the rule as been upserted at. For example, consider a rule that already exists, and has previously had an update applied so that the definition will change on the first day of the coming month. An upsert effective from the current day will only change the definition until the first day of the coming month. An additional upsert at the same time (first day of the month) is required if the newly-updated definition is to supersede the future definition. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (FeeRuleUpsertResponse)

Implements Lusid.Sdk.Api.ITransactionFeesApiAsync.

Property Documentation

◆ AsynchronousClient

Lusid.Sdk.Client.IAsynchronousClient Lusid.Sdk.Api.TransactionFeesApi.AsynchronousClient
getset

The client for accessing this underlying API asynchronously.

◆ Client

Lusid.Sdk.Client.ISynchronousClient Lusid.Sdk.Api.TransactionFeesApi.Client
getset

The client for accessing this underlying API synchronously.

◆ Configuration

Lusid.Sdk.Client.IReadableConfiguration Lusid.Sdk.Api.TransactionFeesApi.Configuration
getset

Gets or sets the configuration object

An instance of the Configuration

◆ ExceptionFactory

Lusid.Sdk.Client.ExceptionFactory Lusid.Sdk.Api.TransactionFeesApi.ExceptionFactory
getset

Provides a factory method hook for the creation of exceptions.


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