MissionAssignedv2.0.0
Event represents when a FlatGuide has been assigned to perform a Mission for a Customer
Details
This event was emitted when a FlatGuide has been assigned by the Ops Team to perform a Mission for a Customer. This event is now deprecated and is replaced by the "MissionAccepted" event.
Related Events
- Is generally followed by a "MissionAssignedToCustomer" Notification being generated in the Notification Service through the Dispatch Service to let the Customer know by Email that the mission is assigned.
Consumer / Producer Diagram
Event Example
MissionAssigned Schema (json)
{
"version": "0",
"id": "676ddc84-11d2-587b-34a3-bb0d7c1ac7f3",
"detail-type": "MissionAssigned",
"source": "flatsy.service.mission",
"account": "221760190323",
"time": "2023-04-13T07:37:58Z",
"region": "eu-west-3",
"resources": [],
"detail": {
"metadata": {
"application": "Larmina",
"service": "flatsy.service.mission",
"actor": "Ops",
"actorID": "f2bb4633-95ba-4e94-a53a-7986d7150a3d",
"entity": "Mission",
"correlationID": "3112dbdd-74d1-60c3-be11-d50c6e744df2",
"entityID": "d8a310f2-76db-4472-b32c-03cda359b067"
},
"data": {
"mission": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"version": "2.0",
"type": "INVENTORY",
"state": "REQUESTED",
"propertyId": "0a9fb7d1-bde3-4bf3-8e87-9de1f0d3ce51",
"customerId": "5596f035-0359-4f94-bf37-2b3bb0e0926e",
"createdAt": "2023-05-02T08:56:42.794Z",
"updatedAt": "2023-05-02T08:56:42.794Z",
"inventory": {
"type": "ENTRY",
"preferredDates": {
"startsAt": "2023-05-13",
"endsAt": "2023-05-18"
},
"visit": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"startsAt": "2023-05-18T14:30:00.000Z",
"durationInMinutes": 90
},
"flatguide": {
"id": "cbc58e2d-3a0f-40b2-9ab6-8e1ab5d133db",
"staffedAt": "2023-05-11T14:27:45.511Z"
}
},
"property": {
"location": {
"latitude": 45.3963019,
"longitude": 4.266468400000001,
"countryCode": "FR",
"postalCode": "75012",
"locality": "Unieux",
"route": null,
"streetAddress": "12 Rue des Boulets",
"streetNumber": null,
"entrance": null,
"unit": null,
"placeName": null,
"floorNumber": 2
},
"estateType": "HOUSE",
"publication": {
"reference": "4413327"
},
"spaces": {
"residential": {
"livingSpace": 120
}
},
"structure": {
"rooms": {
"numberOfBedrooms": 2,
"numberOfRooms": 5
}
},
"isFurnished": true,
"heating": {
"energyEquipmentKind": "ELECTRICITY",
"isCommunal": true
},
"hotWater": {
"energyEquipmentKind": "ELECTRICITY",
"isCommunal": true
}
},
"tenants": [
{
"firstName": "Olivier",
"lastName": "Dupont",
"email": "thomas@flatsy.fr",
"address": "52 rue d'aboukir",
"postalCode": "75002",
"locality": "Paris"
},
{
"firstName": "Elise",
"lastName": "Dupont",
"email": "thomas@flatsy.fr",
"address": "52 rue d'aboukir",
"postalCode": "75002",
"locality": "Paris"
}
],
"landlord": {
"firstName": "Olivier",
"lastName": "Dupont",
"email": "thomas@flatsy.fr",
"address": "52 rue d'aboukir",
"postalCode": "75002",
"locality": "Paris"
},
"thirdParty": null
}
}
}
}
Edit this pageLast updated on 2023/11/3
