Inputs (Array of InsurancePolicy) inherits from EntityBase
Available from version
Not used as an input.
Owner/holder of the policy
This is a string with custom parameters separated by semicolons. For example if a car insurance policy is created and the brand of the car should be stored and the production year the contents of this property could be "brand: Ford;year: 2016".
The period of the policy entered as number of months.
Not used as an input. The created order will receive a policy number that is returned in the output.
The amount that will be charged on each payment frequency
The premium frequency entered as number of months.
All insurance policies are returned along with each insurance policy's BrickId and array of Errors per insurance policy
C# - Create a insurance policyExpand source
// Create Insurance Policy
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.CreateInsurancePolicy(new BFSServiceReference.CreateInsurancePolicyRequest()
Credentials = credentials,
identify = bfsidentifier, //Identifier is a unique token for your instance of BFS
Entities = new
AccountId = new Guid("28cb5e31-600e-4a17-b2a7-131e2b233c8f"),
OwnerId = new Guid("b710db8e-06b3-4e5b-aa7f-4ad9ef93bb91"),
ExpirationDate = DateTime.Today.AddMonths(1),
ExternalReference = "My insurance policy",
InsuranceProgramId = new Guid(""),
Premium = 100M,
PolicyPeriod = 12,
PremiumFrequency = 1,
SignDate = DateTime.Today,
Status = 1,
InitialActivationDate = DateTime.Today,
PeriodStartDate = DateTime.Today,
PeriodEndDate = DateTime.Today.AddMonths(1)
foreach (var c in response.Entities)
Console.WriteLine(c.BrickId + ", " + c.OwnerId);
Create a blog post to share news and announcements with your team and company.