CreateInsuranceClaims
Inputs (Array of InsuranceClaim) inherits from EntityBase
Name | Type | Description | Mandatory | Available from version | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BrickId | Guid | Not used as an input. | 2.02 | |||||||||||||||||||||||||||||||||||||
InsurancePolicyId | Guid | The BrickId of the insurance policy. Insurance policies can be fetched using GetInsurancePolicies. | true | 2.02 | ||||||||||||||||||||||||||||||||||||
InsuranceCoverId | Guid | The BrickId of the insurance cover. | true | 2.02 | ||||||||||||||||||||||||||||||||||||
BenefitGrant | decimal | The claims payment amount | 2.02 | |||||||||||||||||||||||||||||||||||||
PersonId | Guid | The BrickId of the person (administrator) who is assigned to work on the insurance claim, this is a Legal Entity that can be fetched using GetPersons. | 2.02 | |||||||||||||||||||||||||||||||||||||
SystemDate | DateTime | 2.02 | ||||||||||||||||||||||||||||||||||||||
ReceiveDate | DateTime | The date on which the claim was received from the customer | 2.02 | |||||||||||||||||||||||||||||||||||||
ClaimDate | DateTime | The date when the claim was opened | 2.02 | |||||||||||||||||||||||||||||||||||||
ClaimNo | string | The claims number | 2.02 | |||||||||||||||||||||||||||||||||||||
Status | int |
| 2.02 | |||||||||||||||||||||||||||||||||||||
Priority | int | 1-5 | 2.02 | |||||||||||||||||||||||||||||||||||||
RejectReason | int |
| 2.02 | |||||||||||||||||||||||||||||||||||||
Comment | string | 2.02 | ||||||||||||||||||||||||||||||||||||||
XmlFormFillOut | string | 2.02 |
Response rows
Name | Type | Description | Available from version |
|---|---|---|---|
EntitiesArray | Array | All insurance claims are returned along with each insurance claim's BrickId and array of Errors per insurance claim. |
Code examples
C# - Crete an insurance claim
// Create Insurance Claim
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
};
Guid insurancePolicyId = GetInsurancePolicyId("Your ExternalReference"); // Can be implemented user API function GetInsurancePolicies
var response = client.CreateInsuranceClaims(new BFSServiceReference.CreateInsuranceClaimsRequest()
{
Credentials = credentials,
identify = bfsidentifier, //Identifier is a unique token for your instance of BFS
Entities = new[]
{
new InsuranceClaim()
{
InsurancePolicyId = new Guid("15b1f034-c9b9-4747-a03a-5bb06edd0ad1"), // Should be the ID of an existing insurance policy
InsuranceCoverId = new Guid("15b1f034-c9b9-4747-a03a-5bb06edd0ad1"), // Should be the ID of an existing insurance cover
}
}
});
foreach (var c in response.Entities)
{
Console.WriteLine(c.BrickId + ", " + c.ClaimNo);
}Blog stream
Create a blog post to share news and announcements with your team and company.
Terms of License
Change Policy
© 2009 - 2024 Huddlestock Technologies AB All rights reserved