v1

latestOpenAPI 3.0.12026-08-066103.9 MB

Creates an involved contact to a claim.

Cf. summary

post/insurance/travel/v2/claims/{claim_id}/involved_contacts

Path parameters

claim_idstring required

Claim identifier.

Example:e941c951-6101-41b8-b227-28c0495227f3

Claim identifier.

Headers

x-environment'test' | 'preprod' | 'prod'

When calling the API, the client can precise in which environment the information should be sent. The environments are listed below:

  • test --> UAT / User Acceptance Environment.
  • preprod --> Pre-production (real data, real clients to validate the software before release to production).
  • prod --> Production environment.

Request body

OR

Example request

{
  "involved_contact_id": "c773ce1a-e273-4f8f-9338-1a6e7b805f46",
  "company": {
    "external_contact_id": "0ee85475-e7e8-438c-86f5-92d7a910e0dc",
    "name": "Santander UK",
    "address": {
      "street_address": "123 Some Street Name",
      "postal_code": "75001",
      "locality": "PARIS",
      "country": "FR",
      "subdivision": "Le marais",
      "state": "Ile-de-France",
      "complete_address": "123 Some Street Name Le marais 75001 PARIS Ile-de-France FRANCE"
    },
    "phone": {
      "international_prefix": "+33",
      "number": "0123456789"
    },
    "email": "jonathan.doe@mail.com",
    "bank_account": {
      "bank": {
        "name": "Santander UK",
        "address": {
          "street_address": "123 Some Street Name",
          "postal_code": "75001",
          "locality": "PARIS",
          "country": "FR",
          "subdivision": "Le marais",
          "state": "Ile-de-France",
          "complete_address": "123 Some Street Name Le marais 75001 PARIS Ile-de-France FRANCE"
        }
      },
      "holder_name": "Joe Doe",
      "account_type": "1|2|3 Current Account",
      "preferred_transfer_type": "IBAN",
      "account_number": "FR7630006000011234567890189",
      "currency": "EUR",
      "routing_number": "12-34-56",
      "bank_identification_number": "AGRIFRPP"
    }
  }
}

Response

Involved contact information.

OR

Example response

{
  "involved_contact_id": "c773ce1a-e273-4f8f-9338-1a6e7b805f46",
  "company": {
    "external_contact_id": "0ee85475-e7e8-438c-86f5-92d7a910e0dc",
    "name": "Santander UK",
    "address": {
      "street_address": "123 Some Street Name",
      "postal_code": "75001",
      "locality": "PARIS",
      "country": "FR",
      "subdivision": "Le marais",
      "state": "Ile-de-France",
      "complete_address": "123 Some Street Name Le marais 75001 PARIS Ile-de-France FRANCE"
    },
    "phone": {
      "international_prefix": "+33",
      "number": "0123456789"
    },
    "email": "jonathan.doe@mail.com",
    "bank_account": {
      "bank": {
        "name": "Santander UK",
        "address": {
          "street_address": "123 Some Street Name",
          "postal_code": "75001",
          "locality": "PARIS",
          "country": "FR",
          "subdivision": "Le marais",
          "state": "Ile-de-France",
          "complete_address": "123 Some Street Name Le marais 75001 PARIS Ile-de-France FRANCE"
        }
      },
      "holder_name": "Joe Doe",
      "account_type": "1|2|3 Current Account",
      "preferred_transfer_type": "IBAN",
      "account_number": "FR7630006000011234567890189",
      "currency": "EUR",
      "routing_number": "12-34-56",
      "bank_identification_number": "AGRIFRPP"
    }
  }
}