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. SignalgeraetSignalgruppeView 3. SignalInstallationView 4. SignalSymbolView 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 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 SignalgeraetSignalgruppeView must contain the following fields: - name: Rolle type: STRING - name: Signalgeraet type: Signalgeraet - name: Signalgruppe type: Signalgruppe The data source for the [Signalgeraet] select control should be loaded from the relative URL: "/SignalSystemService/signalgeraet" (HTTP-GET) The data source for the [Signalgruppe] select control should be loaded from the relative URL: "/VerkehrsartService/signalgruppe" (HTTP-GET) An existing SignalgeraetSignalgruppe entity should be loaded from the relative URL: "/SignalInstallationService/signalgeraetsignalgruppe/{id}" (HTTP-GET) If a new SignalgeraetSignalgruppe entity has been created, the new entity should be posted to the relative URL: "/SignalInstallationService/signalgeraetsignalgruppe" (HTTP-POST) If an existing SignalgeraetSignalgruppe entity has been updated, the modified entity should be sent to the relative URL: "/SignalInstallationService/signalgeraetsignalgruppe/{id}" (HTTP-PUT) If an existing SignalgeraetSignalgruppe entity has to be deleted, the following relative URL should be called: "/SignalInstallationService/signalgeraetsignalgruppe/{id}" (HTTP-DELETE) 3. 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}" 4. The SignalSymbolView must contain the following fields: - name: Beschreibung type: STRING - name: IstAnimiert type: BOOL - name: Name type: STRING - name: UnicodeReferenz type: STRING An existing SignalSymbol entity should be loaded from the relative URL: "/SignalInstallationService/signalsymbol/{id}" (HTTP-GET) If a new SignalSymbol entity has been created, the new entity should be posted to the relative URL: "/SignalInstallationService/signalsymbol" (HTTP-POST) If an existing SignalSymbol entity has been updated, the modified entity should be sent to the relative URL: "/SignalInstallationService/signalsymbol/{id}" (HTTP-PUT) If an existing SignalSymbol entity has to be deleted, the following relative URL should be called: "/SignalInstallationService/signalsymbol/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SignalAspekt columns: - column: PositionsIndex - column: IstCountdown - column: SignalSymbol - column: Bedeutung - column: SignalFarbe - column: IstKombiniert - column: Form - column: Signalgeraet - column: IstBlinkend The table should have the title "SignalAspekts" und the data must be loaded from the server with the following relative URL: "/SignalFarbeService/signalaspekt/signalsymbol/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum