GetInsuranceCovers

Filter inputs

NameTypeDescriptionMandatoryAvailable from version
BrickIdsGuid[]The BrickIds (unique id) of the insurance covers
2.02
CreatedDateFromDateTime

The date on which the insurance policy was created.

Filters out items created before date.

If one of these values are used as input both of them has to be supplied.2.02
CreatedDateToDateTime

The date on which the insurance policy was created.

Filters out items created after date.


2.02
Keysstring[]Unique value for the specific cover
2.02
Labelsstring[]

2.02
Namesstring[]The name of the cover
2.02
DescriptionStringsstring[]Description of the cover
2.02
Statusesint[]
ValueStatusDescription
1Opened
2Closed

2.02
QualificationPeriodsstring[]Number of days that have to be covered by the insuree himself e.g. the first 30 days of unemployment
2.02
ReQualificationPeriodsstring[]Time that needs to pass before a new claim can be paid after a previous claim
2.02
QualifyingPeriodsstring[]Number of days that have to be covered by the insuree himself e.g. the first 30 days of unemployment
2.02
CompensationTypesstring[]Claim payout type e.g. SEK, a new mobile phone etc.
2.02
MaxCompensationsdecimal[]Max claim amount
2.02
MinSubscriptionAgesint[]Min age when buying the insurance
2.02
MaxSubscriptionAgesint[]Max age when buying the insurance
2.02
MaxAgesint[]Max age for having a valid insurance
2.02
Deductiblesdecimal[]The amount of the claim covered by the insuree
2.02
Commentsstring[]

2.02

Response rows (Array) inherits from EntityBase

NameTypeDescriptionAvailable from version
BrickIdGuidThe BrickId (unique id) of the insurance cover.2.02
CreatedDateDateTimeThe moment in time when insurance cover was created.2.02
KeystringUsed to uniquely identify this cover.2.02
LabelstringLabel for insurance cover.2.02
Namestring
2.02
DescriptionStringstring
2.02
Statusint
ValueStatusDescription
1Opened
2Closed
2.02
QualificationPeriodstring
2.02
ReQualificationPeriodstring
2.02
QualifyingPeriodstring
2.02
CompensationTypestring
2.02
MaxCompensationdecimal
2.02
MinSubscriptionAgeint
2.02
MaxSubscriptionAgeint
2.02
MaxAgeint
2.02
Deductibledecimal
2.02
Commentstring
2.02
XmlFormTemplatestringXML document storing additional values for cover.2.02

Code examples

C# - Get insurance covers
//Use the GetInsuranceCovers 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 covers = client.GetInsuranceCovers(new BFSServiceReference.GetInsuranceCoversRequest()
{
    Credentials = credentials,
  
    identify = bfsidentifier, //Identifier is a unique token for your instance of BFS
  
    Args = new GetInsuranceCoversArgs()
    {
        Keys = new[] { "1000" }
    },
  
    Fields = new BFSServiceReference.GetInsuranceCoversFields()
    {
                    BrickId = true,
                    CreatedDate = true,
                    Key = true,
                    Label = true,
                    Name = true,
                    DescriptionString = true,
                    Status = true,
                    QualificationPeriod = true,
                    ReQualificationPeriod = true,
                    QualifyingPeriod = true,
                    CompensationType = true,
                    MaxCompensation = true,
                    MinSubscriptionAge = true,
                    MaxSubscriptionAge = true,
                    MaxAge = true,
                    Deductible = true,
                    Comment = true,
                    XmlFormTemplate = true
    }
});

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