LUSID C# SDK
|
Represents a collection of functions to interact with the API endpoints More...
Public Member Functions | |
System.Threading.Tasks.Task< DeletedEntityResponse > | DeletePackageAsync (string scope, string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] DeletePackage: Delete package More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< DeletedEntityResponse > > | DeletePackageWithHttpInfoAsync (string scope, string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] DeletePackage: Delete package More... | |
System.Threading.Tasks.Task< Package > | GetPackageAsync (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) |
[EXPERIMENTAL] GetPackage: Get Package More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< Package > > | GetPackageWithHttpInfoAsync (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) |
[EXPERIMENTAL] GetPackage: Get Package More... | |
System.Threading.Tasks.Task< PagedResourceListOfPackage > | ListPackagesAsync (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) |
[EXPERIMENTAL] ListPackages: List Packages More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< PagedResourceListOfPackage > > | ListPackagesWithHttpInfoAsync (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) |
[EXPERIMENTAL] ListPackages: List Packages More... | |
System.Threading.Tasks.Task< ResourceListOfPackage > | UpsertPackagesAsync (PackageSetRequest? packageSetRequest=default(PackageSetRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] UpsertPackages: Upsert Package More... | |
System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfPackage > > | UpsertPackagesWithHttpInfoAsync (PackageSetRequest? packageSetRequest=default(PackageSetRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] UpsertPackages: Upsert Package More... | |
Represents a collection of functions to interact with the API endpoints
System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.IPackagesApiAsync.DeletePackageAsync | ( | string | scope, |
string | code, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] DeletePackage: Delete package
Delete an package. Deletion will be valid from the package's creation datetime. This means that the package 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 package scope. |
code | The package's code. This, together with the scope uniquely identifies the package 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.PackagesApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.IPackagesApiAsync.DeletePackageWithHttpInfoAsync | ( | string | scope, |
string | code, | ||
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] DeletePackage: Delete package
Delete an package. Deletion will be valid from the package's creation datetime. This means that the package 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 package scope. |
code | The package's code. This, together with the scope uniquely identifies the package 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.PackagesApi.
System.Threading.Tasks.Task<Package> Lusid.Sdk.Api.IPackagesApiAsync.GetPackageAsync | ( | 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 |
||
) |
[EXPERIMENTAL] GetPackage: Get Package
Fetch a Package that matches the specified identifier
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope to which the package belongs. |
code | The package's unique identifier. |
asAt | The asAt datetime at which to retrieve the package. Defaults to return the latest version of the package if not specified. (optional) |
propertyKeys | A list of property keys from the "Package" domain to decorate onto the package. These take the format {domain}/{scope}/{code} e.g. "Package/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.PackagesApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<Package> > Lusid.Sdk.Api.IPackagesApiAsync.GetPackageWithHttpInfoAsync | ( | 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 |
||
) |
[EXPERIMENTAL] GetPackage: Get Package
Fetch a Package that matches the specified identifier
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | The scope to which the package belongs. |
code | The package's unique identifier. |
asAt | The asAt datetime at which to retrieve the package. Defaults to return the latest version of the package if not specified. (optional) |
propertyKeys | A list of property keys from the "Package" domain to decorate onto the package. These take the format {domain}/{scope}/{code} e.g. "Package/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.PackagesApi.
System.Threading.Tasks.Task<PagedResourceListOfPackage> Lusid.Sdk.Api.IPackagesApiAsync.ListPackagesAsync | ( | 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 |
||
) |
[EXPERIMENTAL] ListPackages: List Packages
Fetch the last pre-AsAt date version of each package 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 package. Defaults to return the latest version of the package if not specified. (optional) |
page | The pagination token to use to continue listing packages from a previous call to list packages. 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 "Package" domain to decorate onto each package. These take the format {domain}/{scope}/{code} e.g. "Package/system/Name". All properties, except derived properties, are returned by default, without specifying here. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.PackagesApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<PagedResourceListOfPackage> > Lusid.Sdk.Api.IPackagesApiAsync.ListPackagesWithHttpInfoAsync | ( | 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 |
||
) |
[EXPERIMENTAL] ListPackages: List Packages
Fetch the last pre-AsAt date version of each package 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 package. Defaults to return the latest version of the package if not specified. (optional) |
page | The pagination token to use to continue listing packages from a previous call to list packages. 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 "Package" domain to decorate onto each package. These take the format {domain}/{scope}/{code} e.g. "Package/system/Name". All properties, except derived properties, are returned by default, without specifying here. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.PackagesApi.
System.Threading.Tasks.Task<ResourceListOfPackage> Lusid.Sdk.Api.IPackagesApiAsync.UpsertPackagesAsync | ( | PackageSetRequest? | packageSetRequest = default(PackageSetRequest?) , |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] UpsertPackages: Upsert Package
Upsert; update existing packages with given ids, or create new packages otherwise.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
packageSetRequest | The collection of package 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.PackagesApi.
System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfPackage> > Lusid.Sdk.Api.IPackagesApiAsync.UpsertPackagesWithHttpInfoAsync | ( | PackageSetRequest? | packageSetRequest = default(PackageSetRequest?) , |
int | operationIndex = 0 , |
||
System.Threading.CancellationToken | cancellationToken = default(System.Threading.CancellationToken) , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] UpsertPackages: Upsert Package
Upsert; update existing packages with given ids, or create new packages otherwise.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
packageSetRequest | The collection of package 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.PackagesApi.