Create a Travel draft

Request

POST https://qover-sandbox.apigee.net/{country}/lifestyle/travel/drafts

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

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",
    "policyholder": {
        "address": {
            "city": "string",
            "country": "string",
            "number": "string",
            "street": "string",
            "zip": "string"
        },
        "billingAddress": {
            "city": "string",
            "country": "string",
            "number": "string",
            "street": "string",
            "zip": "string"
        },
        "company": {
            "firstName": "string",
            "lastName": "string",
            "name": "string",
            "title": "string",
            "vat": "string"
        },
        "contact": {
            "email": "string",
            "phone": "string"
        },
        "person": {
            "birthdate": "date",
            "firstName": "string",
            "lastName": "string",
            "title": "string"
        }
    },
    "risk": {
        "isCarsAgeElligible": "boolean"
    },
    "terms": {
        "familySituation": "string",
        "hasAccidentProtection": "boolean",
        "hasBaggageProtection": "boolean",
        "hasRoadsideAssistance": "boolean",
        "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
policyholder object

The policyholder is a physical person or a company in whose name an insurance policy is held. It cannot be both. If the policyholder has a VAT number then it needs to be considered as a company whatever its legal form is.

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.company object Company Optional
policyholder.company.firstName string Optional
policyholder.company.lastName string Optional
policyholder.company.name string
policyholder.company.title string Optional
policyholder.company.vat string Optional
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
policyholder.person.lastName string
policyholder.person.title string Optional
risk object Optional
risk.isCarsAgeElligible boolean

has to be set to true if roadsideAssistance is chosen

Optional
terms object Optional
terms.familySituation string

The label that identifies the family situation of the client.

Possible values are:

  • individual
  • couple
  • family
Optional
terms.hasAccidentProtection boolean

True if policyholder has chosen the optional accident protection coverage

Optional
terms.hasBaggageProtection boolean

True if policyholder has chosen the optional baggage protection coverage

Optional
terms.hasRoadsideAssistance boolean

True if policyholder has chosen the optional roadside assistance protection coverage

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 product.

Possible values are:

  • standard
  • premium
Optional

Response

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

Status code Description Resource
200 OK

Ok: Operation Successful

Draft (travel)
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

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
body
Request Content-Type
Qover-Api-Version

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

Response Content-Type
Try it out!