AssignmentAcceptedv2.0.0
Event represents when a FlatGuide has been accepted to perform a Mission
Details
This event is emitted when a FlatGuide has accepted an assigned to perform a Mission.
Related Events
- Is generally followed by a "AssignmentAcceptedToCustomer" Notification being generated in the Notification Service through the Dispatch Service to let the Customer know by Email that the mission is assigned and that they can book.
Consumer / Producer Diagram
Event Example
AssignmentAccepted Schema (json)
{
"version": "0",
"id": "676ddc84-11d2-587b-34a3-bb0d7c1ac7f3",
"detail-type": "AssignmentAccepted",
"source": "flatsy.service.mission",
"account": "221760190323",
"time": "2023-04-13T07:37:58Z",
"region": "eu-west-3",
"resources": [],
"detail": {
"metadata": {
"application": "Agent",
"service": "flatsy.service.mission",
"actor": "FLATGUIDE",
"actorID": "f2bb4633-95ba-4e94-a53a-7986d7150a3d",
"entity": "Mission",
"correlationID": null,
"entityID": "873940cd-76db-77831-b32c-03cda359098a"
},
"data": {
"updatedAt" : "2023-05-01T10:02:54.156Z",
"isFirstAccepted" : true,
"assignment": {
"agent": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "FLATGUIDE"
},
"state": "ACCEPTED",
"startsAt": "2023-08-24",
"endsAt": "2023-08-24"
},
"previous": {
"agent": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "FLATGUIDE"
},
"state": "OFFERED",
"startsAt": "2023-08-24",
"endsAt": "2023-08-24"
},
"missionId": "ccca4633-95ba-4e94-a53a-7986d7151234"
}
}
}
Edit this pageLast updated on 2023/11/3
