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

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

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

Public Member Functions

System.Threading.Tasks.Task< DeletedEntityResponseDeleteOrderInstructionAsync (string scope, string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 DeleteOrderInstruction: Delete orderInstruction More...
 
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< DeletedEntityResponse > > DeleteOrderInstructionWithHttpInfoAsync (string scope, string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 DeleteOrderInstruction: Delete orderInstruction More...
 
System.Threading.Tasks.Task< OrderInstructionGetOrderInstructionAsync (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 GetOrderInstruction: Get OrderInstruction More...
 
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< OrderInstruction > > GetOrderInstructionWithHttpInfoAsync (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 GetOrderInstruction: Get OrderInstruction More...
 
System.Threading.Tasks.Task< PagedResourceListOfOrderInstructionListOrderInstructionsAsync (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), List< string >? sortBy=default(List< string >?), int? limit=default(int?), string? filter=default(string?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 ListOrderInstructions: List OrderInstructions More...
 
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< PagedResourceListOfOrderInstruction > > ListOrderInstructionsWithHttpInfoAsync (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), List< string >? sortBy=default(List< string >?), int? limit=default(int?), string? filter=default(string?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 ListOrderInstructions: List OrderInstructions More...
 
System.Threading.Tasks.Task< ResourceListOfOrderInstructionUpsertOrderInstructionsAsync (OrderInstructionSetRequest? orderInstructionSetRequest=default(OrderInstructionSetRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 UpsertOrderInstructions: Upsert OrderInstruction More...
 
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfOrderInstruction > > UpsertOrderInstructionsWithHttpInfoAsync (OrderInstructionSetRequest? orderInstructionSetRequest=default(OrderInstructionSetRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 UpsertOrderInstructions: Upsert OrderInstruction More...
 

Detailed Description

Represents a collection of functions to interact with the API endpoints

Member Function Documentation

◆ DeleteOrderInstructionAsync()

System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.IOrderInstructionsApiAsync.DeleteOrderInstructionAsync ( string  scope,
string  code,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

DeleteOrderInstruction: Delete orderInstruction

Delete an orderInstruction. Deletion will be valid from the orderInstruction&#39;s creation datetime. This means that the orderInstruction will no longer exist at any effective datetime from the asAt datetime of deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe orderInstruction scope.
codeThe orderInstruction&#39;s code. This, together with the scope uniquely identifies the orderInstruction to delete.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of DeletedEntityResponse

Implemented in Lusid.Sdk.Api.OrderInstructionsApi.

◆ DeleteOrderInstructionWithHttpInfoAsync()

System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.IOrderInstructionsApiAsync.DeleteOrderInstructionWithHttpInfoAsync ( string  scope,
string  code,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

DeleteOrderInstruction: Delete orderInstruction

Delete an orderInstruction. Deletion will be valid from the orderInstruction&#39;s creation datetime. This means that the orderInstruction will no longer exist at any effective datetime from the asAt datetime of deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe orderInstruction scope.
codeThe orderInstruction&#39;s code. This, together with the scope uniquely identifies the orderInstruction to delete.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of ApiResponse (DeletedEntityResponse)

Implemented in Lusid.Sdk.Api.OrderInstructionsApi.

◆ GetOrderInstructionAsync()

System.Threading.Tasks.Task<OrderInstruction> Lusid.Sdk.Api.IOrderInstructionsApiAsync.GetOrderInstructionAsync ( string  scope,
string  code,
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List< string >?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

GetOrderInstruction: Get OrderInstruction

Fetch a OrderInstruction that matches the specified identifier

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope to which the orderInstruction belongs.
codeThe orderInstruction&#39;s unique identifier.
asAtThe asAt datetime at which to retrieve the orderInstruction. Defaults to return the latest version of the orderInstruction if not specified. (optional)
propertyKeysA list of property keys from the &quot;OrderInstruction&quot; domain to decorate onto the orderInstruction. These take the format {domain}/{scope}/{code} e.g. &quot;OrderInstruction/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of OrderInstruction

Implemented in Lusid.Sdk.Api.OrderInstructionsApi.

◆ GetOrderInstructionWithHttpInfoAsync()

System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<OrderInstruction> > Lusid.Sdk.Api.IOrderInstructionsApiAsync.GetOrderInstructionWithHttpInfoAsync ( string  scope,
string  code,
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List< string >?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

GetOrderInstruction: Get OrderInstruction

Fetch a OrderInstruction that matches the specified identifier

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope to which the orderInstruction belongs.
codeThe orderInstruction&#39;s unique identifier.
asAtThe asAt datetime at which to retrieve the orderInstruction. Defaults to return the latest version of the orderInstruction if not specified. (optional)
propertyKeysA list of property keys from the &quot;OrderInstruction&quot; domain to decorate onto the orderInstruction. These take the format {domain}/{scope}/{code} e.g. &quot;OrderInstruction/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of ApiResponse (OrderInstruction)

Implemented in Lusid.Sdk.Api.OrderInstructionsApi.

◆ ListOrderInstructionsAsync()

System.Threading.Tasks.Task<PagedResourceListOfOrderInstruction> Lusid.Sdk.Api.IOrderInstructionsApiAsync.ListOrderInstructionsAsync ( DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  page = default(string?),
List< string >?  sortBy = default(List< string >?),
int?  limit = default(int?),
string?  filter = default(string?),
List< string >?  propertyKeys = default(List< string >?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

ListOrderInstructions: List OrderInstructions

Fetch the last pre-AsAt date version of each orderInstruction in scope (does not fetch the entire history).

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to retrieve the orderInstruction. Defaults to return the latest version of the orderInstruction if not specified. (optional)
pageThe pagination token to use to continue listing orderInstructions from a previous call to list orderInstructions. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request. (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 number of returned results to this many. (optional)
filterExpression to filter the result set. Read more about filtering results from LUSID here: https://support.lusid.com/filtering-results-from-lusid. (optional)
propertyKeysA list of property keys from the &quot;OrderInstruction&quot; domain to decorate onto each orderInstruction. These take the format {domain}/{scope}/{code} e.g. &quot;OrderInstruction/system/Name&quot;. All properties, except derived properties, are returned by default, without specifying here. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of PagedResourceListOfOrderInstruction

Implemented in Lusid.Sdk.Api.OrderInstructionsApi.

◆ ListOrderInstructionsWithHttpInfoAsync()

System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<PagedResourceListOfOrderInstruction> > Lusid.Sdk.Api.IOrderInstructionsApiAsync.ListOrderInstructionsWithHttpInfoAsync ( DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  page = default(string?),
List< string >?  sortBy = default(List< string >?),
int?  limit = default(int?),
string?  filter = default(string?),
List< string >?  propertyKeys = default(List< string >?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

ListOrderInstructions: List OrderInstructions

Fetch the last pre-AsAt date version of each orderInstruction in scope (does not fetch the entire history).

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to retrieve the orderInstruction. Defaults to return the latest version of the orderInstruction if not specified. (optional)
pageThe pagination token to use to continue listing orderInstructions from a previous call to list orderInstructions. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request. (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 number of returned results to this many. (optional)
filterExpression to filter the result set. Read more about filtering results from LUSID here: https://support.lusid.com/filtering-results-from-lusid. (optional)
propertyKeysA list of property keys from the &quot;OrderInstruction&quot; domain to decorate onto each orderInstruction. These take the format {domain}/{scope}/{code} e.g. &quot;OrderInstruction/system/Name&quot;. All properties, except derived properties, are returned by default, without specifying here. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of ApiResponse (PagedResourceListOfOrderInstruction)

Implemented in Lusid.Sdk.Api.OrderInstructionsApi.

◆ UpsertOrderInstructionsAsync()

System.Threading.Tasks.Task<ResourceListOfOrderInstruction> Lusid.Sdk.Api.IOrderInstructionsApiAsync.UpsertOrderInstructionsAsync ( OrderInstructionSetRequest orderInstructionSetRequest = default(OrderInstructionSetRequest?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

UpsertOrderInstructions: Upsert OrderInstruction

Upsert; update existing orderInstructions with given ids, or create new orderInstructions otherwise.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
orderInstructionSetRequestThe collection of orderInstruction requests. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of ResourceListOfOrderInstruction

Implemented in Lusid.Sdk.Api.OrderInstructionsApi.

◆ UpsertOrderInstructionsWithHttpInfoAsync()

System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfOrderInstruction> > Lusid.Sdk.Api.IOrderInstructionsApiAsync.UpsertOrderInstructionsWithHttpInfoAsync ( OrderInstructionSetRequest orderInstructionSetRequest = default(OrderInstructionSetRequest?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

UpsertOrderInstructions: Upsert OrderInstruction

Upsert; update existing orderInstructions with given ids, or create new orderInstructions otherwise.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
orderInstructionSetRequestThe collection of orderInstruction requests. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of ApiResponse (ResourceListOfOrderInstruction)

Implemented in Lusid.Sdk.Api.OrderInstructionsApi.


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