LUSID C# SDK
|
Represents a collection of functions to interact with the API endpoints More...
Public Member Functions | |
DeletedEntityResponse | DeleteBlock (string scope, string code, int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] DeleteBlock: Delete block More... | |
Lusid.Sdk.Client.ApiResponse< DeletedEntityResponse > | DeleteBlockWithHttpInfo (string scope, string code, int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] DeleteBlock: Delete block More... | |
Block | GetBlock (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] GetBlock: Get Block More... | |
Lusid.Sdk.Client.ApiResponse< Block > | GetBlockWithHttpInfo (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] GetBlock: Get Block More... | |
PagedResourceListOfBlock | ListBlocks (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, ConfigurationOptions? opts=null) |
[EARLY ACCESS] ListBlocks: List Blocks More... | |
Lusid.Sdk.Client.ApiResponse< PagedResourceListOfBlock > | ListBlocksWithHttpInfo (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, ConfigurationOptions? opts=null) |
[EARLY ACCESS] ListBlocks: List Blocks More... | |
ResourceListOfBlock | UpsertBlocks (BlockSetRequest? blockSetRequest=default(BlockSetRequest?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] UpsertBlocks: Upsert Block More... | |
Lusid.Sdk.Client.ApiResponse< ResourceListOfBlock > | UpsertBlocksWithHttpInfo (BlockSetRequest? blockSetRequest=default(BlockSetRequest?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] UpsertBlocks: Upsert Block More... | |
Represents a collection of functions to interact with the API endpoints
DeletedEntityResponse Lusid.Sdk.Api.IBlocksApiSync.DeleteBlock | ( | string | scope, |
string | code, | ||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] DeleteBlock: Delete block
Delete an block. Deletion will be valid from the block's creation datetime. This means that the block 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 block scope. |
code | The block's code. This, together with the scope uniquely identifies the block to delete. |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.BlocksApi.
Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> Lusid.Sdk.Api.IBlocksApiSync.DeleteBlockWithHttpInfo | ( | string | scope, |
string | code, | ||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] DeleteBlock: Delete block
Delete an block. Deletion will be valid from the block's creation datetime. This means that the block 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 block scope. |
code | The block's code. This, together with the scope uniquely identifies the block to delete. |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.BlocksApi.
Block Lusid.Sdk.Api.IBlocksApiSync.GetBlock | ( | string | scope, |
string | code, | ||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
List< string >? | propertyKeys = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] GetBlock: Get Block
Fetch a Block that matches the specified identifier
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope to which the block belongs. |
code | The block's unique identifier. |
asAt | The asAt datetime at which to retrieve the block. Defaults to return the latest version of the block if not specified. (optional) |
propertyKeys | A list of property keys from the "Block" domain to decorate onto the block. These take the format {domain}/{scope}/{code} e.g. "Block/system/Name". (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.BlocksApi.
Lusid.Sdk.Client.ApiResponse<Block> Lusid.Sdk.Api.IBlocksApiSync.GetBlockWithHttpInfo | ( | string | scope, |
string | code, | ||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
List< string >? | propertyKeys = default(List< string >?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] GetBlock: Get Block
Fetch a Block that matches the specified identifier
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope to which the block belongs. |
code | The block's unique identifier. |
asAt | The asAt datetime at which to retrieve the block. Defaults to return the latest version of the block if not specified. (optional) |
propertyKeys | A list of property keys from the "Block" domain to decorate onto the block. These take the format {domain}/{scope}/{code} e.g. "Block/system/Name". (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.BlocksApi.
PagedResourceListOfBlock Lusid.Sdk.Api.IBlocksApiSync.ListBlocks | ( | 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 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] ListBlocks: List Blocks
Fetch the last pre-AsAt date version of each block in scope (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 block. Defaults to return the latest version of the block if not specified. (optional) |
page | The pagination token to use to continue listing blocks from a previous call to list blocks. 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 "Block" domain to decorate onto each block. These take the format {domain}/{scope}/{code} e.g. "Block/system/Name". All properties, except derived properties, are returned by default, without specifying here. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.BlocksApi.
Lusid.Sdk.Client.ApiResponse<PagedResourceListOfBlock> Lusid.Sdk.Api.IBlocksApiSync.ListBlocksWithHttpInfo | ( | 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 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] ListBlocks: List Blocks
Fetch the last pre-AsAt date version of each block in scope (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 block. Defaults to return the latest version of the block if not specified. (optional) |
page | The pagination token to use to continue listing blocks from a previous call to list blocks. 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 "Block" domain to decorate onto each block. These take the format {domain}/{scope}/{code} e.g. "Block/system/Name". All properties, except derived properties, are returned by default, without specifying here. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.BlocksApi.
ResourceListOfBlock Lusid.Sdk.Api.IBlocksApiSync.UpsertBlocks | ( | BlockSetRequest? | blockSetRequest = default(BlockSetRequest?) , |
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] UpsertBlocks: Upsert Block
Upsert; update existing blocks with given ids, or create new blocks otherwise.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
blockSetRequest | The collection of block requests. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.BlocksApi.
Lusid.Sdk.Client.ApiResponse<ResourceListOfBlock> Lusid.Sdk.Api.IBlocksApiSync.UpsertBlocksWithHttpInfo | ( | BlockSetRequest? | blockSetRequest = default(BlockSetRequest?) , |
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EARLY ACCESS] UpsertBlocks: Upsert Block
Upsert; update existing blocks with given ids, or create new blocks otherwise.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
blockSetRequest | The collection of block requests. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.BlocksApi.