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

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

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

Public Member Functions

PortfolioEntity GetPortfolioByEntityUniqueId (string entityUniqueId, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? previews=default(List< string >?), int operationIndex=0)
 [EXPERIMENTAL] GetPortfolioByEntityUniqueId: Get portfolio by EntityUniqueId More...
 
ApiResponse< PortfolioEntityGetPortfolioByEntityUniqueIdWithHttpInfo (string entityUniqueId, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? previews=default(List< string >?), int operationIndex=0)
 [EXPERIMENTAL] GetPortfolioByEntityUniqueId: Get portfolio by EntityUniqueId More...
 
ResourceListOfChange GetPortfolioChanges (string scope, DateTimeOrCutLabel effectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0)
 GetPortfolioChanges: Get the next change to each portfolio in a scope. More...
 
ApiResponse< ResourceListOfChangeGetPortfolioChangesWithHttpInfo (string scope, DateTimeOrCutLabel effectiveAt, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0)
 GetPortfolioChanges: Get the next change to each portfolio in a scope. 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

◆ GetPortfolioByEntityUniqueId()

PortfolioEntity Lusid.Sdk.Api.IEntitiesApiSync.GetPortfolioByEntityUniqueId ( string  entityUniqueId,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  previews = default(List< string >?),
int  operationIndex = 0 
)

[EXPERIMENTAL] GetPortfolioByEntityUniqueId: Get portfolio by EntityUniqueId

Retrieve the definition of a particular portfolio. If the portfolio is deleted, this will return the state of the portfolio immediately prior to deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
entityUniqueIdThe universally unique identifier of the portfolio definition.
effectiveAtThe effective datetime or cut label at which to retrieve the portfolio definition. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the portfolio definition. Defaults to returning the latest version of the portfolio definition if not specified. (optional)
previewsThe ids of the staged modifications to be previewed in the response. (optional)
operationIndexIndex associated with the operation.
Returns
PortfolioEntity

Implemented in Lusid.Sdk.Api.EntitiesApi.

◆ GetPortfolioByEntityUniqueIdWithHttpInfo()

ApiResponse<PortfolioEntity> Lusid.Sdk.Api.IEntitiesApiSync.GetPortfolioByEntityUniqueIdWithHttpInfo ( string  entityUniqueId,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  previews = default(List< string >?),
int  operationIndex = 0 
)

[EXPERIMENTAL] GetPortfolioByEntityUniqueId: Get portfolio by EntityUniqueId

Retrieve the definition of a particular portfolio. If the portfolio is deleted, this will return the state of the portfolio immediately prior to deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
entityUniqueIdThe universally unique identifier of the portfolio definition.
effectiveAtThe effective datetime or cut label at which to retrieve the portfolio definition. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve the portfolio definition. Defaults to returning the latest version of the portfolio definition if not specified. (optional)
previewsThe ids of the staged modifications to be previewed in the response. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of PortfolioEntity

Implemented in Lusid.Sdk.Api.EntitiesApi.

◆ GetPortfolioChanges()

ResourceListOfChange Lusid.Sdk.Api.IEntitiesApiSync.GetPortfolioChanges ( string  scope,
DateTimeOrCutLabel  effectiveAt,
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0 
)

GetPortfolioChanges: Get the next change to each portfolio in a scope.

Gets the time of the next (earliest effective at) modification (correction and/or amendment) to each portfolio in a scope relative to a point in bitemporal time. Includes changes from parent portfolios in different scopes. Excludes changes from subscriptions (e.g corporate actions).

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope
effectiveAtThe effective date of the origin.
asAtThe as-at date of the origin. (optional)
operationIndexIndex associated with the operation.
Returns
ResourceListOfChange

Implemented in Lusid.Sdk.Api.EntitiesApi.

◆ GetPortfolioChangesWithHttpInfo()

ApiResponse<ResourceListOfChange> Lusid.Sdk.Api.IEntitiesApiSync.GetPortfolioChangesWithHttpInfo ( string  scope,
DateTimeOrCutLabel  effectiveAt,
DateTimeOffset?  asAt = default(DateTimeOffset?),
int  operationIndex = 0 
)

GetPortfolioChanges: Get the next change to each portfolio in a scope.

Gets the time of the next (earliest effective at) modification (correction and/or amendment) to each portfolio in a scope relative to a point in bitemporal time. Includes changes from parent portfolios in different scopes. Excludes changes from subscriptions (e.g corporate actions).

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope
effectiveAtThe effective date of the origin.
asAtThe as-at date of the origin. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of ResourceListOfChange

Implemented in Lusid.Sdk.Api.EntitiesApi.


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