BookingCreationFailedv2.0.0
Event represents when a Booking has been created for a Mission
Details
This event is emitted when a Booking creation has failed.
The reasons for failure may be :
- TIMESLOT_UNAVAILABLE
- MISSING_MISSION
- MISSING_ASSIGNMENT
- MISSING_ADENT
Consumer / Producer Diagram
Event Example
BookingCreationFailed Schema (json)
{
"version": "0",
"id": "676ddc84-11d2-587b-34a3-bb0d7c1ac7f3",
"detail-type": "BookingCreationFailed",
"source": "flatsy.service.mission",
"account": "221760190323",
"time": "2023-04-13T07:37:58Z",
"region": "eu-west-3",
"resources": [],
"detail": {
"metadata": {
"application": "Pro",
"service": "flatsy.service.mission",
"actor": "Customer",
"actorID": "f2bb4633-95ba-4e94-a53a-7986d7150a3d",
"entity": "Booking",
"correlationID": null,
"entityID": "873940cd-76db-77831-b32c-03cda359098a",
"version": "2.0",
"requestID": "bdb6b724-fc25-47c1-94d8-8c8504e3f8bc",
"reasonForFailure": "TIMESLOT_UNAVAILABLE",
},
"data": {
"request": {
"startsAt": "2023-05-15T10:00:00Z",
"durationInMinutes": 90,
"agent": {
"type": "FLATGUIDE",
"id": "ccca4633-95ba-4e94-a53a-7986d7151234"
},
"mission": {
"type": "INSPECTION",
"id": "ccca4633-95ba-4e94-a53a-7986d7151234"
}
}
}
}
}Edit this pageLast updated on 2023/11/3
