v1
latestOpenAPI 3.0.12026-08-066103.9 MBCreate a baggage incident linked to a travel claim.
Cf. summary
post/insurance/travel/v2/claims/{claim_id}/baggage_incidents
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.
x-tenant-idstring
Example:42bbd332fa8f48e7bb382165f257a579
The unique identifier of the tenant, the value should be provided by AXA.
Request body
Example request
{
"incident_id": "ec2ebd7f-684c-4d52-9a5f-fc49a23bc89c",
"planned_trip_id": "1db7a370-3cf3-4427-8526-fac2af885c9c",
"circumstance": {
"occured_at": "2019-05-05T10:05:22.0000000+00:00",
"airline": "British Airways",
"scheduled_flight_number": "PC 1256",
"property_irregularity_report_number": "ABCDE12345",
"theft_description": "The theft happened when I was taking the bus from the airport to my hotel.",
"official_report": {
"has_a_report_made": true,
"reported_to": "Police Station",
"reported_at": "2019-05-06T10:05:22.0000000+00:00",
"report_id": "43f7ded0-d074-4430-bff0-f490e6bd0609"
},
"type": "DELAY",
"delay_details": {
"arrived_at": "2019-05-07T10:05:22.0000000+00:00"
}
},
"external_claims": [
{
"company_type": "INSURER",
"company_name": "British Airline",
"status": "CLOSED",
"has_received_compensation": true,
"compensation_amount": {
"value": 199.99,
"currency": "EUR"
}
}
],
"expenses": [
{
"expense_id": "4a795d42-251f-4cdc-8b6f-0eff9af5d262",
"external_expense_id": "eef6e822-a117-4db3-a7d0-bd1c1bcacd45",
"claimant_id": "9b3820f8-c802-4f44-9665-587936b73218",
"description": "Hotel Fee",
"purchased_location": {
"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"
},
"purchased_at": "2019-05-12T12:55:33.0000000+00:00",
"price": {
"value": 199.99,
"currency": "EUR"
},
"ownership_proof_id": "82c27939-c34a-49de-9364-87afd47106a2"
}
],
"attachments": [
{
"attachment_id": "7f88b079-2205-4335-b72e-72d994e47fc8",
"name": "Hotel fee"
}
],
"questions_and_answers": [
{
"question_id": "6c8bd730-fef8-4ebf-9baf-f2d2883b91f2",
"question_text": "What is the age of the oldest passenger?",
"enumeration_answers": [
{
"answer_text": "Between 50 and 70",
"answer_id": "3252e3cc-2862-4772-8176-5b6f2b70e048"
}
],
"answered_text": "The age of the oldest passager is sixty-nine.",
"answered_amount": {
"value": 199.99,
"currency": "EUR"
},
"answered_distance": {
"value": 30,
"unit": "km"
},
"answered_weight": {
"value": 1250,
"unit": "kg"
}
}
],
"total_amount_claimed": {
"value": 199.99,
"currency": "EUR"
}
}Response
Baggage incident information.
Example response
{
"incident_id": "ec2ebd7f-684c-4d52-9a5f-fc49a23bc89c",
"planned_trip_id": "1db7a370-3cf3-4427-8526-fac2af885c9c",
"circumstance": {
"occured_at": "2019-05-05T10:05:22.0000000+00:00",
"airline": "British Airways",
"scheduled_flight_number": "PC 1256",
"property_irregularity_report_number": "ABCDE12345",
"theft_description": "The theft happened when I was taking the bus from the airport to my hotel.",
"official_report": {
"has_a_report_made": true,
"reported_to": "Police Station",
"reported_at": "2019-05-06T10:05:22.0000000+00:00",
"report_id": "43f7ded0-d074-4430-bff0-f490e6bd0609"
},
"type": "DELAY",
"delay_details": {
"arrived_at": "2019-05-07T10:05:22.0000000+00:00"
}
},
"external_claims": [
{
"company_type": "INSURER",
"company_name": "British Airline",
"status": "CLOSED",
"has_received_compensation": true,
"compensation_amount": {
"value": 199.99,
"currency": "EUR"
}
}
],
"expenses": [
{
"expense_id": "4a795d42-251f-4cdc-8b6f-0eff9af5d262",
"external_expense_id": "eef6e822-a117-4db3-a7d0-bd1c1bcacd45",
"claimant_id": "9b3820f8-c802-4f44-9665-587936b73218",
"description": "Hotel Fee",
"purchased_location": {
"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"
},
"purchased_at": "2019-05-12T12:55:33.0000000+00:00",
"price": {
"value": 199.99,
"currency": "EUR"
},
"ownership_proof_id": "82c27939-c34a-49de-9364-87afd47106a2"
}
],
"attachments": [
{
"attachment_id": "7f88b079-2205-4335-b72e-72d994e47fc8",
"name": "Hotel fee"
}
],
"questions_and_answers": [
{
"question_id": "6c8bd730-fef8-4ebf-9baf-f2d2883b91f2",
"question_text": "What is the age of the oldest passenger?",
"enumeration_answers": [
{
"answer_text": "Between 50 and 70",
"answer_id": "3252e3cc-2862-4772-8176-5b6f2b70e048"
}
],
"answered_text": "The age of the oldest passager is sixty-nine.",
"answered_amount": {
"value": 199.99,
"currency": "EUR"
},
"answered_distance": {
"value": 30,
"unit": "km"
},
"answered_weight": {
"value": 1250,
"unit": "kg"
}
}
],
"total_amount_claimed": {
"value": 199.99,
"currency": "EUR"
}
}