Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
VerkehrszeichenplanApp
Please create a React-JS application for the VerkehrszeichenplanModule. The application has to offer the following views for the user interface: 1. UnfallView 2. VerkehrszeichenView 3. VerkehrszeichenplanView 4. VerkehrszeichenplanVerkehrszeichenView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The UnfallView must contain the following fields: - name: Baustelle type: Baustelle - name: Beschreibung type: STRING - name: BeteiligtenAnzahl type: INT - name: Datum type: DATE - name: Personenschaden type: BOOL - name: PolizeiEinsatz type: BOOL - name: Sachschaden type: BOOL The data source for the [Baustelle] select control should be loaded from the relative URL: "/BaustelleService/baustelle" (HTTP-GET) An existing Unfall entity should be loaded from the relative URL: "/VerkehrszeichenplanService/unfall/{id}" (HTTP-GET) If a new Unfall entity has been created, the new entity should be posted to the relative URL: "/VerkehrszeichenplanService/unfall" (HTTP-POST) If an existing Unfall entity has been updated, the modified entity should be sent to the relative URL: "/VerkehrszeichenplanService/unfall/{id}" (HTTP-PUT) If an existing Unfall entity has to be deleted, the following relative URL should be called: "/VerkehrszeichenplanService/unfall/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UnfallBeteiligter columns: - column: Verletzt - column: Akteur - column: Rolle - column: Unfall - column: Getoetet The table should have the title "UnfallBeteiligters" und the data must be loaded from the server with the following relative URL: "/AkteurService/unfallbeteiligter/unfall/{id}" 2. The VerkehrszeichenView must contain the following fields: - name: Beschreibung type: STRING - name: Bezeichnung type: STRING - name: ZeichenCode type: STRING An existing Verkehrszeichen entity should be loaded from the relative URL: "/VerkehrszeichenplanService/verkehrszeichen/{id}" (HTTP-GET) If a new Verkehrszeichen entity has been created, the new entity should be posted to the relative URL: "/VerkehrszeichenplanService/verkehrszeichen" (HTTP-POST) If an existing Verkehrszeichen entity has been updated, the modified entity should be sent to the relative URL: "/VerkehrszeichenplanService/verkehrszeichen/{id}" (HTTP-PUT) If an existing Verkehrszeichen entity has to be deleted, the following relative URL should be called: "/VerkehrszeichenplanService/verkehrszeichen/{id}" (HTTP-DELETE) Add a HTML table to the view with the following VerkehrszeichenplanVerkehrszeichen columns: - column: Verkehrszeichenplan - column: Verkehrszeichen - column: PositionsBeschreibung - column: Richtung - column: EntfernungZurBaustelle The table should have the title "VerkehrszeichenplanVerkehrszeichens" und the data must be loaded from the server with the following relative URL: "/VerkehrszeichenplanService/verkehrszeichenplanverkehrszeichen/verkehrszeichen/{id}" 3. The VerkehrszeichenplanView must contain the following fields: - name: Baustelle type: Baustelle - name: Beschreibung type: STRING - name: DatumErstellt type: DATE - name: Ersteller type: Akteur - name: PlanNummer type: STRING The data source for the [Baustelle] select control should be loaded from the relative URL: "/BaustelleService/baustelle" (HTTP-GET) The data source for the [Ersteller] select control should be loaded from the relative URL: "/AkteurService/akteur" (HTTP-GET) An existing Verkehrszeichenplan entity should be loaded from the relative URL: "/VerkehrszeichenplanService/verkehrszeichenplan/{id}" (HTTP-GET) If a new Verkehrszeichenplan entity has been created, the new entity should be posted to the relative URL: "/VerkehrszeichenplanService/verkehrszeichenplan" (HTTP-POST) If an existing Verkehrszeichenplan entity has been updated, the modified entity should be sent to the relative URL: "/VerkehrszeichenplanService/verkehrszeichenplan/{id}" (HTTP-PUT) If an existing Verkehrszeichenplan entity has to be deleted, the following relative URL should be called: "/VerkehrszeichenplanService/verkehrszeichenplan/{id}" (HTTP-DELETE) Add a HTML table to the view with the following VerkehrszeichenplanVerkehrszeichen columns: - column: Verkehrszeichenplan - column: Verkehrszeichen - column: PositionsBeschreibung - column: Richtung - column: EntfernungZurBaustelle The table should have the title "VerkehrszeichenplanVerkehrszeichens" und the data must be loaded from the server with the following relative URL: "/VerkehrszeichenplanService/verkehrszeichenplanverkehrszeichen/verkehrszeichenplan/{id}" 4. The VerkehrszeichenplanVerkehrszeichenView must contain the following fields: - name: EntfernungZurBaustelle type: STRING - name: PositionsBeschreibung type: STRING - name: Richtung type: STRING - name: Verkehrszeichen type: Verkehrszeichen - name: Verkehrszeichenplan type: Verkehrszeichenplan The data source for the [Verkehrszeichenplan] select control should be loaded from the relative URL: "/VerkehrszeichenplanService/verkehrszeichenplan" (HTTP-GET) The data source for the [Verkehrszeichen] select control should be loaded from the relative URL: "/VerkehrszeichenplanService/verkehrszeichen" (HTTP-GET) An existing VerkehrszeichenplanVerkehrszeichen entity should be loaded from the relative URL: "/VerkehrszeichenplanService/verkehrszeichenplanverkehrszeichen/{id}" (HTTP-GET) If a new VerkehrszeichenplanVerkehrszeichen entity has been created, the new entity should be posted to the relative URL: "/VerkehrszeichenplanService/verkehrszeichenplanverkehrszeichen" (HTTP-POST) If an existing VerkehrszeichenplanVerkehrszeichen entity has been updated, the modified entity should be sent to the relative URL: "/VerkehrszeichenplanService/verkehrszeichenplanverkehrszeichen/{id}" (HTTP-PUT) If an existing VerkehrszeichenplanVerkehrszeichen entity has to be deleted, the following relative URL should be called: "/VerkehrszeichenplanService/verkehrszeichenplanverkehrszeichen/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum