Touchstone 11.0 API Reference
SubmitCombineClfs Method
Example 


Air.Services.Proxy Assembly > (Global) Namespace > ReinsuranceDataImportServiceClient Class : SubmitCombineClfs Method
Contains a SubmitCombineClfsRequest that specifies the Business Unit SID and SQL Instance SID to associate with the file, as well as the CombineClfBaseFileName, EVI files , and the OutputPath of combined company loss file in the request.
Submits a request to combine multiple company loss files (CLFs).

A CLF contains company losses by each combination of event, subarea, and line of business. From the CATRADER or Touchstone application, you can generate a CLF, and then import the CLF into Touchstone Re as part of a company loss set. You must associate a CLF with a company.

When submitting the request:

Syntax
Public Function SubmitCombineClfs( _
   ByVal request As SubmitCombineClfsRequest _
) As SubmitCombineClfsResponse
Dim instance As ReinsuranceDataImportServiceClient
Dim request As SubmitCombineClfsRequest
Dim value As SubmitCombineClfsResponse
 
value = instance.SubmitCombineClfs(request)
public SubmitCombineClfsResponse SubmitCombineClfs( 
   SubmitCombineClfsRequest request
)

Parameters

request
Contains a SubmitCombineClfsRequest that specifies the Business Unit SID and SQL Instance SID to associate with the file, as well as the CombineClfBaseFileName, EVI files , and the OutputPath of combined company loss file in the request.

Return Value

A SubmitCombineClfsResponse that contains the Activity SID that uniquely identifies the asynchronous web service call that you made to submit the combine job.
Remarks
To find the Business Unit SID to pass into this method, call the GetBusinessUnits() method.

To find the SQL Instance SID to pass into this method, call the GetSqlInstances() method.

Example
The following example shows how to combine multiple company loss files into a single company loss file using the SubmitCombineClfs() method:
using AIR.Services.Common.Data;
using AIR.Services.Reinsurance.DataImport.Api;
using System;
using System.Collections.Generic;
using System.IO;
class SnippetSubmitCombineClfsRequest
{
private static void SubmitCombineClfsRequest(int businessUnitSid, int sqlInstanceSid)
{
ReinsuranceDataImportServiceClient client = new ReinsuranceDataImportServiceClient();
SubmitCombineClfsRequest request = new SubmitCombineClfsRequest();
request.BusinessUnitSid = businessUnitSid;
request.SqlInstanceSid = sqlInstanceSid;
string clfPath = @\\YourShare\M23 and M28 Files;
request.EviFilePaths = new List<string>()
       {
Path.Combine(clfPath, "M23 A DLF.evi"),
Path.Combine(clfPath, "M28 A DLF.evi")
};
request.CombineClfBaseFileName = "M23-M28";
request.OutputPath = @\\YourShare\CombinedTest;
request.Comments = "Combining M23 and M28 Clfs";
            
SubmitCombineClfsResponse response = client.SubmitCombineClfs(request);
   if (response.Status.Code == StatusCode.Success)
   {
Console.WriteLine("Request submitted with Activity Sid: " + response.ActivitySid);
}
}
}
Requirements

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

See Also

Reference

ReinsuranceDataImportServiceClient Class
ReinsuranceDataImportServiceClient Members