Skip to content

Message Structure

Bernard Tison edited this page Mar 14, 2019 · 1 revision

General message structure:

{
  "MessageType":"IncidentReportEvent",
  "id":"<UUID>",
  "invokingService":"incidentService",
  "timerstamp":1521148332350,
  "body": {}
}

IncidentReportEvent body:

{
  "id": "<UUID>",
  "lat": "34.14338",
  "lon": "-77.86569",
  "numberOfPeople": 3,
  "medicalNeeded": true,
  "timestamp": 1521148332350
}
Clone this wiki locally