Update the current version of the draft

Request

PUT https://qover-sandbox.apigee.net/{country}/lifestyle/jobloss/drafts/{draftId}

Path parameters

Parameter name Value Description Additional
country string

The country ISO code case insensitive Country code in ISO 3166-1 alpha-2 The currently countries for which a line of business is available are:

  • BE
Required
draftId string

The Draft unique Id

Required

Request headers

Parameter name Value Description Additional
Qover-Api-Version string

The version of the api. Currently only '1.0' is available.

Required

Request body

The request body takes a complete Create Draft Body resource, containing the following writable properties:

{
    "language": "string",
    "metadata": [
        {
            "key": "string",
            "value": "string"
        }
    ],
    "policyholder": {
        "address": {
            "city": "string",
            "country": "string",
            "number": "string",
            "street": "string",
            "zip": "string"
        },
        "billingAddress": {
            "city": "string",
            "country": "string",
            "number": "string",
            "street": "string",
            "zip": "string"
        },
        "contact": {
            "email": "string",
            "phone": "string"
        },
        "person": {
            "birthdate": "date",
            "firstName": "string",
            "lastName": "string",
            "title": "string",
            "vat": "string"
        }
    },
    "risk": {
        "insuredJob": {
            "employeeStatus": "string",
            "employer": "string",
            "industry": "string",
            "isAwareOfImpendingJobloss": "boolean",
            "isPermanentContract": "boolean",
            "jobTitle": "string",
            "willUnregisterSocialFundIfClaim": "boolean",
            "workingAtLeast16Hours": "boolean"
        }
    },
    "terms": {
        "claimLimit": {
            "currency": "string",
            "value": "integer"
        },
        "commercialName": "string",
        "requestPaperCopy": "boolean",
        "startDate": "date",
        "variant": "string"
    }
}

Properties

Name Type Description Additional
language string

The language of the document. ISO 639-1 codes

Possible values are:

  • nl
  • fr
  • en
Optional
metadata[] array Optional
metadata[].key string

The item key (No unicity is checked)

metadata[].value string

The item value

policyholder object

The policyholder has to be a physical person. By definition, it will also be the insured person.

Optional
policyholder.address object

An address

Optional
policyholder.address.city string
policyholder.address.country string

The country ISO code Country code in ISO 3166-1 alpha-2

policyholder.address.number string Optional
policyholder.address.street string
policyholder.address.zip string
policyholder.billingAddress object

An address

Optional
policyholder.billingAddress.city string
policyholder.billingAddress.country string

The country ISO code Country code in ISO 3166-1 alpha-2

policyholder.billingAddress.number string Optional
policyholder.billingAddress.street string
policyholder.billingAddress.zip string
policyholder.contact object Contact Optional
policyholder.contact.email string

email address must be valid

Optional
policyholder.contact.phone string Optional
policyholder.person object

A physical person

Optional
policyholder.person.birthdate date

ISO 8601 Calendar dates format YYYY-MM-DD

Optional
policyholder.person.firstName string Optional
policyholder.person.lastName string Optional
policyholder.person.title string Optional
policyholder.person.vat string

If the insured person is self-employed and has a VAT number then VAT number can be provided

Optional
risk object Optional
risk.insuredJob object Optional
risk.insuredJob.employeeStatus string

The insured person tax status

Possible values are:

  • employee
  • self-employed
  • governmentOfficial
Optional
risk.insuredJob.employer string

The insured person's employer. It is mandatory when employeeStatus is different than self-employed

Optional
risk.insuredJob.industry string

The insured person's job industry

Optional
risk.insuredJob.isAwareOfImpendingJobloss boolean

False if insured person confirms that (s)he is not aware of any impending joblosses to be imposed by the current employer that are about to happen and likely affect him/her. API will send back an error if value provided is true

Optional
risk.insuredJob.isPermanentContract boolean

Can only be provided if employee status is employee or government official. False if the insured person has a fixed term contract, true if insured person has a permanent contract. Value must be true

Optional
risk.insuredJob.jobTitle string

The insured person job title

Optional
risk.insuredJob.willUnregisterSocialFundIfClaim boolean

Can only be provided if employee status is self-employed. True if insured person confirms he will unregister from his/her social insurance fund. Value must be true

Optional
risk.insuredJob.workingAtLeast16Hours boolean

True if insured person has been working at least 16 hours per week over the last 6 months. API will send back an error if value provided is false.

Optional
terms object Optional
terms.claimLimit object

An amount in a given currency

Optional
terms.claimLimit.currency string

ISO 4217 currency code. The only currenlty supported currency is EUR.

Possible values are:

  • EUR
terms.claimLimit.value integer

Claim limit amout

Possible values are:

  • 500000
  • 100000
  • 200000
  • 300000
terms.commercialName string

The label that identifies the product.

Optional
terms.requestPaperCopy boolean

True if policyholder requested to receive documents on paper instead of by email

Optional
terms.startDate date

ISO 8601 Calendar dates format YYYY-MM-DD. You can defer the Start date up to 30 days ahead from the date of purchase of the Policy.

Optional
terms.variant string

The label that identifies the variant of the roduct.

Possible values are:

  • JOBLOSS6
  • JOBLOSS12
Optional

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

Ok: Operation Successful

Headers returned

Name Type Description
Last-Modified date-time
Draft (jobloss)
400 Bad Request

Bad Request: The requested operation cannot be perfomed as the request is badly formatted or failed validation.

Business Rule Error
401 Unauthorized

Unauthorized: The authentication failed or is missing

403 Forbidden

Forbidden: You do not have the right to perform this operation

404 Not Found

Not Found: The requested ressource cannot be found

500 Internal Server Error

Internal Server error: The request could not processed due to a server error

General Error

Explore this API

country

The country ISO code case insensitive Country code in ISO 3166-1 alpha-2 The currently countries for which a line of business is available are:

  • BE
draftId

The Draft unique Id

body
Request Content-Type
Qover-Api-Version

The version of the api. Currently only '1.0' is available.

Response Content-Type
Try it out!