Retrieves the
Business Unit Sequential Identifier (SID),
SQL Instance SID, and
Portfolio SID that identify the
Static Portfolio for which you want to add reinsurance treaties or layers
Layers.
There are three types of portfolios in Touchstone Re: master, static, and dynamic.
The master portfolio contains all the treaties in the business unit. A static portfolio is a collection of reinsurance treaties that you explicitly select from the master portfolio. A dynamic portfolio is a collection of reinsurance treaties that you select from the master portfolio by defining a filter. As treaties are added, modified, and removed from the master portfolio, the content of the dynamic portfolio changes automatically.
Public Function AddPortfolioLayers( _
ByVal As AddPortfolioLayersRequest _
) As AddPortfolioLayersResponse
Dim instance As ReinsurancePortfolioManagementServiceClient
Dim request As AddPortfolioLayersRequest
Dim value As AddPortfolioLayersResponse
value = instance.AddPortfolioLayers(request)
public AddPortfolioLayersResponse AddPortfolioLayers(
AddPortfolioLayersRequest
)
Parameters
- request
- Contains a GetMasterPortfolioLayersRequest that identifies the Filter to apply to the master portfolio, as well as the Business Unit Sequential Identifier (SID) and SQL Instance SID associated with the master portfolio.
Return Value
A GetMasterPortfolioLayersResponse that contains a list of layers that meet the specified filter criteria in the specified business unit and SQL Server instance.
The following example shows how to add portfolio layers in a given Business Unit and SQL Server Instance using the
AddPortfolioLayers()
method:
using AIR.Services.Common.Data;
using AIR.Services.Reinsurance.AggregateLossAnalysis.Api;
using System;
class SnippetAddPortfolioLayers
{
public AddPortfolioLayersResponse AddPortfolioLayers_Example()
{
ReinsurancePortfolioManagementServiceClient portfolioClient = new ReinsurancePortfolioManagementServiceClient();
AddPortfolioLayersRequest request = new AddPortfolioLayersRequest();
request.SqlInstanceSid = 1;
request.BusinessUnitSid = 2;
request.PortfolioSid = 15;
request.LayerSids = new List(int)() { 1, 5, 9, 50 };
AddPortfolioLayersResponse response = portfolioClient.AddPortfolioLayers(request);
return response;
}
}
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2