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

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

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

Public Member Functions

Portfolio CreateReferencePortfolio (string scope, CreateReferencePortfolioRequest createReferencePortfolioRequest, int operationIndex=0, ConfigurationOptions? opts=null)
 CreateReferencePortfolio: Create reference portfolio More...
 
Lusid.Sdk.Client.ApiResponse< PortfolioCreateReferencePortfolioWithHttpInfo (string scope, CreateReferencePortfolioRequest createReferencePortfolioRequest, int operationIndex=0, ConfigurationOptions? opts=null)
 CreateReferencePortfolio: Create reference portfolio More...
 
GetReferencePortfolioConstituentsResponse GetReferencePortfolioConstituents (string scope, string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, ConfigurationOptions? opts=null)
 GetReferencePortfolioConstituents: Get reference portfolio constituents More...
 
Lusid.Sdk.Client.ApiResponse< GetReferencePortfolioConstituentsResponseGetReferencePortfolioConstituentsWithHttpInfo (string scope, string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, ConfigurationOptions? opts=null)
 GetReferencePortfolioConstituents: Get reference portfolio constituents More...
 
ResourceListOfConstituentsAdjustmentHeader ListConstituentsAdjustments (string scope, string code, DateTimeOrCutLabel fromEffectiveAt, DateTimeOrCutLabel toEffectiveAt, DateTimeOffset? asAtTime=default(DateTimeOffset?), int operationIndex=0, ConfigurationOptions? opts=null)
 ListConstituentsAdjustments: List constituents adjustments More...
 
Lusid.Sdk.Client.ApiResponse< ResourceListOfConstituentsAdjustmentHeaderListConstituentsAdjustmentsWithHttpInfo (string scope, string code, DateTimeOrCutLabel fromEffectiveAt, DateTimeOrCutLabel toEffectiveAt, DateTimeOffset? asAtTime=default(DateTimeOffset?), int operationIndex=0, ConfigurationOptions? opts=null)
 ListConstituentsAdjustments: List constituents adjustments More...
 
UpsertReferencePortfolioConstituentPropertiesResponse UpsertReferencePortfolioConstituentProperties (string scope, string code, UpsertReferencePortfolioConstituentPropertiesRequest upsertReferencePortfolioConstituentPropertiesRequest, int operationIndex=0, ConfigurationOptions? opts=null)
 [EARLY ACCESS] UpsertReferencePortfolioConstituentProperties: Upsert constituent properties More...
 
Lusid.Sdk.Client.ApiResponse< UpsertReferencePortfolioConstituentPropertiesResponseUpsertReferencePortfolioConstituentPropertiesWithHttpInfo (string scope, string code, UpsertReferencePortfolioConstituentPropertiesRequest upsertReferencePortfolioConstituentPropertiesRequest, int operationIndex=0, ConfigurationOptions? opts=null)
 [EARLY ACCESS] UpsertReferencePortfolioConstituentProperties: Upsert constituent properties More...
 
UpsertReferencePortfolioConstituentsResponse UpsertReferencePortfolioConstituents (string scope, string code, UpsertReferencePortfolioConstituentsRequest upsertReferencePortfolioConstituentsRequest, int operationIndex=0, ConfigurationOptions? opts=null)
 UpsertReferencePortfolioConstituents: Upsert reference portfolio constituents More...
 
Lusid.Sdk.Client.ApiResponse< UpsertReferencePortfolioConstituentsResponseUpsertReferencePortfolioConstituentsWithHttpInfo (string scope, string code, UpsertReferencePortfolioConstituentsRequest upsertReferencePortfolioConstituentsRequest, int operationIndex=0, ConfigurationOptions? opts=null)
 UpsertReferencePortfolioConstituents: Upsert reference portfolio constituents More...
 

Detailed Description

Represents a collection of functions to interact with the API endpoints

Member Function Documentation

◆ CreateReferencePortfolio()

Portfolio Lusid.Sdk.Api.IReferencePortfolioApiSync.CreateReferencePortfolio ( string  scope,
CreateReferencePortfolioRequest  createReferencePortfolioRequest,
int  operationIndex = 0,
ConfigurationOptions opts = null 
)

CreateReferencePortfolio: Create reference portfolio

Create a reference portfolio in a particular scope.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope in which to create the reference portfolio.
createReferencePortfolioRequestThe definition of the reference portfolio.
operationIndexIndex associated with the operation.
optsOptions for this request.
Returns
Portfolio

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.

◆ CreateReferencePortfolioWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<Portfolio> Lusid.Sdk.Api.IReferencePortfolioApiSync.CreateReferencePortfolioWithHttpInfo ( string  scope,
CreateReferencePortfolioRequest  createReferencePortfolioRequest,
int  operationIndex = 0,
ConfigurationOptions opts = null 
)

CreateReferencePortfolio: Create reference portfolio

Create a reference portfolio in a particular scope.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope in which to create the reference portfolio.
createReferencePortfolioRequestThe definition of the reference portfolio.
operationIndexIndex associated with the operation.
optsOptions for this request.
Returns
ApiResponse of Portfolio

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.

◆ GetReferencePortfolioConstituents()

GetReferencePortfolioConstituentsResponse Lusid.Sdk.Api.IReferencePortfolioApiSync.GetReferencePortfolioConstituents ( string  scope,
string  code,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List< string >?),
int  operationIndex = 0,
ConfigurationOptions opts = null 
)

GetReferencePortfolioConstituents: Get reference portfolio constituents

Get constituents from a reference portfolio at a particular effective time.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the reference portfolio.
codeThe code of the reference portfolio. Together with the scope this uniquely identifies the reference portfolio.
effectiveAtThe effective date of the constituents to retrieve. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve constituents. Defaults to return the latest version of each constituent if not specified. (optional)
propertyKeysA list of property keys from the &#39;Instrument&#39; or &#39;ReferenceHolding&#39; domain to decorate onto constituents. These take the format {domain}/{scope}/{code} e.g. &#39;Instrument/system/Name&#39; or &#39;ReferenceHolding/strategy/quantsignal&#39;. Defaults to return all available instrument and reference holding properties if not specified. (optional)
operationIndexIndex associated with the operation.
optsOptions for this request.
Returns
GetReferencePortfolioConstituentsResponse

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.

◆ GetReferencePortfolioConstituentsWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<GetReferencePortfolioConstituentsResponse> Lusid.Sdk.Api.IReferencePortfolioApiSync.GetReferencePortfolioConstituentsWithHttpInfo ( string  scope,
string  code,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List< string >?),
int  operationIndex = 0,
ConfigurationOptions opts = null 
)

GetReferencePortfolioConstituents: Get reference portfolio constituents

Get constituents from a reference portfolio at a particular effective time.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the reference portfolio.
codeThe code of the reference portfolio. Together with the scope this uniquely identifies the reference portfolio.
effectiveAtThe effective date of the constituents to retrieve. Defaults to the current LUSID system datetime if not specified. (optional)
asAtThe asAt datetime at which to retrieve constituents. Defaults to return the latest version of each constituent if not specified. (optional)
propertyKeysA list of property keys from the &#39;Instrument&#39; or &#39;ReferenceHolding&#39; domain to decorate onto constituents. These take the format {domain}/{scope}/{code} e.g. &#39;Instrument/system/Name&#39; or &#39;ReferenceHolding/strategy/quantsignal&#39;. Defaults to return all available instrument and reference holding properties if not specified. (optional)
operationIndexIndex associated with the operation.
optsOptions for this request.
Returns
ApiResponse of GetReferencePortfolioConstituentsResponse

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.

◆ ListConstituentsAdjustments()

ResourceListOfConstituentsAdjustmentHeader Lusid.Sdk.Api.IReferencePortfolioApiSync.ListConstituentsAdjustments ( string  scope,
string  code,
DateTimeOrCutLabel  fromEffectiveAt,
DateTimeOrCutLabel  toEffectiveAt,
DateTimeOffset?  asAtTime = default(DateTimeOffset?),
int  operationIndex = 0,
ConfigurationOptions opts = null 
)

ListConstituentsAdjustments: List constituents adjustments

List adjustments made to constituents in a reference portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the reference portfolio.
codeThe code of the reference portfolio. Together with the scope this uniquely identifies the reference portfolio.
fromEffectiveAtEvents between this time (inclusive) and the toEffectiveAt are returned.
toEffectiveAtEvents between this time (inclusive) and the fromEffectiveAt are returned.
asAtTimeThe asAt time for which the result is valid. (optional)
operationIndexIndex associated with the operation.
optsOptions for this request.
Returns
ResourceListOfConstituentsAdjustmentHeader

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.

◆ ListConstituentsAdjustmentsWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<ResourceListOfConstituentsAdjustmentHeader> Lusid.Sdk.Api.IReferencePortfolioApiSync.ListConstituentsAdjustmentsWithHttpInfo ( string  scope,
string  code,
DateTimeOrCutLabel  fromEffectiveAt,
DateTimeOrCutLabel  toEffectiveAt,
DateTimeOffset?  asAtTime = default(DateTimeOffset?),
int  operationIndex = 0,
ConfigurationOptions opts = null 
)

ListConstituentsAdjustments: List constituents adjustments

List adjustments made to constituents in a reference portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the reference portfolio.
codeThe code of the reference portfolio. Together with the scope this uniquely identifies the reference portfolio.
fromEffectiveAtEvents between this time (inclusive) and the toEffectiveAt are returned.
toEffectiveAtEvents between this time (inclusive) and the fromEffectiveAt are returned.
asAtTimeThe asAt time for which the result is valid. (optional)
operationIndexIndex associated with the operation.
optsOptions for this request.
Returns
ApiResponse of ResourceListOfConstituentsAdjustmentHeader

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.

◆ UpsertReferencePortfolioConstituentProperties()

UpsertReferencePortfolioConstituentPropertiesResponse Lusid.Sdk.Api.IReferencePortfolioApiSync.UpsertReferencePortfolioConstituentProperties ( string  scope,
string  code,
UpsertReferencePortfolioConstituentPropertiesRequest  upsertReferencePortfolioConstituentPropertiesRequest,
int  operationIndex = 0,
ConfigurationOptions opts = null 
)

[EARLY ACCESS] UpsertReferencePortfolioConstituentProperties: Upsert constituent properties

Create or update one or more constituent properties for a single constituent in the reference portfolio. Each property will be updated if it already exists, created if it does not and deleted if value is null. Both constituent and portfolio must exist at the time when properties are created or updated.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the reference portfolio.
codeThe code of the reference portfolio. Together with the scope this uniquely identifies the reference portfolio.
upsertReferencePortfolioConstituentPropertiesRequestThe request to modify properties for the constituent.
operationIndexIndex associated with the operation.
optsOptions for this request.
Returns
UpsertReferencePortfolioConstituentPropertiesResponse

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.

◆ UpsertReferencePortfolioConstituentPropertiesWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<UpsertReferencePortfolioConstituentPropertiesResponse> Lusid.Sdk.Api.IReferencePortfolioApiSync.UpsertReferencePortfolioConstituentPropertiesWithHttpInfo ( string  scope,
string  code,
UpsertReferencePortfolioConstituentPropertiesRequest  upsertReferencePortfolioConstituentPropertiesRequest,
int  operationIndex = 0,
ConfigurationOptions opts = null 
)

[EARLY ACCESS] UpsertReferencePortfolioConstituentProperties: Upsert constituent properties

Create or update one or more constituent properties for a single constituent in the reference portfolio. Each property will be updated if it already exists, created if it does not and deleted if value is null. Both constituent and portfolio must exist at the time when properties are created or updated.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the reference portfolio.
codeThe code of the reference portfolio. Together with the scope this uniquely identifies the reference portfolio.
upsertReferencePortfolioConstituentPropertiesRequestThe request to modify properties for the constituent.
operationIndexIndex associated with the operation.
optsOptions for this request.
Returns
ApiResponse of UpsertReferencePortfolioConstituentPropertiesResponse

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.

◆ UpsertReferencePortfolioConstituents()

UpsertReferencePortfolioConstituentsResponse Lusid.Sdk.Api.IReferencePortfolioApiSync.UpsertReferencePortfolioConstituents ( string  scope,
string  code,
UpsertReferencePortfolioConstituentsRequest  upsertReferencePortfolioConstituentsRequest,
int  operationIndex = 0,
ConfigurationOptions opts = null 
)

UpsertReferencePortfolioConstituents: Upsert reference portfolio constituents

Add constituents to a reference portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the reference portfolio.
codeThe code of the reference portfolio. Together with the scope this uniquely identifies the reference portfolio.
upsertReferencePortfolioConstituentsRequestThe constituents to upload to the reference portfolio.
operationIndexIndex associated with the operation.
optsOptions for this request.
Returns
UpsertReferencePortfolioConstituentsResponse

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.

◆ UpsertReferencePortfolioConstituentsWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<UpsertReferencePortfolioConstituentsResponse> Lusid.Sdk.Api.IReferencePortfolioApiSync.UpsertReferencePortfolioConstituentsWithHttpInfo ( string  scope,
string  code,
UpsertReferencePortfolioConstituentsRequest  upsertReferencePortfolioConstituentsRequest,
int  operationIndex = 0,
ConfigurationOptions opts = null 
)

UpsertReferencePortfolioConstituents: Upsert reference portfolio constituents

Add constituents to a reference portfolio.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the reference portfolio.
codeThe code of the reference portfolio. Together with the scope this uniquely identifies the reference portfolio.
upsertReferencePortfolioConstituentsRequestThe constituents to upload to the reference portfolio.
operationIndexIndex associated with the operation.
optsOptions for this request.
Returns
ApiResponse of UpsertReferencePortfolioConstituentsResponse

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.


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