LUSID C# SDK
|
Represents a collection of functions to interact with the API endpoints More...
Public Member Functions | |
System.Threading.Tasks.Task< DeletedEntityResponse > | DeleteOrderAsync (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< Order > | 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 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< PagedResourceListOfOrder > | 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 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< ResourceListOfOrder > | UpsertOrdersAsync (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... | |
Represents a collection of functions to interact with the API endpoints
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's creation datetime. This means that the order will no longer exist at any effective datetime from the asAt datetime of deletion.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The order scope. |
code | The order's code. This, together with the scope uniquely identifies the order to delete. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrdersApi.
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's creation datetime. This means that the order will no longer exist at any effective datetime from the asAt datetime of deletion.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The order scope. |
code | The order's code. This, together with the scope uniquely identifies the order to delete. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrdersApi.
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.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope to which the order belongs. |
code | The order's unique identifier. |
asAt | The asAt datetime at which to retrieve the order. Defaults to return the latest version of the order if not specified. (optional) |
propertyKeys | A list of property keys from the "Orders" domain to decorate onto the order. These take the format {domain}/{scope}/{code} e.g. "Orders/system/Name". (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrdersApi.
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.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope to which the order belongs. |
code | The order's unique identifier. |
asAt | The asAt datetime at which to retrieve the order. Defaults to return the latest version of the order if not specified. (optional) |
propertyKeys | A list of property keys from the "Orders" domain to decorate onto the order. These take the format {domain}/{scope}/{code} e.g. "Orders/system/Name". (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrdersApi.
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).
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
asAt | The asAt datetime at which to retrieve the order. Defaults to return the latest version of the order if not specified. (optional) |
page | The 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) |
sortBy | A list of field names or properties to sort by, each suffixed by " ASC" or " DESC". (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) |
propertyKeys | A list of property keys from the "Orders" domain to decorate onto each order. These take the format {domain}/{scope}/{code} e.g. "Orders/system/Name". (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrdersApi.
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).
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
asAt | The asAt datetime at which to retrieve the order. Defaults to return the latest version of the order if not specified. (optional) |
page | The 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) |
sortBy | A list of field names or properties to sort by, each suffixed by " ASC" or " DESC". (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) |
propertyKeys | A list of property keys from the "Orders" domain to decorate onto each order. These take the format {domain}/{scope}/{code} e.g. "Orders/system/Name". (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrdersApi.
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.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
orderSetRequest | The collection of order requests. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrdersApi.
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.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
orderSetRequest | The collection of order requests. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.OrdersApi.