Touchstone Re 2023 API Reference
GetCatBondNotesValues Method
Example 


Air.Services.Proxy Assembly > (Global) Namespace > ReinsuranceProgramManagementServiceClient Class : GetCatBondNotesValues Method
Contains a GetCatBondNotesValuesRequest that identifies the Business Unit Sequential Identifier (SID) and SQL Instance SID associated with the list of catastrophe bond attribute values to retrieve.
Retrieves a list of the existing catastrophe bond attribute values in a given Business Unit and SQL Server Instance.
Syntax
Public Function GetCatBondNotesValues( _
   ByVal request As GetCatBondNotesValuesRequest _
) As GetCatBondNotesValuesResponse
Dim instance As ReinsuranceProgramManagementServiceClient
Dim request As GetCatBondNotesValuesRequest
Dim value As GetCatBondNotesValuesResponse
 
value = instance.GetCatBondNotesValues(request)

Parameters

request
Contains a GetCatBondNotesValuesRequest that identifies the Business Unit Sequential Identifier (SID) and SQL Instance SID associated with the list of catastrophe bond attribute values to retrieve.

Return Value

A GetCatBondNotesValuesResponse that contains a list of catastrophe bond attribute values in the specified SQL server instance and business unit.
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.

Catastrophe bond note values provide information about catastrophe bond reinsurance programs, such as the sponsors and covered perils associated with the programs.

Example
The following example shows how to retrieve a list of the existing catastrophe bond attribute values in a given Business Unit and SQL Server Instance using the GetCatBondNotesValues() method:
using AIR.Services.Common.Data;
using AIR.Services.Reinsurance.ProgramManagement.Api;
using System;
            
class SnippetGetCatBondNotesValues
{
    private static void GetCatBondNotesValues(int businessUnitSid, int sqlInstanceSid)
    {
        ReinsuranceProgramManagementServiceClient client = new ReinsuranceProgramManagementServiceClient();
        GetCatBondNotesValuesRequest request = new GetCatBondNotesValuesRequest();
        request.BusinessUnitSid = businessUnitSid;
        request.SqlInstanceSid = sqlInstanceSid;
        GetCatBondNotesValuesResponse response = client.GetCatBondNotesValues(request);
        if (response.Status.Code == StatusCode.Success)
        {
            foreach (var cb in response.CatBondAttributeValues)
            {
                Console.WriteLine("SID: " + cb.CatBondAttributeSid + " Name: " + cb.Name + " Type: " + cb.Type);
           }
        }
    }
}
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

ReinsuranceProgramManagementServiceClient Class
ReinsuranceProgramManagementServiceClient Members