Create a medical assistance incident linked to a travel claim.
Create a medical assistance incident linked to a travel claim.
N.B. This endpoint can only be used when the claims request_type is equal to ASSISTANCE.
post/insurance/travel/v2/claims/{claim_id}/medical_assistance_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
{
"planned_trip_id": "1db7a370-3cf3-4427-8526-fac2af885c9c",
"provider": {
"provider_id": "38d07441b8804e6e81b39e25b32a0a0c"
},
"emergency_assistance_type": "MEDICAL_ASSISTANCE_USING_LOCAL_EMERGENCY_NUMBER",
"circumstance": {
"type": "INJURY",
"description": "Broken legs",
"medical_condition": {
"started_at": "2019-03-02T10:59:00.0000000+00:00",
"description": "Broken legs"
},
"affected_person": {
"involved_person_id": "cf91148d-5af1-4f14-8546-627f679cbf4a",
"was_inpatient": true,
"inpatient_information": {
"admitted_at": "2019-06-11T10:55:30.0000000+00:00"
}
}
},
"attachments": [
{
"attachment_id": "4c854f8d-a569-41c9-8028-36530b9ead4d",
"name": "car_rental_invoice.jpg",
"attachment_category": "POLICE_REPORT"
}
],
"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"
}
}
]
}Response
Medical assistance incident created.
Example response
{
"incident_id": "ec2ebd7f-684c-4d52-9a5f-fc49a23bc89c",
"planned_trip_id": "1db7a370-3cf3-4427-8526-fac2af885c9c",
"circumstance": {
"type": "INJURY",
"description": "Broken legs",
"medical_condition": {
"started_at": "2019-03-02T10:59:00.0000000+00:00",
"description": "Broken legs"
},
"affected_person": {
"involved_person_id": "cf91148d-5af1-4f14-8546-627f679cbf4a",
"was_inpatient": true,
"inpatient_information": {
"admitted_at": "2019-06-11T10:55:30.0000000+00:00"
}
}
},
"provider": {
"provider_id": "38d07441b8804e6e81b39e25b32a0a0c"
},
"attachments": [
{
"attachment_id": "4c854f8d-a569-41c9-8028-36530b9ead4d",
"name": "car_rental_invoice.jpg",
"attachment_category": "POLICE_REPORT"
}
],
"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"
}
}
]
}