Create a medical assistance incident linked to a travel claim.
Changed onCreate 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.
Request
- Base URLhttps://sandbox.api.axapartners.com
- URLhttps://sandbox.api.axapartners.com/insurance/travel/v2/claims/{claim_id}/medical_assistance_incidents
- AuthOAuth 2Client credentialsToken URL: https://sandbox.auth.api.axapartners.com/oauth/token scopes: urn:axa.partners.insurance.travel.claims.write
Path parameters
Claim identifier.
Headers
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.
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": "bb2df1d1-85b2-472f-b391-cce0062ea5bb",
"was_inpatient": true,
"inpatient_information": {
"admitted_at": "2019-06-11T10:55:30.0000000+00:00"
}
}
},
"attachments": [
{
"attachment_id": "7f88b079-2205-4335-b72e-72d994e47fc8",
"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": "bb2df1d1-85b2-472f-b391-cce0062ea5bb",
"was_inpatient": true,
"inpatient_information": {
"admitted_at": "2019-06-11T10:55:30.0000000+00:00"
}
}
},
"provider": {
"provider_id": "38d07441b8804e6e81b39e25b32a0a0c"
},
"attachments": [
{
"attachment_id": "7f88b079-2205-4335-b72e-72d994e47fc8",
"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"
}
}
]
}Changes
- breaking
added the new required request property
/ - breaking
added the new required request property
/ - breaking
the
request property type changed from no type toobject - breaking
the
//response's property type changed from no type toobjectfor status - breaking
the
//response's property type changed from no type toobjectfor status - warning
removed
subschema #1from therequest propertyallOflist - info
added the new optional request property
/ - info
added the new required request property
/with a default value - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
removed
subschema #1from the//response propertyallOflist for the response status - info
removed
subschema #1from the//response propertyallOflist for the response status - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status
- breaking
- info
endpoint added
- info