Public Function SubmitGenerateExposureViewSummary( _
ByVal As SubmitGenerateExposureViewSummaryRequest _
) As SubmitGenerateExposureViewSummaryResponse
Dim instance As ExposureViewSummaryServiceClient
Dim request As SubmitGenerateExposureViewSummaryRequest
Dim value As SubmitGenerateExposureViewSummaryResponse
value = instance.SubmitGenerateExposureViewSummary(request)
public SubmitGenerateExposureViewSummaryResponse SubmitGenerateExposureViewSummary(
SubmitGenerateExposureViewSummaryRequest
)
Parameters
- request
- Contains a SubmitGenerateExposureViewSummaryRequest that identifies the options that specify the characteristics of the Exposure View Summary that you want to generate, along with the associated Touchstone-generated Business Unit Sequential Identifier (SID) and SQL Instance SID.
The Options
property contains an ExposureViewSummaryOptions object that enables you to specify the SID of the Exposure View to include in the Exposure View Summary, as well as the desired currency and currency exchange rate.
Return Value
A SubmitGenerateExposureViewSummaryResponse containing the Activity SID that uniquely identifies the asynchronous web service call that you made to generate the specified Exposure View Summary.
The following example shows how to request the generation of a Touchstone Exposure View Summary using the
SubmitGenerateExposureViewSummary()
method:
using System;
using AIR.Services.Common.Data;
using AIR.Services.ExposureViewSummary.Api;
using AIR.Services.ProjectManagement.Data;
class SnippetSubmitGenerateExposureViewSummaryRequest
{
private static void GenerateExposureViewSummary(int businessUnitSid, int sqlInstanceSid, int exposureViewSid)
{
ExposureViewSummaryServiceClient client = new ExposureViewSummaryServiceClient();
SubmitGenerateExposureViewSummaryRequest request = new SubmitGenerateExposureViewSummaryRequest();
request.BusinessUnitSid = businessUnitSid;
request.SqlInstanceSid = sqlInstanceSid;
request.Options = new ExposureViewSummaryOptions
{
Currency = "USD",
CurrencyExchangeRateSid = 3,
ExposureViewSid = exposureViewSid
};
SubmitGenerateExposureViewSummaryResponse response = client.SubmitGenerateExposureViewSummary(request);
if (response.Status.Code == StatusCode.Success)
{
Console.WriteLine("Request successfully submitted with Activity SID: " + response.ActivitySid);
}
}
}
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