Name | Type | Description | Mandatory | Available from version | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BrickId | Guid | This is the unique id of the product that should be updated. | True | 2.02 | ||||||||||||||||||||||||||||||||||||
InsurancePolicyId | Guid | The BrickId of the insurance policy. Insurance policies can be fetched using GetInsurancePolicies. | 2.02 | |||||||||||||||||||||||||||||||||||||
InsuranceCoverId | Guid | The BrickId of the insurance cover. | 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. The information about the person can be fetched using GetPersons. | 2.02 | |||||||||||||||||||||||||||||||||||||
SystemDate | DateTime | 2.02 | ||||||||||||||||||||||||||||||||||||||
ReceiveDate | DateTime | Date for when the insurance claim was received. | 2.02 | |||||||||||||||||||||||||||||||||||||
ClaimDate | DateTime | Date for when the insurance 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 |
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 | 2.02 |
// Update an Insurance Claim with the UpdateInsuranceClaims 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.UpdateInsuranceClaims(new BFSServiceReference.UpdateInsuranceClaimsRequest() { Credentials = credentials, identify = bfsidentifier, //Identifier is a unique token for your instance of BFS Fields = new UpdateInsuranceClaimsFields() { BrickId = true, Comment = true }, Entities = new[] { new UpdateInsuranceClaim() { BrickId = new Guid("15b1f034-c9b9-4747-a03a-5bb06edd0ad1"), // Should be the ID of an existing insurance claim, use API function GetInsuranceClaims to get BrickId id of the claims Comment = "This is a comment made from the web service.", }, }, }); foreach (var c in response.Entities) { Console.WriteLine(c.BrickId + ", " + response.Message); } |