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

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

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

Public Member Functions

DeletedEntityResponse DeletePackage (string scope, string code, int operationIndex=0)
 [EXPERIMENTAL] DeletePackage: Delete package More...
 
ApiResponse< DeletedEntityResponseDeletePackageWithHttpInfo (string scope, string code, int operationIndex=0)
 [EXPERIMENTAL] DeletePackage: Delete package More...
 
Package GetPackage (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0)
 [EXPERIMENTAL] GetPackage: Get Package More...
 
ApiResponse< PackageGetPackageWithHttpInfo (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0)
 [EXPERIMENTAL] GetPackage: Get Package More...
 
PagedResourceListOfPackage ListPackages (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)
 [EXPERIMENTAL] ListPackages: List Packages More...
 
ApiResponse< PagedResourceListOfPackageListPackagesWithHttpInfo (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)
 [EXPERIMENTAL] ListPackages: List Packages More...
 
ResourceListOfPackage UpsertPackages (PackageSetRequest? packageSetRequest=default(PackageSetRequest?), int operationIndex=0)
 [EXPERIMENTAL] UpsertPackages: Upsert Package More...
 
ApiResponse< ResourceListOfPackageUpsertPackagesWithHttpInfo (PackageSetRequest? packageSetRequest=default(PackageSetRequest?), int operationIndex=0)
 [EXPERIMENTAL] UpsertPackages: Upsert Package 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

◆ DeletePackage()

DeletedEntityResponse Lusid.Sdk.Api.IPackagesApiSync.DeletePackage ( string  scope,
string  code,
int  operationIndex = 0 
)

[EXPERIMENTAL] DeletePackage: Delete package

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

Implemented in Lusid.Sdk.Api.PackagesApi.

◆ DeletePackageWithHttpInfo()

ApiResponse<DeletedEntityResponse> Lusid.Sdk.Api.IPackagesApiSync.DeletePackageWithHttpInfo ( string  scope,
string  code,
int  operationIndex = 0 
)

[EXPERIMENTAL] DeletePackage: Delete package

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

Implemented in Lusid.Sdk.Api.PackagesApi.

◆ GetPackage()

Package Lusid.Sdk.Api.IPackagesApiSync.GetPackage ( string  scope,
string  code,
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List< string >?),
int  operationIndex = 0 
)

[EXPERIMENTAL] GetPackage: Get Package

Fetch a Package that matches the specified identifier

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

Implemented in Lusid.Sdk.Api.PackagesApi.

◆ GetPackageWithHttpInfo()

ApiResponse<Package> Lusid.Sdk.Api.IPackagesApiSync.GetPackageWithHttpInfo ( string  scope,
string  code,
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List< string >?),
int  operationIndex = 0 
)

[EXPERIMENTAL] GetPackage: Get Package

Fetch a Package that matches the specified identifier

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

Implemented in Lusid.Sdk.Api.PackagesApi.

◆ ListPackages()

PagedResourceListOfPackage Lusid.Sdk.Api.IPackagesApiSync.ListPackages ( 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 
)

[EXPERIMENTAL] ListPackages: List Packages

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

Implemented in Lusid.Sdk.Api.PackagesApi.

◆ ListPackagesWithHttpInfo()

ApiResponse<PagedResourceListOfPackage> Lusid.Sdk.Api.IPackagesApiSync.ListPackagesWithHttpInfo ( 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 
)

[EXPERIMENTAL] ListPackages: List Packages

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

Implemented in Lusid.Sdk.Api.PackagesApi.

◆ UpsertPackages()

ResourceListOfPackage Lusid.Sdk.Api.IPackagesApiSync.UpsertPackages ( PackageSetRequest packageSetRequest = default(PackageSetRequest?),
int  operationIndex = 0 
)

[EXPERIMENTAL] UpsertPackages: Upsert Package

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

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
packageSetRequestThe collection of package requests. (optional)
operationIndexIndex associated with the operation.
Returns
ResourceListOfPackage

Implemented in Lusid.Sdk.Api.PackagesApi.

◆ UpsertPackagesWithHttpInfo()

ApiResponse<ResourceListOfPackage> Lusid.Sdk.Api.IPackagesApiSync.UpsertPackagesWithHttpInfo ( PackageSetRequest packageSetRequest = default(PackageSetRequest?),
int  operationIndex = 0 
)

[EXPERIMENTAL] UpsertPackages: Upsert Package

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

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
packageSetRequestThe collection of package requests. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of ResourceListOfPackage

Implemented in Lusid.Sdk.Api.PackagesApi.


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