LUSID C# SDK
|
Represents a collection of functions to interact with the API endpoints More...
Public Member Functions | |
DeletedEntityResponse | DeleteLegacyComplianceRule (string scope, string code, int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] DeleteLegacyComplianceRule: Deletes a compliance rule. More... | |
Lusid.Sdk.Client.ApiResponse< DeletedEntityResponse > | DeleteLegacyComplianceRuleWithHttpInfo (string scope, string code, int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] DeleteLegacyComplianceRule: Deletes a compliance rule. More... | |
ResourceListOfComplianceBreachedOrderInfo | GetLegacyBreachedOrdersInfo (string runId, string? orderScope=default(string?), string? orderCode=default(string?), int? limit=default(int?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetLegacyBreachedOrdersInfo: Get the Ids of Breached orders in a given compliance run and the corresponding list of rules that could have caused it. More... | |
Lusid.Sdk.Client.ApiResponse< ResourceListOfComplianceBreachedOrderInfo > | GetLegacyBreachedOrdersInfoWithHttpInfo (string runId, string? orderScope=default(string?), string? orderCode=default(string?), int? limit=default(int?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetLegacyBreachedOrdersInfo: Get the Ids of Breached orders in a given compliance run and the corresponding list of rules that could have caused it. More... | |
ComplianceRule | GetLegacyComplianceRule (string scope, string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetLegacyComplianceRule: Retrieve the definition of single compliance rule. More... | |
Lusid.Sdk.Client.ApiResponse< ComplianceRule > | GetLegacyComplianceRuleWithHttpInfo (string scope, string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetLegacyComplianceRule: Retrieve the definition of single compliance rule. More... | |
ResourceListOfComplianceRuleResult | GetLegacyComplianceRunResults (string runId, string? page=default(string?), int? limit=default(int?), string? filter=default(string?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetLegacyComplianceRunResults: Get the details of a single compliance run. More... | |
Lusid.Sdk.Client.ApiResponse< ResourceListOfComplianceRuleResult > | GetLegacyComplianceRunResultsWithHttpInfo (string runId, string? page=default(string?), int? limit=default(int?), string? filter=default(string?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetLegacyComplianceRunResults: Get the details of a single compliance run. More... | |
ResourceListOfComplianceRule | ListLegacyComplianceRules (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), string? filter=default(string?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] ListLegacyComplianceRules: List compliance rules, with optional filtering. More... | |
Lusid.Sdk.Client.ApiResponse< ResourceListOfComplianceRule > | ListLegacyComplianceRulesWithHttpInfo (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), string? filter=default(string?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] ListLegacyComplianceRules: List compliance rules, with optional filtering. More... | |
ResourceListOfComplianceRunInfo | ListLegacyComplianceRunInfo (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), string? filter=default(string?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] ListLegacyComplianceRunInfo: List historical compliance run ids. More... | |
Lusid.Sdk.Client.ApiResponse< ResourceListOfComplianceRunInfo > | ListLegacyComplianceRunInfoWithHttpInfo (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), string? filter=default(string?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] ListLegacyComplianceRunInfo: List historical compliance run ids. More... | |
ComplianceRunInfo | RunLegacyCompliance (bool isPreTrade, string recipeIdScope, string? recipeIdCode=default(string?), bool? byTaxlots=default(bool?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] RunLegacyCompliance: Kick off the compliance check process More... | |
Lusid.Sdk.Client.ApiResponse< ComplianceRunInfo > | RunLegacyComplianceWithHttpInfo (bool isPreTrade, string recipeIdScope, string? recipeIdCode=default(string?), bool? byTaxlots=default(bool?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] RunLegacyCompliance: Kick off the compliance check process More... | |
ComplianceRuleUpsertResponse | UpsertLegacyComplianceRules (Dictionary< string, ComplianceRuleUpsertRequest > requestBody, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] UpsertLegacyComplianceRules: Upsert compliance rules. More... | |
Lusid.Sdk.Client.ApiResponse< ComplianceRuleUpsertResponse > | UpsertLegacyComplianceRulesWithHttpInfo (Dictionary< string, ComplianceRuleUpsertRequest > requestBody, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] UpsertLegacyComplianceRules: Upsert compliance rules. More... | |
Represents a collection of functions to interact with the API endpoints
DeletedEntityResponse Lusid.Sdk.Api.ILegacyComplianceApiSync.DeleteLegacyComplianceRule | ( | string | scope, |
string | code, | ||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] DeleteLegacyComplianceRule: Deletes a compliance rule.
Deletes the rule for all effective time. The rule will remain viewable at previous as at times, and as part of the results of compliance runs, but it will no longer be considered in new compliance runs. This cannot be undone.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The compliance rule scope. |
code | The compliance rule code. |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.
Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> Lusid.Sdk.Api.ILegacyComplianceApiSync.DeleteLegacyComplianceRuleWithHttpInfo | ( | string | scope, |
string | code, | ||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] DeleteLegacyComplianceRule: Deletes a compliance rule.
Deletes the rule for all effective time. The rule will remain viewable at previous as at times, and as part of the results of compliance runs, but it will no longer be considered in new compliance runs. This cannot be undone.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The compliance rule scope. |
code | The compliance rule code. |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.
ResourceListOfComplianceBreachedOrderInfo Lusid.Sdk.Api.ILegacyComplianceApiSync.GetLegacyBreachedOrdersInfo | ( | string | runId, |
string? | orderScope = default(string?) , |
||
string? | orderCode = default(string?) , |
||
int? | limit = default(int?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetLegacyBreachedOrdersInfo: Get the Ids of Breached orders in a given compliance run and the corresponding list of rules that could have caused it.
Use this endpoint to get a list or breached orders and the set of rules that may have caused the breach.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
runId | The RunId that the results should be checked for |
orderScope | Optional. Find rules related to a specific order by providing an Order Scope/Code combination (optional) |
orderCode | Optional. Find rules related to a specific order by providing an Order Scope/Code combination (optional) |
limit | When paginating, limit the number of returned results to this many. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.
Lusid.Sdk.Client.ApiResponse<ResourceListOfComplianceBreachedOrderInfo> Lusid.Sdk.Api.ILegacyComplianceApiSync.GetLegacyBreachedOrdersInfoWithHttpInfo | ( | string | runId, |
string? | orderScope = default(string?) , |
||
string? | orderCode = default(string?) , |
||
int? | limit = default(int?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetLegacyBreachedOrdersInfo: Get the Ids of Breached orders in a given compliance run and the corresponding list of rules that could have caused it.
Use this endpoint to get a list or breached orders and the set of rules that may have caused the breach.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
runId | The RunId that the results should be checked for |
orderScope | Optional. Find rules related to a specific order by providing an Order Scope/Code combination (optional) |
orderCode | Optional. Find rules related to a specific order by providing an Order Scope/Code combination (optional) |
limit | When paginating, limit the number of returned results to this many. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.
ComplianceRule Lusid.Sdk.Api.ILegacyComplianceApiSync.GetLegacyComplianceRule | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetLegacyComplianceRule: Retrieve the definition of single compliance rule.
Retrieves the compliance rule definition at the given effective and as at times.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The compliance rule scope. |
code | The compliance rule code. |
effectiveAt | The effective datetime or cut label at which to retrieve the rule definition. Defaults to the current LUSID system datetime if not specified. (optional) |
asAt | The asAt datetime at which to retrieve the rule definition. Defaults to returning the latest version if not specified. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.
Lusid.Sdk.Client.ApiResponse<ComplianceRule> Lusid.Sdk.Api.ILegacyComplianceApiSync.GetLegacyComplianceRuleWithHttpInfo | ( | string | scope, |
string | code, | ||
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetLegacyComplianceRule: Retrieve the definition of single compliance rule.
Retrieves the compliance rule definition at the given effective and as at times.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The compliance rule scope. |
code | The compliance rule code. |
effectiveAt | The effective datetime or cut label at which to retrieve the rule definition. Defaults to the current LUSID system datetime if not specified. (optional) |
asAt | The asAt datetime at which to retrieve the rule definition. Defaults to returning the latest version if not specified. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.
ResourceListOfComplianceRuleResult Lusid.Sdk.Api.ILegacyComplianceApiSync.GetLegacyComplianceRunResults | ( | string | runId, |
string? | page = default(string?) , |
||
int? | limit = default(int?) , |
||
string? | filter = default(string?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetLegacyComplianceRunResults: Get the details of a single compliance run.
Use this endpoint to fetch the detail associated with a specific compliance run, including a breakdown of the passing state of each rule, portfolio combination.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
runId | The unique identifier of the compliance run requested. |
page | The pagination token to use to continue listing compliance rule results from a previous call to list compliance rule result. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request. (optional) |
limit | When paginating, limit the number of returned results to this many. (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.
Lusid.Sdk.Client.ApiResponse<ResourceListOfComplianceRuleResult> Lusid.Sdk.Api.ILegacyComplianceApiSync.GetLegacyComplianceRunResultsWithHttpInfo | ( | string | runId, |
string? | page = default(string?) , |
||
int? | limit = default(int?) , |
||
string? | filter = default(string?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetLegacyComplianceRunResults: Get the details of a single compliance run.
Use this endpoint to fetch the detail associated with a specific compliance run, including a breakdown of the passing state of each rule, portfolio combination.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
runId | The unique identifier of the compliance run requested. |
page | The pagination token to use to continue listing compliance rule results from a previous call to list compliance rule result. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request. (optional) |
limit | When paginating, limit the number of returned results to this many. (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.
ResourceListOfComplianceRule Lusid.Sdk.Api.ILegacyComplianceApiSync.ListLegacyComplianceRules | ( | DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | page = default(string?) , |
||
int? | limit = default(int?) , |
||
string? | filter = default(string?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] ListLegacyComplianceRules: List compliance rules, with optional filtering.
For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
effectiveAt | The effective datetime or cut label at which to retrieve the rule definitions. Defaults to the current LUSID system datetime if not specified. (optional) |
asAt | The asAt datetime at which to retrieve the rule definitions. Defaults to returning the latest version if not specified. (optional) |
page | The 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) |
limit | When paginating, limit the results to this number. Defaults to 100 if not specified. (optional) |
filter | Expression to filter the results. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.
Lusid.Sdk.Client.ApiResponse<ResourceListOfComplianceRule> Lusid.Sdk.Api.ILegacyComplianceApiSync.ListLegacyComplianceRulesWithHttpInfo | ( | DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | page = default(string?) , |
||
int? | limit = default(int?) , |
||
string? | filter = default(string?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] ListLegacyComplianceRules: List compliance rules, with optional filtering.
For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
effectiveAt | The effective datetime or cut label at which to retrieve the rule definitions. Defaults to the current LUSID system datetime if not specified. (optional) |
asAt | The asAt datetime at which to retrieve the rule definitions. Defaults to returning the latest version if not specified. (optional) |
page | The 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) |
limit | When paginating, limit the results to this number. Defaults to 100 if not specified. (optional) |
filter | Expression to filter the results. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.
ResourceListOfComplianceRunInfo Lusid.Sdk.Api.ILegacyComplianceApiSync.ListLegacyComplianceRunInfo | ( | DateTimeOffset? | asAt = default(DateTimeOffset?) , |
string? | page = default(string?) , |
||
int? | limit = default(int?) , |
||
string? | filter = default(string?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] ListLegacyComplianceRunInfo: List historical compliance run ids.
Use this endpoint to fetch a list of all historical compliance runs.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
asAt | Optional. The time at which to get results from. Default : latest (optional) |
page | The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request. (optional) |
limit | When paginating, limit the number of returned results to this many. (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.
Lusid.Sdk.Client.ApiResponse<ResourceListOfComplianceRunInfo> Lusid.Sdk.Api.ILegacyComplianceApiSync.ListLegacyComplianceRunInfoWithHttpInfo | ( | DateTimeOffset? | asAt = default(DateTimeOffset?) , |
string? | page = default(string?) , |
||
int? | limit = default(int?) , |
||
string? | filter = default(string?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] ListLegacyComplianceRunInfo: List historical compliance run ids.
Use this endpoint to fetch a list of all historical compliance runs.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
asAt | Optional. The time at which to get results from. Default : latest (optional) |
page | The pagination token to use to continue listing compliance runs from a previous call to list compliance runs. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request. (optional) |
limit | When paginating, limit the number of returned results to this many. (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.
ComplianceRunInfo Lusid.Sdk.Api.ILegacyComplianceApiSync.RunLegacyCompliance | ( | bool | isPreTrade, |
string | recipeIdScope, | ||
string? | recipeIdCode = default(string?) , |
||
bool? | byTaxlots = default(bool?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] RunLegacyCompliance: Kick off the compliance check process
Use this endpoint to fetch the start a compliance run, based on a pre-set mapping file.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
isPreTrade | Required: Boolean flag indicating if a run should be PreTrade (Including orders). For post-trade only, set to false |
recipeIdScope | Required: the scope of the recipe to be used |
recipeIdCode | Optional: The code of the recipe to be used. If left blank, the default recipe will be used. (optional) |
byTaxlots | Optional. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.
Lusid.Sdk.Client.ApiResponse<ComplianceRunInfo> Lusid.Sdk.Api.ILegacyComplianceApiSync.RunLegacyComplianceWithHttpInfo | ( | bool | isPreTrade, |
string | recipeIdScope, | ||
string? | recipeIdCode = default(string?) , |
||
bool? | byTaxlots = default(bool?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] RunLegacyCompliance: Kick off the compliance check process
Use this endpoint to fetch the start a compliance run, based on a pre-set mapping file.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
isPreTrade | Required: Boolean flag indicating if a run should be PreTrade (Including orders). For post-trade only, set to false |
recipeIdScope | Required: the scope of the recipe to be used |
recipeIdCode | Optional: The code of the recipe to be used. If left blank, the default recipe will be used. (optional) |
byTaxlots | Optional. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.
ComplianceRuleUpsertResponse Lusid.Sdk.Api.ILegacyComplianceApiSync.UpsertLegacyComplianceRules | ( | Dictionary< string, ComplianceRuleUpsertRequest > | requestBody, |
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] UpsertLegacyComplianceRules: Upsert compliance rules.
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 rule code. It is possible to both create and update compliance rules in the same request. The upsert is transactional - either all create/update operations will succeed or none of them will.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
requestBody | A 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 compliance rule to the code of a created compliance rule. |
effectiveAt | The 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) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.
Lusid.Sdk.Client.ApiResponse<ComplianceRuleUpsertResponse> Lusid.Sdk.Api.ILegacyComplianceApiSync.UpsertLegacyComplianceRulesWithHttpInfo | ( | Dictionary< string, ComplianceRuleUpsertRequest > | requestBody, |
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] UpsertLegacyComplianceRules: Upsert compliance rules.
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 rule code. It is possible to both create and update compliance rules in the same request. The upsert is transactional - either all create/update operations will succeed or none of them will.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
requestBody | A 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 compliance rule to the code of a created compliance rule. |
effectiveAt | The 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) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.LegacyComplianceApi.