/// <summary>
 /// [EARLY ACCESS] ReconcileHoldings: Reconcile portfolio holdings Reconcile the holdings of two portfolios.
 /// </summary>
 /// <exception cref="Lusid.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="sortBy">Optional. Order the results by these fields. Use use the &#39;-&#39; sign to denote descending order e.g. -MyFieldName (optional)</param>
 /// <param name="start">Optional. When paginating, skip this number of results (optional)</param>
 /// <param name="limit">Optional. When paginating, limit the number of returned results to this many. (optional)</param>
 /// <param name="filter">Optional. Expression to filter the result set.              For example, to filter on the left portfolio Code, use \&quot;left.portfolioId.code eq &#39;string&#39;\&quot;              Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional)</param>
 /// <param name="portfoliosReconciliationRequest">The specifications of the inputs to the reconciliation (optional)</param>
 /// <returns>ResourceListOfReconciliationBreak</returns>
 public ResourceListOfReconciliationBreak ReconcileHoldings(List <string> sortBy = default(List <string>), int?start = default(int?), int?limit = default(int?), string filter = default(string), PortfoliosReconciliationRequest portfoliosReconciliationRequest = default(PortfoliosReconciliationRequest))
 {
     Lusid.Sdk.Client.ApiResponse <ResourceListOfReconciliationBreak> localVarResponse = ReconcileHoldingsWithHttpInfo(sortBy, start, limit, filter, portfoliosReconciliationRequest);
     return(localVarResponse.Data);
 }
        /// <summary>
        /// [EARLY ACCESS] ReconcileHoldings: Reconcile portfolio holdings Reconcile the holdings of two portfolios.
        /// </summary>
        /// <exception cref="Lusid.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="sortBy">Optional. Order the results by these fields. Use use the &#39;-&#39; sign to denote descending order e.g. -MyFieldName (optional)</param>
        /// <param name="start">Optional. When paginating, skip this number of results (optional)</param>
        /// <param name="limit">Optional. When paginating, limit the number of returned results to this many. (optional)</param>
        /// <param name="filter">Optional. Expression to filter the result set.              For example, to filter on the left portfolio Code, use \&quot;left.portfolioId.code eq &#39;string&#39;\&quot;              Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional)</param>
        /// <param name="portfoliosReconciliationRequest">The specifications of the inputs to the reconciliation (optional)</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of ResourceListOfReconciliationBreak</returns>
        public async System.Threading.Tasks.Task <ResourceListOfReconciliationBreak> ReconcileHoldingsAsync(List <string> sortBy = default(List <string>), int?start = default(int?), int?limit = default(int?), string filter = default(string), PortfoliosReconciliationRequest portfoliosReconciliationRequest = default(PortfoliosReconciliationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Lusid.Sdk.Client.ApiResponse <ResourceListOfReconciliationBreak> localVarResponse = await ReconcileHoldingsWithHttpInfoAsync(sortBy, start, limit, filter, portfoliosReconciliationRequest, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
 /// <summary>
 /// [EARLY ACCESS] GetPortfolioChanges: Get the next change to each portfolio in a scope. Gets the time of the next (earliest effective at) modification (correction and/or amendment) to each portfolio in a scope relative to a point in bitemporal time.  Includes changes from parent portfolios in different scopes.  Excludes changes from subcriptions (e.g corporate actions).
 /// </summary>
 /// <exception cref="Lusid.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="scope">The scope</param>
 /// <param name="effectiveAt">The effective date of the origin.</param>
 /// <param name="asAt">The as-at date of the origin. (optional)</param>
 /// <returns>ResourceListOfChange</returns>
 public ResourceListOfChange GetPortfolioChanges(string scope, DateTimeOrCutLabel effectiveAt, DateTimeOffset?asAt = default(DateTimeOffset?))
 {
     Lusid.Sdk.Client.ApiResponse <ResourceListOfChange> localVarResponse = GetPortfolioChangesWithHttpInfo(scope, effectiveAt, asAt);
     return(localVarResponse.Data);
 }
        /// <summary>
        /// [EARLY ACCESS] GetPortfolioChanges: Get the next change to each portfolio in a scope. Gets the time of the next (earliest effective at) modification (correction and/or amendment) to each portfolio in a scope relative to a point in bitemporal time.  Includes changes from parent portfolios in different scopes.  Excludes changes from subcriptions (e.g corporate actions).
        /// </summary>
        /// <exception cref="Lusid.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="scope">The scope</param>
        /// <param name="effectiveAt">The effective date of the origin.</param>
        /// <param name="asAt">The as-at date of the origin. (optional)</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of ResourceListOfChange</returns>
        public async System.Threading.Tasks.Task <ResourceListOfChange> GetPortfolioChangesAsync(string scope, DateTimeOrCutLabel effectiveAt, DateTimeOffset?asAt = default(DateTimeOffset?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Lusid.Sdk.Client.ApiResponse <ResourceListOfChange> localVarResponse = await GetPortfolioChangesWithHttpInfoAsync(scope, effectiveAt, asAt, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
 /// <summary>
 /// [EARLY ACCESS] ListConfigurationTransactionTypes: List transaction types Get the list of current transaction types. For information on the default transaction types provided with  LUSID, see https://support.lusid.com/knowledgebase/article/KA-01873/.
 /// </summary>
 /// <exception cref="Lusid.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="asAt">The asAt datetime at which to retrieve the transaction types. Defaults              to returning the latest versions if not specified. (optional)</param>
 /// <returns>TransactionSetConfigurationData</returns>
 public TransactionSetConfigurationData ListConfigurationTransactionTypes(DateTimeOffset?asAt = default(DateTimeOffset?))
 {
     Lusid.Sdk.Client.ApiResponse <TransactionSetConfigurationData> localVarResponse = ListConfigurationTransactionTypesWithHttpInfo(asAt);
     return(localVarResponse.Data);
 }
        /// <summary>
        /// [EARLY ACCESS] ListConfigurationTransactionTypes: List transaction types Get the list of current transaction types. For information on the default transaction types provided with  LUSID, see https://support.lusid.com/knowledgebase/article/KA-01873/.
        /// </summary>
        /// <exception cref="Lusid.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="asAt">The asAt datetime at which to retrieve the transaction types. Defaults              to returning the latest versions if not specified. (optional)</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of TransactionSetConfigurationData</returns>
        public async System.Threading.Tasks.Task <TransactionSetConfigurationData> ListConfigurationTransactionTypesAsync(DateTimeOffset?asAt = default(DateTimeOffset?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Lusid.Sdk.Client.ApiResponse <TransactionSetConfigurationData> localVarResponse = await ListConfigurationTransactionTypesWithHttpInfoAsync(asAt, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
 /// <summary>
 /// [EARLY ACCESS] CreateConfigurationTransactionType: Create transaction type Create a new transaction type by specifying a definition and mappings to movements.
 /// </summary>
 /// <exception cref="Lusid.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="transactionConfigurationDataRequest">A transaction type definition. (optional)</param>
 /// <returns>TransactionSetConfigurationData</returns>
 public TransactionSetConfigurationData CreateConfigurationTransactionType(TransactionConfigurationDataRequest transactionConfigurationDataRequest = default(TransactionConfigurationDataRequest))
 {
     Lusid.Sdk.Client.ApiResponse <TransactionSetConfigurationData> localVarResponse = CreateConfigurationTransactionTypeWithHttpInfo(transactionConfigurationDataRequest);
     return(localVarResponse.Data);
 }
        /// <summary>
        /// [EARLY ACCESS] CreateConfigurationTransactionType: Create transaction type Create a new transaction type by specifying a definition and mappings to movements.
        /// </summary>
        /// <exception cref="Lusid.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="transactionConfigurationDataRequest">A transaction type definition. (optional)</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of TransactionSetConfigurationData</returns>
        public async System.Threading.Tasks.Task <TransactionSetConfigurationData> CreateConfigurationTransactionTypeAsync(TransactionConfigurationDataRequest transactionConfigurationDataRequest = default(TransactionConfigurationDataRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Lusid.Sdk.Client.ApiResponse <TransactionSetConfigurationData> localVarResponse = await CreateConfigurationTransactionTypeWithHttpInfoAsync(transactionConfigurationDataRequest, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
        /// <summary>
        /// GetValuationOfWeightedInstruments: Perform valuation for an inlined portfolio Perform valuation on the portfolio that is defined by the weighted set of instruments passed to the request.
        /// </summary>
        /// <exception cref="Lusid.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="inlineValuationRequest">The request specifying the set of portfolios and dates on which to calculate a set of valuation metrics (optional)</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of ListAggregationResponse</returns>
        public async System.Threading.Tasks.Task <ListAggregationResponse> GetValuationOfWeightedInstrumentsAsync(InlineValuationRequest inlineValuationRequest = default(InlineValuationRequest), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Lusid.Sdk.Client.ApiResponse <ListAggregationResponse> localVarResponse = await GetValuationOfWeightedInstrumentsWithHttpInfoAsync(inlineValuationRequest, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
 /// <summary>
 /// GetValuationOfWeightedInstruments: Perform valuation for an inlined portfolio Perform valuation on the portfolio that is defined by the weighted set of instruments passed to the request.
 /// </summary>
 /// <exception cref="Lusid.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="inlineValuationRequest">The request specifying the set of portfolios and dates on which to calculate a set of valuation metrics (optional)</param>
 /// <returns>ListAggregationResponse</returns>
 public ListAggregationResponse GetValuationOfWeightedInstruments(InlineValuationRequest inlineValuationRequest = default(InlineValuationRequest))
 {
     Lusid.Sdk.Client.ApiResponse <ListAggregationResponse> localVarResponse = GetValuationOfWeightedInstrumentsWithHttpInfo(inlineValuationRequest);
     return(localVarResponse.Data);
 }
 /// <summary>
 /// GetValuation: Perform valuation for a list of portfolios and/or portfolio groups Perform valuation on specified list of portfolio and/or portfolio groups for a set of dates.
 /// </summary>
 /// <exception cref="Lusid.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="valuationRequest">The request specifying the set of portfolios and dates on which to calculate a set of valuation metrics (optional)</param>
 /// <returns>ListAggregationResponse</returns>
 public ListAggregationResponse GetValuation(ValuationRequest valuationRequest = default(ValuationRequest))
 {
     Lusid.Sdk.Client.ApiResponse <ListAggregationResponse> localVarResponse = GetValuationWithHttpInfo(valuationRequest);
     return(localVarResponse.Data);
 }
Example #12
0
        /// <summary>
        /// ListScopes: List Scopes List all the scopes that contain data.
        /// </summary>
        /// <exception cref="Lusid.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="filter">Expression to filter the result set.              For example, to filter on the Scope, use \&quot;scope eq &#39;string&#39;\&quot;              Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional)</param>
        /// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
        /// <returns>Task of ResourceListOfScopeDefinition</returns>
        public async System.Threading.Tasks.Task <ResourceListOfScopeDefinition> ListScopesAsync(string filter = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Lusid.Sdk.Client.ApiResponse <ResourceListOfScopeDefinition> localVarResponse = await ListScopesWithHttpInfoAsync(filter, cancellationToken).ConfigureAwait(false);

            return(localVarResponse.Data);
        }
Example #13
0
 /// <summary>
 /// ListScopes: List Scopes List all the scopes that contain data.
 /// </summary>
 /// <exception cref="Lusid.Sdk.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="filter">Expression to filter the result set.              For example, to filter on the Scope, use \&quot;scope eq &#39;string&#39;\&quot;              Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional)</param>
 /// <returns>ResourceListOfScopeDefinition</returns>
 public ResourceListOfScopeDefinition ListScopes(string filter = default(string))
 {
     Lusid.Sdk.Client.ApiResponse <ResourceListOfScopeDefinition> localVarResponse = ListScopesWithHttpInfo(filter);
     return(localVarResponse.Data);
 }