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

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

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

Public Member Functions

System.Threading.Tasks.Task< DeletedEntityResponseDeleteOrderAsync (string scope, string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 [EARLY ACCESS] DeleteOrder: Delete order More...
 
System.Threading.Tasks.Task< ApiResponse< DeletedEntityResponse > > DeleteOrderWithHttpInfoAsync (string scope, string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 [EARLY ACCESS] DeleteOrder: Delete order More...
 
System.Threading.Tasks.Task< OrderGetOrderAsync (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)
 [EARLY ACCESS] GetOrder: Get Order More...
 
System.Threading.Tasks.Task< ApiResponse< Order > > GetOrderWithHttpInfoAsync (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)
 [EARLY ACCESS] GetOrder: Get Order More...
 
System.Threading.Tasks.Task< PagedResourceListOfOrderListOrdersAsync (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)
 ListOrders: List Orders More...
 
System.Threading.Tasks.Task< ApiResponse< PagedResourceListOfOrder > > ListOrdersWithHttpInfoAsync (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)
 ListOrders: List Orders More...
 
System.Threading.Tasks.Task< ResourceListOfOrderUpsertOrdersAsync (OrderSetRequest? orderSetRequest=default(OrderSetRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 UpsertOrders: Upsert Order More...
 
System.Threading.Tasks.Task< ApiResponse< ResourceListOfOrder > > UpsertOrdersWithHttpInfoAsync (OrderSetRequest? orderSetRequest=default(OrderSetRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null)
 UpsertOrders: Upsert Order 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

◆ DeleteOrderAsync()

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

[EARLY ACCESS] DeleteOrder: Delete order

Delete an order. Deletion will be valid from the order&#39;s creation datetime. This means that the order 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 order scope.
codeThe order&#39;s code. This, together with the scope uniquely identifies the order 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.OrdersApi.

◆ DeleteOrderWithHttpInfoAsync()

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

[EARLY ACCESS] DeleteOrder: Delete order

Delete an order. Deletion will be valid from the order&#39;s creation datetime. This means that the order 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 order scope.
codeThe order&#39;s code. This, together with the scope uniquely identifies the order 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.OrdersApi.

◆ GetOrderAsync()

System.Threading.Tasks.Task<Order> Lusid.Sdk.Api.IOrdersApiAsync.GetOrderAsync ( 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 
)

[EARLY ACCESS] GetOrder: Get Order

Fetch an Order that matches the specified identifier.

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

Implemented in Lusid.Sdk.Api.OrdersApi.

◆ GetOrderWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<Order> > Lusid.Sdk.Api.IOrdersApiAsync.GetOrderWithHttpInfoAsync ( 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 
)

[EARLY ACCESS] GetOrder: Get Order

Fetch an Order that matches the specified identifier.

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

Implemented in Lusid.Sdk.Api.OrdersApi.

◆ ListOrdersAsync()

System.Threading.Tasks.Task<PagedResourceListOfOrder> Lusid.Sdk.Api.IOrdersApiAsync.ListOrdersAsync ( 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 
)

ListOrders: List Orders

Fetch the last pre-AsAt date version of each order with optional filtering (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 order. Defaults to return the latest version of the order if not specified. (optional)
pageThe pagination token to use to continue listing orders from a previous call to list orders. 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;Orders&quot; domain to decorate onto each order. These take the format {domain}/{scope}/{code} e.g. &quot;Orders/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of PagedResourceListOfOrder

Implemented in Lusid.Sdk.Api.OrdersApi.

◆ ListOrdersWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<PagedResourceListOfOrder> > Lusid.Sdk.Api.IOrdersApiAsync.ListOrdersWithHttpInfoAsync ( 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 
)

ListOrders: List Orders

Fetch the last pre-AsAt date version of each order with optional filtering (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 order. Defaults to return the latest version of the order if not specified. (optional)
pageThe pagination token to use to continue listing orders from a previous call to list orders. 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;Orders&quot; domain to decorate onto each order. These take the format {domain}/{scope}/{code} e.g. &quot;Orders/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
optsOptions for this request.
Returns
Task of ApiResponse (PagedResourceListOfOrder)

Implemented in Lusid.Sdk.Api.OrdersApi.

◆ UpsertOrdersAsync()

System.Threading.Tasks.Task<ResourceListOfOrder> Lusid.Sdk.Api.IOrdersApiAsync.UpsertOrdersAsync ( OrderSetRequest orderSetRequest = default(OrderSetRequest?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

UpsertOrders: Upsert Order

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

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

Implemented in Lusid.Sdk.Api.OrdersApi.

◆ UpsertOrdersWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<ResourceListOfOrder> > Lusid.Sdk.Api.IOrdersApiAsync.UpsertOrdersWithHttpInfoAsync ( OrderSetRequest orderSetRequest = default(OrderSetRequest?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken),
ConfigurationOptions opts = null 
)

UpsertOrders: Upsert Order

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

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

Implemented in Lusid.Sdk.Api.OrdersApi.


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