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

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

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

Public Member Functions

System.Threading.Tasks.Task< DeletedEntityResponseDeleteBlockAsync (string scope, string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] DeleteBlock: Delete block More...
 
System.Threading.Tasks.Task< ApiResponse< DeletedEntityResponse > > DeleteBlockWithHttpInfoAsync (string scope, string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] DeleteBlock: Delete block More...
 
System.Threading.Tasks.Task< BlockGetBlockAsync (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))
 [EARLY ACCESS] GetBlock: Get Block More...
 
System.Threading.Tasks.Task< ApiResponse< Block > > GetBlockWithHttpInfoAsync (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))
 [EARLY ACCESS] GetBlock: Get Block More...
 
System.Threading.Tasks.Task< PagedResourceListOfBlockListBlocksAsync (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))
 [EARLY ACCESS] ListBlocks: List Blocks More...
 
System.Threading.Tasks.Task< ApiResponse< PagedResourceListOfBlock > > ListBlocksWithHttpInfoAsync (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))
 [EARLY ACCESS] ListBlocks: List Blocks More...
 
System.Threading.Tasks.Task< ResourceListOfBlockUpsertBlocksAsync (BlockSetRequest? blockSetRequest=default(BlockSetRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] UpsertBlocks: Upsert Block More...
 
System.Threading.Tasks.Task< ApiResponse< ResourceListOfBlock > > UpsertBlocksWithHttpInfoAsync (BlockSetRequest? blockSetRequest=default(BlockSetRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] UpsertBlocks: Upsert Block 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

◆ DeleteBlockAsync()

System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.IBlocksApiAsync.DeleteBlockAsync ( string  scope,
string  code,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] DeleteBlock: Delete block

Delete an block. Deletion will be valid from the block&#39;s creation datetime. This means that the block 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 block scope.
codeThe block&#39;s code. This, together with the scope uniquely identifies the block to delete.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of DeletedEntityResponse

Implemented in Lusid.Sdk.Api.BlocksApi.

◆ DeleteBlockWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.IBlocksApiAsync.DeleteBlockWithHttpInfoAsync ( string  scope,
string  code,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] DeleteBlock: Delete block

Delete an block. Deletion will be valid from the block&#39;s creation datetime. This means that the block 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 block scope.
codeThe block&#39;s code. This, together with the scope uniquely identifies the block to delete.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (DeletedEntityResponse)

Implemented in Lusid.Sdk.Api.BlocksApi.

◆ GetBlockAsync()

System.Threading.Tasks.Task<Block> Lusid.Sdk.Api.IBlocksApiAsync.GetBlockAsync ( 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) 
)

[EARLY ACCESS] GetBlock: Get Block

Fetch a Block that matches the specified identifier

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

Implemented in Lusid.Sdk.Api.BlocksApi.

◆ GetBlockWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<Block> > Lusid.Sdk.Api.IBlocksApiAsync.GetBlockWithHttpInfoAsync ( 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) 
)

[EARLY ACCESS] GetBlock: Get Block

Fetch a Block that matches the specified identifier

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

Implemented in Lusid.Sdk.Api.BlocksApi.

◆ ListBlocksAsync()

System.Threading.Tasks.Task<PagedResourceListOfBlock> Lusid.Sdk.Api.IBlocksApiAsync.ListBlocksAsync ( 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) 
)

[EARLY ACCESS] ListBlocks: List Blocks

Fetch the last pre-AsAt date version of each block 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 block. Defaults to return the latest version of the block if not specified. (optional)
pageThe 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)
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;Block&quot; domain to decorate onto each block. These take the format {domain}/{scope}/{code} e.g. &quot;Block/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of PagedResourceListOfBlock

Implemented in Lusid.Sdk.Api.BlocksApi.

◆ ListBlocksWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<PagedResourceListOfBlock> > Lusid.Sdk.Api.IBlocksApiAsync.ListBlocksWithHttpInfoAsync ( 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) 
)

[EARLY ACCESS] ListBlocks: List Blocks

Fetch the last pre-AsAt date version of each block 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 block. Defaults to return the latest version of the block if not specified. (optional)
pageThe 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)
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;Block&quot; domain to decorate onto each block. These take the format {domain}/{scope}/{code} e.g. &quot;Block/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (PagedResourceListOfBlock)

Implemented in Lusid.Sdk.Api.BlocksApi.

◆ UpsertBlocksAsync()

System.Threading.Tasks.Task<ResourceListOfBlock> Lusid.Sdk.Api.IBlocksApiAsync.UpsertBlocksAsync ( BlockSetRequest blockSetRequest = default(BlockSetRequest?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] UpsertBlocks: Upsert Block

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

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
blockSetRequestThe collection of block requests. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ResourceListOfBlock

Implemented in Lusid.Sdk.Api.BlocksApi.

◆ UpsertBlocksWithHttpInfoAsync()

System.Threading.Tasks.Task<ApiResponse<ResourceListOfBlock> > Lusid.Sdk.Api.IBlocksApiAsync.UpsertBlocksWithHttpInfoAsync ( BlockSetRequest blockSetRequest = default(BlockSetRequest?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)

[EARLY ACCESS] UpsertBlocks: Upsert Block

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

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
blockSetRequestThe collection of block requests. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (ResourceListOfBlock)

Implemented in Lusid.Sdk.Api.BlocksApi.


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