v1

latestOpenAPI 3.0.12026-08-066103.9 MB

Gets the list of policy attachments associated with the policy.

Cf. summary

get/sales/v2/individual/travel/policies/{policy_id}/attachments

Path parameters

policy_idstring required
Example:ea45ec62-0d21-4f44-a577-b8624da2bf5b

Unique policy identifier.

Headers

accept-languagestring
Example:en

Accepted language, IANA language codification. If language not managed, "en" will be used by default.

x-axa-contextstring JSON Web Token RFC 7519

The token is formatted as a JWT and provided by the partner.

x-tenant-idstring
Example:42bbd332fa8f48e7bb382165f257a579

The unique identifier of the tenant, the value should be provided by AXA.

Response

An array of attachments associated to the policy.

namestring required

Attached document name.

content_urlstring required

URL to download the document.

typestring

Indicates the type of the document, it can be:

  • TERMS_AND_CONDITIONS;
  • CONTRACT;
  • ...
created_atstring date

Date and time of document creation - ISO 8601 format (YYYY-MM-DD).

sent_bystring[]

The attachment sent via confirmation email or precontractual email.

technical_referencestring

The technical reference used to download the attachment.

Example response

[
  {
    "name": "Proof of purchase",
    "content_url": "https://axa.com/deeplink/route",
    "type": "CONTRACT",
    "technical_reference": "3c13937d-9f60-4fff-bf03-06d9aee56abe"
  }
]