Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SignalInstallationApp
Please create a React-JS application for the SignalInstallationModule. The application has to offer the following views for the user interface: 1. EinsatzkontextView 2. SignalInstallationView 3. UmgangsbezeichnungView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The EinsatzkontextView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Einsatzkontext entity should be loaded from the relative URL: "/SignalInstallationService/einsatzkontext/{id}" (HTTP-GET) If a new Einsatzkontext entity has been created, the new entity should be posted to the relative URL: "/SignalInstallationService/einsatzkontext" (HTTP-POST) If an existing Einsatzkontext entity has been updated, the modified entity should be sent to the relative URL: "/SignalInstallationService/einsatzkontext/{id}" (HTTP-PUT) If an existing Einsatzkontext entity has to be deleted, the following relative URL should be called: "/SignalInstallationService/einsatzkontext/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SignalInstallation columns: - column: Beschreibung - column: Eigentuemertyp - column: Kreuzung - column: Name - column: Installationsdatum - column: IstStationaer - column: Einsatzkontext - column: IstMobil The table should have the title "SignalInstallations" und the data must be loaded from the server with the following relative URL: "/SignalInstallationService/signalinstallation/einsatzkontext/{id}" 2. The SignalInstallationView must contain the following fields: - name: Beschreibung type: STRING - name: Eigentuemertyp type: STRING - name: Einsatzkontext type: Einsatzkontext - name: Installationsdatum type: DATE - name: IstMobil type: BOOL - name: IstStationaer type: BOOL - name: Kreuzung type: Kreuzung - name: Name type: STRING The data source for the [Kreuzung] select control should be loaded from the relative URL: "/KreuzungService/kreuzung" (HTTP-GET) The data source for the [Einsatzkontext] select control should be loaded from the relative URL: "/SignalInstallationService/einsatzkontext" (HTTP-GET) An existing SignalInstallation entity should be loaded from the relative URL: "/SignalInstallationService/signalinstallation/{id}" (HTTP-GET) If a new SignalInstallation entity has been created, the new entity should be posted to the relative URL: "/SignalInstallationService/signalinstallation" (HTTP-POST) If an existing SignalInstallation entity has been updated, the modified entity should be sent to the relative URL: "/SignalInstallationService/signalinstallation/{id}" (HTTP-PUT) If an existing SignalInstallation entity has to be deleted, the following relative URL should be called: "/SignalInstallationService/signalinstallation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following HistorischesEreignis columns: - column: SignalInstallation - column: Beschreibung - column: Datum - column: Land - column: Stadt - column: Ereignistyp The table should have the title "HistorischesEreigniss" und the data must be loaded from the server with the following relative URL: "/LandService/historischesereignis/signalinstallation/{id}" Add a HTML table to the view with the following Signalgeraet columns: - column: SignalSystem - column: IstTemporar - column: IstFahrzeug - column: IstRadfahrer - column: SignalInstallation - column: Verkehrsart - column: Montageart - column: IstOeffentlicherVerkehr - column: Name - column: IstFussgaenger - column: Positionsbeschreibung - column: Geraetetyp The table should have the title "Signalgeraets" und the data must be loaded from the server with the following relative URL: "/SignalSystemService/signalgeraet/signalinstallation/{id}" 3. The UmgangsbezeichnungView must contain the following fields: - name: Beschreibung type: STRING - name: Land type: Land - name: Name type: STRING - name: SignalSystem type: SignalSystem - name: Sprache type: STRING The data source for the [SignalSystem] select control should be loaded from the relative URL: "/SignalSystemService/signalsystem" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Umgangsbezeichnung entity should be loaded from the relative URL: "/SignalInstallationService/umgangsbezeichnung/{id}" (HTTP-GET) If a new Umgangsbezeichnung entity has been created, the new entity should be posted to the relative URL: "/SignalInstallationService/umgangsbezeichnung" (HTTP-POST) If an existing Umgangsbezeichnung entity has been updated, the modified entity should be sent to the relative URL: "/SignalInstallationService/umgangsbezeichnung/{id}" (HTTP-PUT) If an existing Umgangsbezeichnung entity has to be deleted, the following relative URL should be called: "/SignalInstallationService/umgangsbezeichnung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum