...
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
//Use the GetInsuranceClaims 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 claims = client.GetInsuranceClaims(new BFSServiceReference.GetInsuranceClaimsRequest()
{
Credentials = credentials,
identify = bfsidentifier, //Identifier is a unique token for your instance of BFS
Args = new GetInsuranceClaimsArgs()
{
ClaimNos = new[] { "123456789" }
},
Fields = new BFSServiceReference.GetInsuranceProductsFields()
{
BrickId = true,
CreatedDate = true,
InsurancePolicyId = true,
InsuranceCoverId = true,
BenefitGrant = true,
PersonId = true,
SystemDate = true,
ReceiveDate = true,
ClaimDate = true,
ClaimNo = true,
Status = true,
Priority = true,
RejectReason = true,
Comment = true,
XmlFormFillOut = true
}
}); |
...