Name | Type | Description | Mandatory | Available from version | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BrickIds | Guid[] | The BrickIds (unique id) of the insurance covers | 2.02 | ||||||||||
CreatedDateFrom | DateTime | 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 | |||||||||
CreatedDateTo | DateTime | The date on which the insurance policy was created. Filters out items created after date. | 2.02 | ||||||||||
Keys | string[] | Unique value for the specific cover | 2.02 | ||||||||||
Labels | string[] | 2.02 | |||||||||||
Names | string[] | The name of the cover | 2.02 | ||||||||||
DescriptionStrings | string[] | Description of the cover | 2.02 | ||||||||||
Statuses | int[] |
| 2.02 | ||||||||||
QualificationPeriods | string[] | Number of days that have to be covered by the insuree himself e.g. the first 30 days of unemployment | 2.02 | ||||||||||
ReQualificationPeriods | string[] | Time that needs to pass before a new claim can be paid after a previous claim | 2.02 | ||||||||||
QualifyingPeriods | string[] | Number of days that have to be covered by the insuree himself e.g. the first 30 days of unemployment | 2.02 | ||||||||||
CompensationTypes | string[] | Claim payout type e.g. SEK, a new mobile phone etc. | 2.02 | ||||||||||
MaxCompensations | decimal[] | Max claim amount | 2.02 | ||||||||||
MinSubscriptionAges | int[] | Min age when buying the insurance | 2.02 | ||||||||||
MaxSubscriptionAges | int[] | Max age when buying the insurance | 2.02 | ||||||||||
MaxAges | int[] | Max age for having a valid insurance | 2.02 | ||||||||||
Deductibles | decimal[] | The amount of the claim covered by the insuree | 2.02 | ||||||||||
Comments | string[] | 2.02 |
Name | Type | Description | Available from version | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
BrickId | Guid | The BrickId (unique id) of the insurance cover. | 2.02 | |||||||||
CreatedDate | DateTime | The moment in time when insurance cover was created. | 2.02 | |||||||||
Key | string | Used to uniquely identify this cover. | 2.02 | |||||||||
Label | string | Label for insurance cover. | 2.02 | |||||||||
Name | string | 2.02 | ||||||||||
DescriptionString | string | 2.02 | ||||||||||
Status | int |
| 2.02 | |||||||||
QualificationPeriod | string | 2.02 | ||||||||||
ReQualificationPeriod | string | 2.02 | ||||||||||
QualifyingPeriod | string | 2.02 | ||||||||||
CompensationType | string | 2.02 | ||||||||||
MaxCompensation | decimal | 2.02 | ||||||||||
MinSubscriptionAge | int | 2.02 | ||||||||||
MaxSubscriptionAge | int | 2.02 | ||||||||||
MaxAge | int | 2.02 | ||||||||||
Deductible | decimal | 2.02 | ||||||||||
Comment | string | 2.02 | ||||||||||
XmlFormTemplate | string | XML document storing additional values for cover. | 2.02 |
//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 } }); |