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 »
Name | Type | Description | Mandatory | Available from version |
---|
BrickId | Guid | This is the unique id of the product that should be updated.
|
| 2.02 |
InsuranceProductSupplierId | Guid |
|
| 2.02 |
ResellerId | Guid |
|
| 2.02 |
BrokerId | Guid |
|
| 2.02 |
AdministratorId | Guid |
|
| 2.02 |
AccountManagerId | Guid |
|
| 2.02 |
ClaimsAdjusterId | Guid |
|
| 2.02 |
InsuranceProductTypeKey | string |
|
| 2.02 |
InsuranceCategoryKey | string |
|
| 2.02 |
Key | string | Used to uniquely identify this product. |
| 2.02 |
Name | string | Display name for product. |
| 2.02 |
DescriptionString | string |
|
| 2.02 |
ProductCode | string |
|
| 2.02 |
StatusKey | string | Status for the insurance product. The available statuses are as follows: Value | Status | Description |
---|
1 | StartUp | The product is currently being started. | 2 | Active | The product is active and open for insurance policy creation. | 3 | Discontinued | The product is discontinued and no new insurance policies can be created for the program. | 4 | Terminated | The product is terminated with no active associated insurance policies. |
|
| 2.02 |
Country | string | Two letter country code (ISO 3166-1) |
| 2.02 |
RuleOf12 | decimal |
|
| 2.02 |
RuleOf45 | decimal |
|
| 2.02 |
RuleOf78 | decimal |
|
| 2.02 |
CurrencyCode | string | Three digit currency code (ISO 4217) |
| 2.02 |
InsuranceCommission | decimal |
|
| 2.02 |
Retention | decimal |
|
| 2.02 |
ProfitShare | double |
|
| 2.02 |
TermsNo | string |
|
| 2.02 |
TermsUrl | string |
|
| 2.02 |
ProductVersion | string |
|
| 2.02 |
StartDate | DateTime |
|
| 2.02 |
EndDate | DateTime |
|
| 2.02 |
MaxTerm | string |
|
| 2.02 |
InsurableInterest | string |
|
| 2.02 |
GrossPrice | decimal |
|
| 2.02 |
PremiumBasedOn | string |
|
| 2.02 |
NetPrice | decimal |
|
| 2.02 |
ChargeInterval | integer |
|
| 2.02 |
SaleMethod | string |
|
| 2.02 |
ExternalReference | string |
|
| 2.02 |
Parameters | string |
|
| 2.02 |
Comment | string |
|
| 2.02 |
DealTypeKey | string |
|
| 2.02 |
PeriodOfNotice | string |
|
| 2.02 |
RAFApprovedDate | DateTime |
|
| 2.02 |
InsuranceTax | decimal |
|
| 2.02 |
Response rows (Array)
Name | Type | Description | Available from version |
---|
EntitiesArray | Array | All insurance products are returned along with each insurance product's BrickId and array of Errors per insurance product |
|
|
|
|
|
Code examples
// 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);
}