LUSID C# SDK
Public Member Functions | Properties | List of all members
Lusid.Sdk.Api.PortfoliosApi Class Reference

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

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

Public Member Functions

 PortfoliosApi ()
 Initializes a new instance of the PortfoliosApi class. More...
 
 PortfoliosApi (String basePath)
 Initializes a new instance of the PortfoliosApi class. More...
 
 PortfoliosApi (Lusid.Sdk.Client.Configuration configuration)
 Initializes a new instance of the PortfoliosApi class using Configuration object More...
 
 PortfoliosApi (Lusid.Sdk.Client.ISynchronousClient client, Lusid.Sdk.Client.IAsynchronousClient asyncClient, Lusid.Sdk.Client.IReadableConfiguration configuration)
 Initializes a new instance of the PortfoliosApi class using a Configuration object and client instance. More...
 
String GetBasePath ()
 Gets the base path of the API client. More...
 
DeletedEntityResponse DeletePortfolio (string scope, string code)
 Delete portfolio Delete a particular portfolio. The deletion will take effect from the portfolio's creation datetime. This means that the portfolio will no longer exist at any effective datetime, as per the asAt datetime of deletion. More...
 
Lusid.Sdk.Client.ApiResponse< DeletedEntityResponseDeletePortfolioWithHttpInfo (string scope, string code)
 Delete portfolio Delete a particular portfolio. The deletion will take effect from the portfolio&#39;s creation datetime. This means that the portfolio will no longer exist at any effective datetime, as per the asAt datetime of deletion. More...
 
async System.Threading.Tasks.Task< DeletedEntityResponseDeletePortfolioAsync (string scope, string code, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Delete portfolio Delete a particular portfolio. The deletion will take effect from the portfolio&#39;s creation datetime. This means that the portfolio will no longer exist at any effective datetime, as per the asAt datetime of deletion. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< DeletedEntityResponse > > DeletePortfolioWithHttpInfoAsync (string scope, string code, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Delete portfolio Delete a particular portfolio. The deletion will take effect from the portfolio&#39;s creation datetime. This means that the portfolio will no longer exist at any effective datetime, as per the asAt datetime of deletion. More...
 
DeletedEntityResponse DeletePortfolioProperties (string scope, string code, List< string > propertyKeys, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel))
 Delete portfolio properties Delete one or more properties from a particular portfolio. If the properties are time-variant then an effective datetime from which to delete properties must be specified. If the properties are perpetual then it is invalid to specify an effective datetime for deletion. More...
 
Lusid.Sdk.Client.ApiResponse< DeletedEntityResponseDeletePortfolioPropertiesWithHttpInfo (string scope, string code, List< string > propertyKeys, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel))
 Delete portfolio properties Delete one or more properties from a particular portfolio. If the properties are time-variant then an effective datetime from which to delete properties must be specified. If the properties are perpetual then it is invalid to specify an effective datetime for deletion. More...
 
async System.Threading.Tasks.Task< DeletedEntityResponseDeletePortfolioPropertiesAsync (string scope, string code, List< string > propertyKeys, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Delete portfolio properties Delete one or more properties from a particular portfolio. If the properties are time-variant then an effective datetime from which to delete properties must be specified. If the properties are perpetual then it is invalid to specify an effective datetime for deletion. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< DeletedEntityResponse > > DeletePortfolioPropertiesWithHttpInfoAsync (string scope, string code, List< string > propertyKeys, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Delete portfolio properties Delete one or more properties from a particular portfolio. If the properties are time-variant then an effective datetime from which to delete properties must be specified. If the properties are perpetual then it is invalid to specify an effective datetime for deletion. More...
 
Portfolio GetPortfolio (string scope, string code, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), List< string > propertyKeys=default(List< string >))
 Get portfolio Retrieve the definition of a particular portfolio. More...
 
Lusid.Sdk.Client.ApiResponse< PortfolioGetPortfolioWithHttpInfo (string scope, string code, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), List< string > propertyKeys=default(List< string >))
 Get portfolio Retrieve the definition of a particular portfolio. More...
 
async System.Threading.Tasks.Task< PortfolioGetPortfolioAsync (string scope, string code, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), List< string > propertyKeys=default(List< string >), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Get portfolio Retrieve the definition of a particular portfolio. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< Portfolio > > GetPortfolioWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), List< string > propertyKeys=default(List< string >), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Get portfolio Retrieve the definition of a particular portfolio. More...
 
ResourceListOfProcessedCommand GetPortfolioCommands (string scope, string code, DateTimeOffset? fromAsAt=default(DateTimeOffset?), DateTimeOffset? toAsAt=default(DateTimeOffset?), string filter=default(string), string page=default(string), int? limit=default(int?))
 [EARLY ACCESS] Get portfolio commands Get all the commands that modified a particular portfolio, including any input transactions. More...
 
Lusid.Sdk.Client.ApiResponse< ResourceListOfProcessedCommandGetPortfolioCommandsWithHttpInfo (string scope, string code, DateTimeOffset? fromAsAt=default(DateTimeOffset?), DateTimeOffset? toAsAt=default(DateTimeOffset?), string filter=default(string), string page=default(string), int? limit=default(int?))
 [EARLY ACCESS] Get portfolio commands Get all the commands that modified a particular portfolio, including any input transactions. More...
 
async System.Threading.Tasks.Task< ResourceListOfProcessedCommandGetPortfolioCommandsAsync (string scope, string code, DateTimeOffset? fromAsAt=default(DateTimeOffset?), DateTimeOffset? toAsAt=default(DateTimeOffset?), string filter=default(string), string page=default(string), int? limit=default(int?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Get portfolio commands Get all the commands that modified a particular portfolio, including any input transactions. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfProcessedCommand > > GetPortfolioCommandsWithHttpInfoAsync (string scope, string code, DateTimeOffset? fromAsAt=default(DateTimeOffset?), DateTimeOffset? toAsAt=default(DateTimeOffset?), string filter=default(string), string page=default(string), int? limit=default(int?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Get portfolio commands Get all the commands that modified a particular portfolio, including any input transactions. More...
 
PortfolioProperties GetPortfolioProperties (string scope, string code, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?))
 Get portfolio properties List all the properties of a particular portfolio. More...
 
Lusid.Sdk.Client.ApiResponse< PortfolioPropertiesGetPortfolioPropertiesWithHttpInfo (string scope, string code, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?))
 Get portfolio properties List all the properties of a particular portfolio. More...
 
async System.Threading.Tasks.Task< PortfolioPropertiesGetPortfolioPropertiesAsync (string scope, string code, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Get portfolio properties List all the properties of a particular portfolio. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< PortfolioProperties > > GetPortfolioPropertiesWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Get portfolio properties List all the properties of a particular portfolio. More...
 
ResourceListOfPerformanceReturn GetPortfolioReturns (string scope, string code, string returnScope, string returnCode, DateTimeOrCutLabel fromEffectiveAt=default(DateTimeOrCutLabel), DateTimeOrCutLabel toEffectiveAt=default(DateTimeOrCutLabel), string period=default(string), DateTimeOffset? asAt=default(DateTimeOffset?))
 [EARLY ACCESS] Get Returns Get Returns which are on the specified portfolio. More...
 
Lusid.Sdk.Client.ApiResponse< ResourceListOfPerformanceReturnGetPortfolioReturnsWithHttpInfo (string scope, string code, string returnScope, string returnCode, DateTimeOrCutLabel fromEffectiveAt=default(DateTimeOrCutLabel), DateTimeOrCutLabel toEffectiveAt=default(DateTimeOrCutLabel), string period=default(string), DateTimeOffset? asAt=default(DateTimeOffset?))
 [EARLY ACCESS] Get Returns Get Returns which are on the specified portfolio. More...
 
async System.Threading.Tasks.Task< ResourceListOfPerformanceReturnGetPortfolioReturnsAsync (string scope, string code, string returnScope, string returnCode, DateTimeOrCutLabel fromEffectiveAt=default(DateTimeOrCutLabel), DateTimeOrCutLabel toEffectiveAt=default(DateTimeOrCutLabel), string period=default(string), DateTimeOffset? asAt=default(DateTimeOffset?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Get Returns Get Returns which are on the specified portfolio. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfPerformanceReturn > > GetPortfolioReturnsWithHttpInfoAsync (string scope, string code, string returnScope, string returnCode, DateTimeOrCutLabel fromEffectiveAt=default(DateTimeOrCutLabel), DateTimeOrCutLabel toEffectiveAt=default(DateTimeOrCutLabel), string period=default(string), DateTimeOffset? asAt=default(DateTimeOffset?), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Get Returns Get Returns which are on the specified portfolio. More...
 
ResourceListOfPortfolio ListPortfolios (DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), string page=default(string), int? start=default(int?), int? limit=default(int?), string filter=default(string), string query=default(string), List< string > propertyKeys=default(List< string >))
 List portfolios List all the portfolios matching particular criteria. More...
 
Lusid.Sdk.Client.ApiResponse< ResourceListOfPortfolioListPortfoliosWithHttpInfo (DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), string page=default(string), int? start=default(int?), int? limit=default(int?), string filter=default(string), string query=default(string), List< string > propertyKeys=default(List< string >))
 List portfolios List all the portfolios matching particular criteria. More...
 
async System.Threading.Tasks.Task< ResourceListOfPortfolioListPortfoliosAsync (DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), string page=default(string), int? start=default(int?), int? limit=default(int?), string filter=default(string), string query=default(string), List< string > propertyKeys=default(List< string >), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 List portfolios List all the portfolios matching particular criteria. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfPortfolio > > ListPortfoliosWithHttpInfoAsync (DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), string page=default(string), int? start=default(int?), int? limit=default(int?), string filter=default(string), string query=default(string), List< string > propertyKeys=default(List< string >), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 List portfolios List all the portfolios matching particular criteria. More...
 
ResourceListOfPortfolio ListPortfoliosForScope (string scope, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), string page=default(string), int? start=default(int?), int? limit=default(int?), string filter=default(string), List< string > propertyKeys=default(List< string >))
 List portfolios for scope List all the portfolios in a particular scope. More...
 
Lusid.Sdk.Client.ApiResponse< ResourceListOfPortfolioListPortfoliosForScopeWithHttpInfo (string scope, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), string page=default(string), int? start=default(int?), int? limit=default(int?), string filter=default(string), List< string > propertyKeys=default(List< string >))
 List portfolios for scope List all the portfolios in a particular scope. More...
 
async System.Threading.Tasks.Task< ResourceListOfPortfolioListPortfoliosForScopeAsync (string scope, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), string page=default(string), int? start=default(int?), int? limit=default(int?), string filter=default(string), List< string > propertyKeys=default(List< string >), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 List portfolios for scope List all the portfolios in a particular scope. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfPortfolio > > ListPortfoliosForScopeWithHttpInfoAsync (string scope, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), DateTimeOffset? asAt=default(DateTimeOffset?), string page=default(string), int? start=default(int?), int? limit=default(int?), string filter=default(string), List< string > propertyKeys=default(List< string >), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 List portfolios for scope List all the portfolios in a particular scope. More...
 
Portfolio UpdatePortfolio (string scope, string code, UpdatePortfolioRequest updatePortfolioRequest, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel))
 Update portfolio Update the definition of a particular portfolio. Note that not all elements of a portfolio definition are modifiable due to the potential implications for data already stored. More...
 
Lusid.Sdk.Client.ApiResponse< PortfolioUpdatePortfolioWithHttpInfo (string scope, string code, UpdatePortfolioRequest updatePortfolioRequest, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel))
 Update portfolio Update the definition of a particular portfolio. Note that not all elements of a portfolio definition are modifiable due to the potential implications for data already stored. More...
 
async System.Threading.Tasks.Task< PortfolioUpdatePortfolioAsync (string scope, string code, UpdatePortfolioRequest updatePortfolioRequest, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Update portfolio Update the definition of a particular portfolio. Note that not all elements of a portfolio definition are modifiable due to the potential implications for data already stored. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< Portfolio > > UpdatePortfolioWithHttpInfoAsync (string scope, string code, UpdatePortfolioRequest updatePortfolioRequest, DateTimeOrCutLabel effectiveAt=default(DateTimeOrCutLabel), System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Update portfolio Update the definition of a particular portfolio. Note that not all elements of a portfolio definition are modifiable due to the potential implications for data already stored. More...
 
PortfolioProperties UpsertPortfolioProperties (string scope, string code, Dictionary< string, Property > requestBody)
 Upsert portfolio properties Create or update one or more properties for a particular portfolio. A property is updated if it already exists and created if it does not. All properties must be from the &#39;Portfolio&#39; domain. Properties have an <i>effectiveFrom</i> datetime from which the property is valid, and an <i>effectiveUntil</i> datetime until which it is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property. More...
 
Lusid.Sdk.Client.ApiResponse< PortfolioPropertiesUpsertPortfolioPropertiesWithHttpInfo (string scope, string code, Dictionary< string, Property > requestBody)
 Upsert portfolio properties Create or update one or more properties for a particular portfolio. A property is updated if it already exists and created if it does not. All properties must be from the &#39;Portfolio&#39; domain. Properties have an <i>effectiveFrom</i> datetime from which the property is valid, and an <i>effectiveUntil</i> datetime until which it is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property. More...
 
async System.Threading.Tasks.Task< PortfolioPropertiesUpsertPortfolioPropertiesAsync (string scope, string code, Dictionary< string, Property > requestBody, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Upsert portfolio properties Create or update one or more properties for a particular portfolio. A property is updated if it already exists and created if it does not. All properties must be from the &#39;Portfolio&#39; domain. Properties have an <i>effectiveFrom</i> datetime from which the property is valid, and an <i>effectiveUntil</i> datetime until which it is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< PortfolioProperties > > UpsertPortfolioPropertiesWithHttpInfoAsync (string scope, string code, Dictionary< string, Property > requestBody, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 Upsert portfolio properties Create or update one or more properties for a particular portfolio. A property is updated if it already exists and created if it does not. All properties must be from the &#39;Portfolio&#39; domain. Properties have an <i>effectiveFrom</i> datetime from which the property is valid, and an <i>effectiveUntil</i> datetime until which it is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property. More...
 
UpsertReturnsResponse UpsertPortfolioReturns (string scope, string code, string returnScope, string returnCode, List< PerformanceReturn > performanceReturn)
 [EARLY ACCESS] Upsert Returns Update or insert returns into the specified portfolio. More...
 
Lusid.Sdk.Client.ApiResponse< UpsertReturnsResponseUpsertPortfolioReturnsWithHttpInfo (string scope, string code, string returnScope, string returnCode, List< PerformanceReturn > performanceReturn)
 [EARLY ACCESS] Upsert Returns Update or insert returns into the specified portfolio. More...
 
async System.Threading.Tasks.Task< UpsertReturnsResponseUpsertPortfolioReturnsAsync (string scope, string code, string returnScope, string returnCode, List< PerformanceReturn > performanceReturn, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Upsert Returns Update or insert returns into the specified portfolio. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< UpsertReturnsResponse > > UpsertPortfolioReturnsWithHttpInfoAsync (string scope, string code, string returnScope, string returnCode, List< PerformanceReturn > performanceReturn, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] Upsert Returns Update or insert returns into the specified portfolio. More...
 

Properties

Lusid.Sdk.Client.IAsynchronousClient AsynchronousClient [get, set]
 The client for accessing this underlying API asynchronously. More...
 
Lusid.Sdk.Client.ISynchronousClient Client [get, set]
 The client for accessing this underlying API synchronously. More...
 
Lusid.Sdk.Client.IReadableConfiguration Configuration [get, set]
 Gets or sets the configuration object More...
 
Lusid.Sdk.Client.ExceptionFactory ExceptionFactory [get, set]
 Provides a factory method hook for the creation of exceptions. More...
 
- 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

Constructor & Destructor Documentation

◆ PortfoliosApi() [1/4]

Lusid.Sdk.Api.PortfoliosApi.PortfoliosApi ( )
inline

Initializes a new instance of the PortfoliosApi class.

Returns

◆ PortfoliosApi() [2/4]

Lusid.Sdk.Api.PortfoliosApi.PortfoliosApi ( String  basePath)
inline

Initializes a new instance of the PortfoliosApi class.

Returns

◆ PortfoliosApi() [3/4]

Lusid.Sdk.Api.PortfoliosApi.PortfoliosApi ( Lusid.Sdk.Client.Configuration  configuration)
inline

Initializes a new instance of the PortfoliosApi class using Configuration object

Parameters
configurationAn instance of Configuration
Returns

◆ PortfoliosApi() [4/4]

Lusid.Sdk.Api.PortfoliosApi.PortfoliosApi ( Lusid.Sdk.Client.ISynchronousClient  client,
Lusid.Sdk.Client.IAsynchronousClient  asyncClient,
Lusid.Sdk.Client.IReadableConfiguration  configuration 
)
inline

Initializes a new instance of the PortfoliosApi class using a Configuration object and client instance.

Parameters
clientThe client interface for synchronous API access.
asyncClientThe client interface for asynchronous API access.
configurationThe configuration object.

Member Function Documentation

◆ DeletePortfolio()

DeletedEntityResponse Lusid.Sdk.Api.PortfoliosApi.DeletePortfolio ( string  scope,
string  code 
)
inline

Delete portfolio Delete a particular portfolio. The deletion will take effect from the portfolio&#39;s creation datetime. This means that the portfolio will no longer exist at any effective datetime, as per the asAt datetime of deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
Returns
DeletedEntityResponse

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ DeletePortfolioAsync()

async System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.PortfoliosApi.DeletePortfolioAsync ( string  scope,
string  code,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

Delete portfolio Delete a particular portfolio. The deletion will take effect from the portfolio&#39;s creation datetime. This means that the portfolio will no longer exist at any effective datetime, as per the asAt datetime of deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of DeletedEntityResponse

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ DeletePortfolioProperties()

DeletedEntityResponse Lusid.Sdk.Api.PortfoliosApi.DeletePortfolioProperties ( string  scope,
string  code,
List< string >  propertyKeys,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel) 
)
inline

Delete portfolio properties Delete one or more properties from a particular portfolio. If the properties are time-variant then an effective datetime from which to delete properties must be specified. If the properties are perpetual then it is invalid to specify an effective datetime for deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
propertyKeysThe property keys of the properties to delete. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. Each property must be from the &#39;Portfolio&#39; domain.
effectiveAtThe effective datetime or cut label at which to delete time-variant properties. (optional)
Returns
DeletedEntityResponse

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ DeletePortfolioPropertiesAsync()

async System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.PortfoliosApi.DeletePortfolioPropertiesAsync ( string  scope,
string  code,
List< string >  propertyKeys,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

Delete portfolio properties Delete one or more properties from a particular portfolio. If the properties are time-variant then an effective datetime from which to delete properties must be specified. If the properties are perpetual then it is invalid to specify an effective datetime for deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
propertyKeysThe property keys of the properties to delete. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. Each property must be from the &#39;Portfolio&#39; domain.
effectiveAtThe effective datetime or cut label at which to delete time-variant properties. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of DeletedEntityResponse

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ DeletePortfolioPropertiesWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> Lusid.Sdk.Api.PortfoliosApi.DeletePortfolioPropertiesWithHttpInfo ( string  scope,
string  code,
List< string >  propertyKeys,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel) 
)
inline

Delete portfolio properties Delete one or more properties from a particular portfolio. If the properties are time-variant then an effective datetime from which to delete properties must be specified. If the properties are perpetual then it is invalid to specify an effective datetime for deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
propertyKeysThe property keys of the properties to delete. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. Each property must be from the &#39;Portfolio&#39; domain.
effectiveAtThe effective datetime or cut label at which to delete time-variant properties. (optional)
Returns
ApiResponse of DeletedEntityResponse

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ DeletePortfolioPropertiesWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.PortfoliosApi.DeletePortfolioPropertiesWithHttpInfoAsync ( string  scope,
string  code,
List< string >  propertyKeys,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

Delete portfolio properties Delete one or more properties from a particular portfolio. If the properties are time-variant then an effective datetime from which to delete properties must be specified. If the properties are perpetual then it is invalid to specify an effective datetime for deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
propertyKeysThe property keys of the properties to delete. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. Each property must be from the &#39;Portfolio&#39; domain.
effectiveAtThe effective datetime or cut label at which to delete time-variant properties. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (DeletedEntityResponse)

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ DeletePortfolioWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> Lusid.Sdk.Api.PortfoliosApi.DeletePortfolioWithHttpInfo ( string  scope,
string  code 
)
inline

Delete portfolio Delete a particular portfolio. The deletion will take effect from the portfolio&#39;s creation datetime. This means that the portfolio will no longer exist at any effective datetime, as per the asAt datetime of deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
Returns
ApiResponse of DeletedEntityResponse

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ DeletePortfolioWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.PortfoliosApi.DeletePortfolioWithHttpInfoAsync ( string  scope,
string  code,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

Delete portfolio Delete a particular portfolio. The deletion will take effect from the portfolio&#39;s creation datetime. This means that the portfolio will no longer exist at any effective datetime, as per the asAt datetime of deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (DeletedEntityResponse)

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ GetBasePath()

String Lusid.Sdk.Api.PortfoliosApi.GetBasePath ( )
inline

Gets the base path of the API client.

The base path

Implements Lusid.Sdk.Client.IApiAccessor.

◆ GetPortfolio()

Portfolio Lusid.Sdk.Api.PortfoliosApi.GetPortfolio ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >  propertyKeys = default(List<string>) 
)
inline

Get portfolio Retrieve the definition of a particular portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
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)
propertyKeysA list of property keys from the &#39;Portfolio&#39; domain to decorate onto the portfolio. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. (optional)
Returns
Portfolio

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ GetPortfolioAsync()

async System.Threading.Tasks.Task<Portfolio> Lusid.Sdk.Api.PortfoliosApi.GetPortfolioAsync ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >  propertyKeys = default(List<string>),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

Get portfolio Retrieve the definition of a particular portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
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)
propertyKeysA list of property keys from the &#39;Portfolio&#39; domain to decorate onto the portfolio. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of Portfolio

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ GetPortfolioCommands()

ResourceListOfProcessedCommand Lusid.Sdk.Api.PortfoliosApi.GetPortfolioCommands ( string  scope,
string  code,
DateTimeOffset?  fromAsAt = default(DateTimeOffset?),
DateTimeOffset?  toAsAt = default(DateTimeOffset?),
string  filter = default(string),
string  page = default(string),
int?  limit = default(int?) 
)
inline

[EARLY ACCESS] Get portfolio commands Get all the commands that modified a particular portfolio, including any input transactions.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
fromAsAtThe lower bound asAt datetime (inclusive) from which to retrieve commands. There is no lower bound if this is not specified. (optional)
toAsAtThe upper bound asAt datetime (inclusive) from which to retrieve commands. There is no upper bound if this is not specified. (optional)
filterExpression to filter the results. For example, to filter on the User ID, specify &quot;userId.id eq &#39;string&#39;&quot;. For more information about filtering, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
pageThe pagination token to use to continue listing commands; this value is returned from the previous call. (optional)
limitWhen paginating, limit the results to this number. Defaults to 500 if not specified. (optional)
Returns
ResourceListOfProcessedCommand

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ GetPortfolioCommandsAsync()

async System.Threading.Tasks.Task<ResourceListOfProcessedCommand> Lusid.Sdk.Api.PortfoliosApi.GetPortfolioCommandsAsync ( string  scope,
string  code,
DateTimeOffset?  fromAsAt = default(DateTimeOffset?),
DateTimeOffset?  toAsAt = default(DateTimeOffset?),
string  filter = default(string),
string  page = default(string),
int?  limit = default(int?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EARLY ACCESS] Get portfolio commands Get all the commands that modified a particular portfolio, including any input transactions.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
fromAsAtThe lower bound asAt datetime (inclusive) from which to retrieve commands. There is no lower bound if this is not specified. (optional)
toAsAtThe upper bound asAt datetime (inclusive) from which to retrieve commands. There is no upper bound if this is not specified. (optional)
filterExpression to filter the results. For example, to filter on the User ID, specify &quot;userId.id eq &#39;string&#39;&quot;. For more information about filtering, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
pageThe pagination token to use to continue listing commands; this value is returned from the previous call. (optional)
limitWhen paginating, limit the results to this number. Defaults to 500 if not specified. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ResourceListOfProcessedCommand

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ GetPortfolioCommandsWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<ResourceListOfProcessedCommand> Lusid.Sdk.Api.PortfoliosApi.GetPortfolioCommandsWithHttpInfo ( string  scope,
string  code,
DateTimeOffset?  fromAsAt = default(DateTimeOffset?),
DateTimeOffset?  toAsAt = default(DateTimeOffset?),
string  filter = default(string),
string  page = default(string),
int?  limit = default(int?) 
)
inline

[EARLY ACCESS] Get portfolio commands Get all the commands that modified a particular portfolio, including any input transactions.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
fromAsAtThe lower bound asAt datetime (inclusive) from which to retrieve commands. There is no lower bound if this is not specified. (optional)
toAsAtThe upper bound asAt datetime (inclusive) from which to retrieve commands. There is no upper bound if this is not specified. (optional)
filterExpression to filter the results. For example, to filter on the User ID, specify &quot;userId.id eq &#39;string&#39;&quot;. For more information about filtering, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
pageThe pagination token to use to continue listing commands; this value is returned from the previous call. (optional)
limitWhen paginating, limit the results to this number. Defaults to 500 if not specified. (optional)
Returns
ApiResponse of ResourceListOfProcessedCommand

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ GetPortfolioCommandsWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfProcessedCommand> > Lusid.Sdk.Api.PortfoliosApi.GetPortfolioCommandsWithHttpInfoAsync ( string  scope,
string  code,
DateTimeOffset?  fromAsAt = default(DateTimeOffset?),
DateTimeOffset?  toAsAt = default(DateTimeOffset?),
string  filter = default(string),
string  page = default(string),
int?  limit = default(int?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EARLY ACCESS] Get portfolio commands Get all the commands that modified a particular portfolio, including any input transactions.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
fromAsAtThe lower bound asAt datetime (inclusive) from which to retrieve commands. There is no lower bound if this is not specified. (optional)
toAsAtThe upper bound asAt datetime (inclusive) from which to retrieve commands. There is no upper bound if this is not specified. (optional)
filterExpression to filter the results. For example, to filter on the User ID, specify &quot;userId.id eq &#39;string&#39;&quot;. For more information about filtering, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
pageThe pagination token to use to continue listing commands; this value is returned from the previous call. (optional)
limitWhen paginating, limit the results to this number. Defaults to 500 if not specified. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (ResourceListOfProcessedCommand)

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ GetPortfolioProperties()

PortfolioProperties Lusid.Sdk.Api.PortfoliosApi.GetPortfolioProperties ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?) 
)
inline

Get portfolio properties List all the properties of a particular portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
effectiveAtThe effective datetime or cut label at which to list the portfolio&#39;s properties. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the portfolio&#39;s properties. Defaults to returning the latest version of each property if not specified. (optional)
Returns
PortfolioProperties

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ GetPortfolioPropertiesAsync()

async System.Threading.Tasks.Task<PortfolioProperties> Lusid.Sdk.Api.PortfoliosApi.GetPortfolioPropertiesAsync ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

Get portfolio properties List all the properties of a particular portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
effectiveAtThe effective datetime or cut label at which to list the portfolio&#39;s properties. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the portfolio&#39;s properties. Defaults to returning the latest version of each property if not specified. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of PortfolioProperties

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ GetPortfolioPropertiesWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<PortfolioProperties> Lusid.Sdk.Api.PortfoliosApi.GetPortfolioPropertiesWithHttpInfo ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?) 
)
inline

Get portfolio properties List all the properties of a particular portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
effectiveAtThe effective datetime or cut label at which to list the portfolio&#39;s properties. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the portfolio&#39;s properties. Defaults to returning the latest version of each property if not specified. (optional)
Returns
ApiResponse of PortfolioProperties

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ GetPortfolioPropertiesWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<PortfolioProperties> > Lusid.Sdk.Api.PortfoliosApi.GetPortfolioPropertiesWithHttpInfoAsync ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

Get portfolio properties List all the properties of a particular portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
effectiveAtThe effective datetime or cut label at which to list the portfolio&#39;s properties. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the portfolio&#39;s properties. Defaults to returning the latest version of each property if not specified. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (PortfolioProperties)

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ GetPortfolioReturns()

ResourceListOfPerformanceReturn Lusid.Sdk.Api.PortfoliosApi.GetPortfolioReturns ( string  scope,
string  code,
string  returnScope,
string  returnCode,
DateTimeOrCutLabel  fromEffectiveAt = default(DateTimeOrCutLabel),
DateTimeOrCutLabel  toEffectiveAt = default(DateTimeOrCutLabel),
string  period = default(string),
DateTimeOffset?  asAt = default(DateTimeOffset?) 
)
inline

[EARLY ACCESS] Get Returns Get Returns which are on the specified portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the Portfolio.
codeThe code of the Portfolio.
returnScopeThe scope of the Returns.
returnCodeThe code of the Returns.
fromEffectiveAtThe start date from which to get the Returns. (optional)
toEffectiveAtThe end date from which to get the Returns. (optional)
periodShow the Returns on a Daily or Monthly period. (optional)
asAtThe asAt datetime at which to retrieve the Returns. Defaults to the latest. (optional)
Returns
ResourceListOfPerformanceReturn

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ GetPortfolioReturnsAsync()

async System.Threading.Tasks.Task<ResourceListOfPerformanceReturn> Lusid.Sdk.Api.PortfoliosApi.GetPortfolioReturnsAsync ( string  scope,
string  code,
string  returnScope,
string  returnCode,
DateTimeOrCutLabel  fromEffectiveAt = default(DateTimeOrCutLabel),
DateTimeOrCutLabel  toEffectiveAt = default(DateTimeOrCutLabel),
string  period = default(string),
DateTimeOffset?  asAt = default(DateTimeOffset?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EARLY ACCESS] Get Returns Get Returns which are on the specified portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the Portfolio.
codeThe code of the Portfolio.
returnScopeThe scope of the Returns.
returnCodeThe code of the Returns.
fromEffectiveAtThe start date from which to get the Returns. (optional)
toEffectiveAtThe end date from which to get the Returns. (optional)
periodShow the Returns on a Daily or Monthly period. (optional)
asAtThe asAt datetime at which to retrieve the Returns. Defaults to the latest. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ResourceListOfPerformanceReturn

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ GetPortfolioReturnsWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<ResourceListOfPerformanceReturn> Lusid.Sdk.Api.PortfoliosApi.GetPortfolioReturnsWithHttpInfo ( string  scope,
string  code,
string  returnScope,
string  returnCode,
DateTimeOrCutLabel  fromEffectiveAt = default(DateTimeOrCutLabel),
DateTimeOrCutLabel  toEffectiveAt = default(DateTimeOrCutLabel),
string  period = default(string),
DateTimeOffset?  asAt = default(DateTimeOffset?) 
)
inline

[EARLY ACCESS] Get Returns Get Returns which are on the specified portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the Portfolio.
codeThe code of the Portfolio.
returnScopeThe scope of the Returns.
returnCodeThe code of the Returns.
fromEffectiveAtThe start date from which to get the Returns. (optional)
toEffectiveAtThe end date from which to get the Returns. (optional)
periodShow the Returns on a Daily or Monthly period. (optional)
asAtThe asAt datetime at which to retrieve the Returns. Defaults to the latest. (optional)
Returns
ApiResponse of ResourceListOfPerformanceReturn

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ GetPortfolioReturnsWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfPerformanceReturn> > Lusid.Sdk.Api.PortfoliosApi.GetPortfolioReturnsWithHttpInfoAsync ( string  scope,
string  code,
string  returnScope,
string  returnCode,
DateTimeOrCutLabel  fromEffectiveAt = default(DateTimeOrCutLabel),
DateTimeOrCutLabel  toEffectiveAt = default(DateTimeOrCutLabel),
string  period = default(string),
DateTimeOffset?  asAt = default(DateTimeOffset?),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EARLY ACCESS] Get Returns Get Returns which are on the specified portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the Portfolio.
codeThe code of the Portfolio.
returnScopeThe scope of the Returns.
returnCodeThe code of the Returns.
fromEffectiveAtThe start date from which to get the Returns. (optional)
toEffectiveAtThe end date from which to get the Returns. (optional)
periodShow the Returns on a Daily or Monthly period. (optional)
asAtThe asAt datetime at which to retrieve the Returns. Defaults to the latest. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (ResourceListOfPerformanceReturn)

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ GetPortfolioWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<Portfolio> Lusid.Sdk.Api.PortfoliosApi.GetPortfolioWithHttpInfo ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >  propertyKeys = default(List<string>) 
)
inline

Get portfolio Retrieve the definition of a particular portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
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)
propertyKeysA list of property keys from the &#39;Portfolio&#39; domain to decorate onto the portfolio. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. (optional)
Returns
ApiResponse of Portfolio

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ GetPortfolioWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<Portfolio> > Lusid.Sdk.Api.PortfoliosApi.GetPortfolioWithHttpInfoAsync ( string  scope,
string  code,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >  propertyKeys = default(List<string>),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

Get portfolio Retrieve the definition of a particular portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
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)
propertyKeysA list of property keys from the &#39;Portfolio&#39; domain to decorate onto the portfolio. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (Portfolio)

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ ListPortfolios()

ResourceListOfPortfolio Lusid.Sdk.Api.PortfoliosApi.ListPortfolios ( DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string  page = default(string),
int?  start = default(int?),
int?  limit = default(int?),
string  filter = default(string),
string  query = default(string),
List< string >  propertyKeys = default(List<string>) 
)
inline

List portfolios List all the portfolios matching particular criteria.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
effectiveAtThe effective datetime or cut label at which to list the portfolios. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the portfolios. Defaults to returning the latest version of each portfolio if not specified. (optional)
pageThe pagination token to use to continue listing portfolios; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided. (optional)
startWhen paginating, skip this number of results. (optional)
limitWhen paginating, limit the results to this number. Defaults to 65,535 if not specified. (optional)
filterExpression to filter the results. For example, to filter on the transaction type, specify &quot;type eq &#39;Transaction&#39;&quot;. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
queryExpression specifying the criteria that the returned portfolios must meet. For example, to see which portfolios have holdings in instruments with a LusidInstrumentId (LUID) of &#39;LUID_PPA8HI6M&#39; or a Figi of &#39;BBG000BLNNH6&#39;, specify &quot;instrument.identifiers in ((&#39;LusidInstrumentId&#39;, &#39;LUID_PPA8HI6M&#39;), (&#39;Figi&#39;, &#39;BBG000BLNNH6&#39;))&quot;. (optional)
propertyKeysA list of property keys from the &#39;Portfolio&#39; domain to decorate onto each portfolio. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. (optional)
Returns
ResourceListOfPortfolio

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ ListPortfoliosAsync()

async System.Threading.Tasks.Task<ResourceListOfPortfolio> Lusid.Sdk.Api.PortfoliosApi.ListPortfoliosAsync ( DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string  page = default(string),
int?  start = default(int?),
int?  limit = default(int?),
string  filter = default(string),
string  query = default(string),
List< string >  propertyKeys = default(List<string>),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

List portfolios List all the portfolios matching particular criteria.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
effectiveAtThe effective datetime or cut label at which to list the portfolios. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the portfolios. Defaults to returning the latest version of each portfolio if not specified. (optional)
pageThe pagination token to use to continue listing portfolios; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided. (optional)
startWhen paginating, skip this number of results. (optional)
limitWhen paginating, limit the results to this number. Defaults to 65,535 if not specified. (optional)
filterExpression to filter the results. For example, to filter on the transaction type, specify &quot;type eq &#39;Transaction&#39;&quot;. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
queryExpression specifying the criteria that the returned portfolios must meet. For example, to see which portfolios have holdings in instruments with a LusidInstrumentId (LUID) of &#39;LUID_PPA8HI6M&#39; or a Figi of &#39;BBG000BLNNH6&#39;, specify &quot;instrument.identifiers in ((&#39;LusidInstrumentId&#39;, &#39;LUID_PPA8HI6M&#39;), (&#39;Figi&#39;, &#39;BBG000BLNNH6&#39;))&quot;. (optional)
propertyKeysA list of property keys from the &#39;Portfolio&#39; domain to decorate onto each portfolio. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ResourceListOfPortfolio

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ ListPortfoliosForScope()

ResourceListOfPortfolio Lusid.Sdk.Api.PortfoliosApi.ListPortfoliosForScope ( string  scope,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string  page = default(string),
int?  start = default(int?),
int?  limit = default(int?),
string  filter = default(string),
List< string >  propertyKeys = default(List<string>) 
)
inline

List portfolios for scope List all the portfolios in a particular scope.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope whose portfolios to list.
effectiveAtThe effective datetime or cut label at which to list the portfolios. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the portfolios. Defaults to returning the latest version of each portfolio if not specified. (optional)
pageThe pagination token to use to continue listing portfolios. This value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided. (optional)
startWhen paginating, skip this number of results. (optional)
limitWhen paginating, limit the results to this number. Defaults to 65,535 if not specified. (optional)
filterExpression to filter the results. For example, to return only transactions with a transaction type of &#39;Buy&#39;, specify &quot;type eq &#39;Buy&#39;&quot;. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
propertyKeysA list of property keys from the &#39;Portfolio&#39; domain to decorate onto each portfolio. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. (optional)
Returns
ResourceListOfPortfolio

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ ListPortfoliosForScopeAsync()

async System.Threading.Tasks.Task<ResourceListOfPortfolio> Lusid.Sdk.Api.PortfoliosApi.ListPortfoliosForScopeAsync ( string  scope,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string  page = default(string),
int?  start = default(int?),
int?  limit = default(int?),
string  filter = default(string),
List< string >  propertyKeys = default(List<string>),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

List portfolios for scope List all the portfolios in a particular scope.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope whose portfolios to list.
effectiveAtThe effective datetime or cut label at which to list the portfolios. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the portfolios. Defaults to returning the latest version of each portfolio if not specified. (optional)
pageThe pagination token to use to continue listing portfolios. This value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided. (optional)
startWhen paginating, skip this number of results. (optional)
limitWhen paginating, limit the results to this number. Defaults to 65,535 if not specified. (optional)
filterExpression to filter the results. For example, to return only transactions with a transaction type of &#39;Buy&#39;, specify &quot;type eq &#39;Buy&#39;&quot;. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
propertyKeysA list of property keys from the &#39;Portfolio&#39; domain to decorate onto each portfolio. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ResourceListOfPortfolio

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ ListPortfoliosForScopeWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<ResourceListOfPortfolio> Lusid.Sdk.Api.PortfoliosApi.ListPortfoliosForScopeWithHttpInfo ( string  scope,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string  page = default(string),
int?  start = default(int?),
int?  limit = default(int?),
string  filter = default(string),
List< string >  propertyKeys = default(List<string>) 
)
inline

List portfolios for scope List all the portfolios in a particular scope.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope whose portfolios to list.
effectiveAtThe effective datetime or cut label at which to list the portfolios. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the portfolios. Defaults to returning the latest version of each portfolio if not specified. (optional)
pageThe pagination token to use to continue listing portfolios. This value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided. (optional)
startWhen paginating, skip this number of results. (optional)
limitWhen paginating, limit the results to this number. Defaults to 65,535 if not specified. (optional)
filterExpression to filter the results. For example, to return only transactions with a transaction type of &#39;Buy&#39;, specify &quot;type eq &#39;Buy&#39;&quot;. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
propertyKeysA list of property keys from the &#39;Portfolio&#39; domain to decorate onto each portfolio. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. (optional)
Returns
ApiResponse of ResourceListOfPortfolio

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ ListPortfoliosForScopeWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfPortfolio> > Lusid.Sdk.Api.PortfoliosApi.ListPortfoliosForScopeWithHttpInfoAsync ( string  scope,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string  page = default(string),
int?  start = default(int?),
int?  limit = default(int?),
string  filter = default(string),
List< string >  propertyKeys = default(List<string>),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

List portfolios for scope List all the portfolios in a particular scope.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope whose portfolios to list.
effectiveAtThe effective datetime or cut label at which to list the portfolios. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the portfolios. Defaults to returning the latest version of each portfolio if not specified. (optional)
pageThe pagination token to use to continue listing portfolios. This value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided. (optional)
startWhen paginating, skip this number of results. (optional)
limitWhen paginating, limit the results to this number. Defaults to 65,535 if not specified. (optional)
filterExpression to filter the results. For example, to return only transactions with a transaction type of &#39;Buy&#39;, specify &quot;type eq &#39;Buy&#39;&quot;. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
propertyKeysA list of property keys from the &#39;Portfolio&#39; domain to decorate onto each portfolio. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (ResourceListOfPortfolio)

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ ListPortfoliosWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<ResourceListOfPortfolio> Lusid.Sdk.Api.PortfoliosApi.ListPortfoliosWithHttpInfo ( DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string  page = default(string),
int?  start = default(int?),
int?  limit = default(int?),
string  filter = default(string),
string  query = default(string),
List< string >  propertyKeys = default(List<string>) 
)
inline

List portfolios List all the portfolios matching particular criteria.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
effectiveAtThe effective datetime or cut label at which to list the portfolios. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the portfolios. Defaults to returning the latest version of each portfolio if not specified. (optional)
pageThe pagination token to use to continue listing portfolios; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided. (optional)
startWhen paginating, skip this number of results. (optional)
limitWhen paginating, limit the results to this number. Defaults to 65,535 if not specified. (optional)
filterExpression to filter the results. For example, to filter on the transaction type, specify &quot;type eq &#39;Transaction&#39;&quot;. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
queryExpression specifying the criteria that the returned portfolios must meet. For example, to see which portfolios have holdings in instruments with a LusidInstrumentId (LUID) of &#39;LUID_PPA8HI6M&#39; or a Figi of &#39;BBG000BLNNH6&#39;, specify &quot;instrument.identifiers in ((&#39;LusidInstrumentId&#39;, &#39;LUID_PPA8HI6M&#39;), (&#39;Figi&#39;, &#39;BBG000BLNNH6&#39;))&quot;. (optional)
propertyKeysA list of property keys from the &#39;Portfolio&#39; domain to decorate onto each portfolio. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. (optional)
Returns
ApiResponse of ResourceListOfPortfolio

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ ListPortfoliosWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfPortfolio> > Lusid.Sdk.Api.PortfoliosApi.ListPortfoliosWithHttpInfoAsync ( DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
DateTimeOffset?  asAt = default(DateTimeOffset?),
string  page = default(string),
int?  start = default(int?),
int?  limit = default(int?),
string  filter = default(string),
string  query = default(string),
List< string >  propertyKeys = default(List<string>),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

List portfolios List all the portfolios matching particular criteria.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
effectiveAtThe effective datetime or cut label at which to list the portfolios. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to list the portfolios. Defaults to returning the latest version of each portfolio if not specified. (optional)
pageThe pagination token to use to continue listing portfolios; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. Also, if set, a start value cannot be provided. (optional)
startWhen paginating, skip this number of results. (optional)
limitWhen paginating, limit the results to this number. Defaults to 65,535 if not specified. (optional)
filterExpression to filter the results. For example, to filter on the transaction type, specify &quot;type eq &#39;Transaction&#39;&quot;. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914. (optional)
queryExpression specifying the criteria that the returned portfolios must meet. For example, to see which portfolios have holdings in instruments with a LusidInstrumentId (LUID) of &#39;LUID_PPA8HI6M&#39; or a Figi of &#39;BBG000BLNNH6&#39;, specify &quot;instrument.identifiers in ((&#39;LusidInstrumentId&#39;, &#39;LUID_PPA8HI6M&#39;), (&#39;Figi&#39;, &#39;BBG000BLNNH6&#39;))&quot;. (optional)
propertyKeysA list of property keys from the &#39;Portfolio&#39; domain to decorate onto each portfolio. These must take the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (ResourceListOfPortfolio)

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ UpdatePortfolio()

Portfolio Lusid.Sdk.Api.PortfoliosApi.UpdatePortfolio ( string  scope,
string  code,
UpdatePortfolioRequest  updatePortfolioRequest,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel) 
)
inline

Update portfolio Update the definition of a particular portfolio. Note that not all elements of a portfolio definition are modifiable due to the potential implications for data already stored.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
updatePortfolioRequestThe updated portfolio definition.
effectiveAtThe effective datetime or cut label at which to update the definition. Defaults to the current LUSID system datetime if not specified. (optional)
Returns
Portfolio

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ UpdatePortfolioAsync()

async System.Threading.Tasks.Task<Portfolio> Lusid.Sdk.Api.PortfoliosApi.UpdatePortfolioAsync ( string  scope,
string  code,
UpdatePortfolioRequest  updatePortfolioRequest,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

Update portfolio Update the definition of a particular portfolio. Note that not all elements of a portfolio definition are modifiable due to the potential implications for data already stored.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
updatePortfolioRequestThe updated portfolio definition.
effectiveAtThe effective datetime or cut label at which to update the definition. Defaults to the current LUSID system datetime if not specified. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of Portfolio

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ UpdatePortfolioWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<Portfolio> Lusid.Sdk.Api.PortfoliosApi.UpdatePortfolioWithHttpInfo ( string  scope,
string  code,
UpdatePortfolioRequest  updatePortfolioRequest,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel) 
)
inline

Update portfolio Update the definition of a particular portfolio. Note that not all elements of a portfolio definition are modifiable due to the potential implications for data already stored.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
updatePortfolioRequestThe updated portfolio definition.
effectiveAtThe effective datetime or cut label at which to update the definition. Defaults to the current LUSID system datetime if not specified. (optional)
Returns
ApiResponse of Portfolio

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ UpdatePortfolioWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<Portfolio> > Lusid.Sdk.Api.PortfoliosApi.UpdatePortfolioWithHttpInfoAsync ( string  scope,
string  code,
UpdatePortfolioRequest  updatePortfolioRequest,
DateTimeOrCutLabel  effectiveAt = default(DateTimeOrCutLabel),
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

Update portfolio Update the definition of a particular portfolio. Note that not all elements of a portfolio definition are modifiable due to the potential implications for data already stored.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
updatePortfolioRequestThe updated portfolio definition.
effectiveAtThe effective datetime or cut label at which to update the definition. Defaults to the current LUSID system datetime if not specified. (optional)
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (Portfolio)

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ UpsertPortfolioProperties()

PortfolioProperties Lusid.Sdk.Api.PortfoliosApi.UpsertPortfolioProperties ( string  scope,
string  code,
Dictionary< string, Property requestBody 
)
inline

Upsert portfolio properties Create or update one or more properties for a particular portfolio. A property is updated if it already exists and created if it does not. All properties must be from the &#39;Portfolio&#39; domain. Properties have an <i>effectiveFrom</i> datetime from which the property is valid, and an <i>effectiveUntil</i> datetime until which it is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
requestBodyThe properties to be created or updated. Each property in the request must be keyed by its unique property key. This has the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;.
Returns
PortfolioProperties

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ UpsertPortfolioPropertiesAsync()

async System.Threading.Tasks.Task<PortfolioProperties> Lusid.Sdk.Api.PortfoliosApi.UpsertPortfolioPropertiesAsync ( string  scope,
string  code,
Dictionary< string, Property requestBody,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

Upsert portfolio properties Create or update one or more properties for a particular portfolio. A property is updated if it already exists and created if it does not. All properties must be from the &#39;Portfolio&#39; domain. Properties have an <i>effectiveFrom</i> datetime from which the property is valid, and an <i>effectiveUntil</i> datetime until which it is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
requestBodyThe properties to be created or updated. Each property in the request must be keyed by its unique property key. This has the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of PortfolioProperties

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ UpsertPortfolioPropertiesWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<PortfolioProperties> Lusid.Sdk.Api.PortfoliosApi.UpsertPortfolioPropertiesWithHttpInfo ( string  scope,
string  code,
Dictionary< string, Property requestBody 
)
inline

Upsert portfolio properties Create or update one or more properties for a particular portfolio. A property is updated if it already exists and created if it does not. All properties must be from the &#39;Portfolio&#39; domain. Properties have an <i>effectiveFrom</i> datetime from which the property is valid, and an <i>effectiveUntil</i> datetime until which it is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
requestBodyThe properties to be created or updated. Each property in the request must be keyed by its unique property key. This has the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;.
Returns
ApiResponse of PortfolioProperties

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ UpsertPortfolioPropertiesWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<PortfolioProperties> > Lusid.Sdk.Api.PortfoliosApi.UpsertPortfolioPropertiesWithHttpInfoAsync ( string  scope,
string  code,
Dictionary< string, Property requestBody,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

Upsert portfolio properties Create or update one or more properties for a particular portfolio. A property is updated if it already exists and created if it does not. All properties must be from the &#39;Portfolio&#39; domain. Properties have an <i>effectiveFrom</i> datetime from which the property is valid, and an <i>effectiveUntil</i> datetime until which it is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the portfolio.
codeThe code of the portfolio. Together with the scope this uniquely identifies the portfolio.
requestBodyThe properties to be created or updated. Each property in the request must be keyed by its unique property key. This has the format {domain}/{scope}/{code}, for example &#39;Portfolio/Manager/Id&#39;.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (PortfolioProperties)

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ UpsertPortfolioReturns()

UpsertReturnsResponse Lusid.Sdk.Api.PortfoliosApi.UpsertPortfolioReturns ( string  scope,
string  code,
string  returnScope,
string  returnCode,
List< PerformanceReturn performanceReturn 
)
inline

[EARLY ACCESS] Upsert Returns Update or insert returns into the specified portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the Portfolio.
codeThe code of the Portfolio.
returnScopeThe scope of the Returns.
returnCodeThe code of the Returns.
performanceReturnThis contains the Returns which need to be upsert.
Returns
UpsertReturnsResponse

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ UpsertPortfolioReturnsAsync()

async System.Threading.Tasks.Task<UpsertReturnsResponse> Lusid.Sdk.Api.PortfoliosApi.UpsertPortfolioReturnsAsync ( string  scope,
string  code,
string  returnScope,
string  returnCode,
List< PerformanceReturn performanceReturn,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EARLY ACCESS] Upsert Returns Update or insert returns into the specified portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the Portfolio.
codeThe code of the Portfolio.
returnScopeThe scope of the Returns.
returnCodeThe code of the Returns.
performanceReturnThis contains the Returns which need to be upsert.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of UpsertReturnsResponse

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

◆ UpsertPortfolioReturnsWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<UpsertReturnsResponse> Lusid.Sdk.Api.PortfoliosApi.UpsertPortfolioReturnsWithHttpInfo ( string  scope,
string  code,
string  returnScope,
string  returnCode,
List< PerformanceReturn performanceReturn 
)
inline

[EARLY ACCESS] Upsert Returns Update or insert returns into the specified portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the Portfolio.
codeThe code of the Portfolio.
returnScopeThe scope of the Returns.
returnCodeThe code of the Returns.
performanceReturnThis contains the Returns which need to be upsert.
Returns
ApiResponse of UpsertReturnsResponse

Implements Lusid.Sdk.Api.IPortfoliosApiSync.

◆ UpsertPortfolioReturnsWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<UpsertReturnsResponse> > Lusid.Sdk.Api.PortfoliosApi.UpsertPortfolioReturnsWithHttpInfoAsync ( string  scope,
string  code,
string  returnScope,
string  returnCode,
List< PerformanceReturn performanceReturn,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EARLY ACCESS] Upsert Returns Update or insert returns into the specified portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the Portfolio.
codeThe code of the Portfolio.
returnScopeThe scope of the Returns.
returnCodeThe code of the Returns.
performanceReturnThis contains the Returns which need to be upsert.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (UpsertReturnsResponse)

Implements Lusid.Sdk.Api.IPortfoliosApiAsync.

Property Documentation

◆ AsynchronousClient

Lusid.Sdk.Client.IAsynchronousClient Lusid.Sdk.Api.PortfoliosApi.AsynchronousClient
getset

The client for accessing this underlying API asynchronously.

◆ Client

Lusid.Sdk.Client.ISynchronousClient Lusid.Sdk.Api.PortfoliosApi.Client
getset

The client for accessing this underlying API synchronously.

◆ Configuration

Lusid.Sdk.Client.IReadableConfiguration Lusid.Sdk.Api.PortfoliosApi.Configuration
getset

Gets or sets the configuration object

An instance of the Configuration

◆ ExceptionFactory

Lusid.Sdk.Client.ExceptionFactory Lusid.Sdk.Api.PortfoliosApi.ExceptionFactory
getset

Provides a factory method hook for the creation of exceptions.


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