Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Inputs (InsuranceProduct[] - Entities: Array of insurance products to update)

NameTypeDescriptionMandatoryAvailable from version
BrickIdGuidThis is the unique id of the product that should be updated.

2.02
InsuranceProductSupplierIdGuid

2.02
ResellerIdGuid

2.02
BrokerIdGuid

2.02
AdministratorIdGuid

2.02
AccountManagerIdGuid

2.02
ClaimsAdjusterIdGuid

2.02
InsuranceProductTypeKeystring

2.02
InsuranceCategoryKeystring

2.02
KeystringUsed to uniquely identify this product.
2.02
NamestringDisplay name for product.
2.02
DescriptionStringstring

2.02
ProductCodestring

2.02
StatusKeystring

Status for the insurance product. The available statuses are as follows:

ValueStatusDescription
1StartUpThe product is currently being started.
2ActiveThe product is active and open for insurance policy creation.
3DiscontinuedThe product is discontinued and no new insurance policies can be created for the program.
4TerminatedThe product is terminated with no active associated insurance policies.

2.02
CountrystringTwo letter country code (ISO 3166-1)
2.02
RuleOf12decimal

2.02
RuleOf45decimal

2.02
RuleOf78decimal

2.02
CurrencyCodestringThree digit currency code (ISO 4217)
2.02
InsuranceCommissiondecimal

2.02
Retentiondecimal

2.02
ProfitSharedouble

2.02
TermsNostring

2.02
TermsUrlstring

2.02
ProductVersionstring

2.02
StartDateDateTime

2.02
EndDateDateTime

2.02
MaxTermstring

2.02
InsurableIntereststring

2.02
GrossPricedecimal

2.02
PremiumBasedOnstring

2.02
NetPricedecimal

2.02
ChargeIntervalinteger

2.02
SaleMethodstring

2.02
ExternalReferencestring

2.02
Parametersstring

2.02
Commentstring

2.02
DealTypeKeystring

2.02
PeriodOfNoticestring

2.02
RAFApprovedDateDateTime

2.02
InsuranceTaxdecimal

2.02

Response rows (Array)

NameTypeDescriptionAvailable from version
EntitiesArrayArrayAll insurance products are returned along with each insurance product's BrickId and array of Errors per insurance product




Code examples

C# - Update insurance product
// Update an Insurance Product with the UpdateInsuranceProducts method
var client = new BFSServiceReference.bfsapiSoapClient();
 
var credentials = new BFSServiceReference.Credentials()
{
    UserName = bfsusername, //Username of administrative user in your instance of BFS
    Password = bfspassword, //Password of the administrative user in your instance of BFS
};
 
var response = client.UpdateInsuranceProducts(new BFSServiceReference.UpdateInsuranceProductsRequest()
{
    Credentials = credentials,
 
    identify = bfsidentifier, //Identifier is a unique token for your instance of BFS
 
    Fields = new UpdateInsuranceProductFields()
    {
        BrickId = true,
        ChargeInterval = true
    },
 
    Entities = new[]
    {
      new UpdateInsuranceProduct()
      {
          BrickId = new Guid("15b1f034-c9b9-4747-a03a-5bb06edd0ad1"), // Should be the ID of an existing insurance product
          ChargeInterval = 360,
      },
    },
 
 
});
 
foreach (var c in response.Entities)
{
    Console.WriteLine(c.BrickId + ", " + response.Message);
}

Blog Posts

  • No labels