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)
 CreateReferencePortfolio: Create reference portfolio More...
 
ApiResponse< PortfolioCreateReferencePortfolioWithHttpInfo (string scope, CreateReferencePortfolioRequest createReferencePortfolioRequest, int operationIndex=0)
 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)
 GetReferencePortfolioConstituents: Get reference portfolio constituents More...
 
ApiResponse< GetReferencePortfolioConstituentsResponseGetReferencePortfolioConstituentsWithHttpInfo (string scope, string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0)
 GetReferencePortfolioConstituents: Get reference portfolio constituents More...
 
ResourceListOfConstituentsAdjustmentHeader ListConstituentsAdjustments (string scope, string code, DateTimeOrCutLabel fromEffectiveAt, DateTimeOrCutLabel toEffectiveAt, DateTimeOffset? asAtTime=default(DateTimeOffset?), int operationIndex=0)
 ListConstituentsAdjustments: List constituents adjustments More...
 
ApiResponse< ResourceListOfConstituentsAdjustmentHeaderListConstituentsAdjustmentsWithHttpInfo (string scope, string code, DateTimeOrCutLabel fromEffectiveAt, DateTimeOrCutLabel toEffectiveAt, DateTimeOffset? asAtTime=default(DateTimeOffset?), int operationIndex=0)
 ListConstituentsAdjustments: List constituents adjustments More...
 
UpsertReferencePortfolioConstituentsResponse UpsertReferencePortfolioConstituents (string scope, string code, UpsertReferencePortfolioConstituentsRequest upsertReferencePortfolioConstituentsRequest, int operationIndex=0)
 UpsertReferencePortfolioConstituents: Upsert reference portfolio constituents More...
 
ApiResponse< UpsertReferencePortfolioConstituentsResponseUpsertReferencePortfolioConstituentsWithHttpInfo (string scope, string code, UpsertReferencePortfolioConstituentsRequest upsertReferencePortfolioConstituentsRequest, int operationIndex=0)
 UpsertReferencePortfolioConstituents: Upsert reference portfolio constituents More...
 
- Public Member Functions inherited from Lusid.Sdk.Client.IApiAccessor
string GetBasePath ()
 Gets the base path of the API client. More...
 

Additional Inherited Members

- Properties inherited from Lusid.Sdk.Client.IApiAccessor
IReadableConfiguration Configuration [get, set]
 Gets or sets the configuration object More...
 
ExceptionFactory ExceptionFactory [get, set]
 Provides a factory method hook for the creation of exceptions. More...
 

Detailed Description

Represents a collection of functions to interact with the API endpoints

Member Function Documentation

◆ CreateReferencePortfolio()

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

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.
Returns
Portfolio

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.

◆ CreateReferencePortfolioWithHttpInfo()

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

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.
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 
)

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.
Returns
GetReferencePortfolioConstituentsResponse

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.

◆ GetReferencePortfolioConstituentsWithHttpInfo()

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 
)

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.
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 
)

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.
Returns
ResourceListOfConstituentsAdjustmentHeader

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.

◆ ListConstituentsAdjustmentsWithHttpInfo()

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

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.
Returns
ApiResponse of ResourceListOfConstituentsAdjustmentHeader

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.

◆ UpsertReferencePortfolioConstituents()

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

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.
Returns
UpsertReferencePortfolioConstituentsResponse

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.

◆ UpsertReferencePortfolioConstituentsWithHttpInfo()

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

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.
Returns
ApiResponse of UpsertReferencePortfolioConstituentsResponse

Implemented in Lusid.Sdk.Api.ReferencePortfolioApi.


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