Managing trip incidents
Use the following endpoints to manage trip incidents:
- GET
/claims/{claimId}/trip-incidents
- POST
/claims/{claimId}/trip-incidents
- GET
/claims/{claimId}/trip-incidents/{incidentId}
- PATCH
/claims/{claimId}/trip-incidents/{incidentId}
- DELETE
/claims/{claimId}/trip-incidents/{incidentId}
For example, the following request creates a trip incident for claim cc:411.
POST /claim/v1/claims/cc:411/trip-incidents
{
"data": {
"attributes": {
"description": "Flight cancelled due to airline strike",
"tripRiskUnit": {
"id": "cc:SHEXDGWJHfyVMKSxBLFZ9"
}
}
}
}