Create Incident

Story

As App user (Notifier)
I want to register an incident on the platform
so that the incident and damage details can be stored and exchanged with an eventual counterpart.

Acceptance Criteria

  • The app executes the request to the service POST /v2/incidents.
  • The platform returns an incident uuid, which is stored inside the app. This incidentuuid is used for further communication with the platform.
  • For double sided notifications it is possible to set the value of the 'questions' property. This property triggers the correct validation of the notification.
  • Only valid notifications will be send to the participants.
  • For single-sided notifications the 'questions' property is not being set. These messages are meant for the insurance company that has provided the app. Therefore it is the responsability of the insurance company app to create the correct notifications.
  • The value of the 'questions' property can also be set at a later moment through a call to [POST /v2/incidents/{incidentUuid}]

Sequence Diagram