Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SicherheitsKomponenteApp
Please create a React-JS application for the SicherheitsKomponenteModule. The application has to offer the following views for the user interface: 1. GeraetSicherheitsKomponenteView 2. SicherheitsKomponenteView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The GeraetSicherheitsKomponenteView must contain the following fields: - name: EinbauOrt type: STRING - name: IstPflicht type: BOOL - name: SicherheitsKomponente type: SicherheitsKomponente - name: SpeicherGeraet type: SpeicherGeraet The data source for the [SpeicherGeraet] select control should be loaded from the relative URL: "/SpeicherGeraetService/speichergeraet" (HTTP-GET) The data source for the [SicherheitsKomponente] select control should be loaded from the relative URL: "/SicherheitsKomponenteService/sicherheitskomponente" (HTTP-GET) An existing GeraetSicherheitsKomponente entity should be loaded from the relative URL: "/SicherheitsKomponenteService/geraetsicherheitskomponente/{id}" (HTTP-GET) If a new GeraetSicherheitsKomponente entity has been created, the new entity should be posted to the relative URL: "/SicherheitsKomponenteService/geraetsicherheitskomponente" (HTTP-POST) If an existing GeraetSicherheitsKomponente entity has been updated, the modified entity should be sent to the relative URL: "/SicherheitsKomponenteService/geraetsicherheitskomponente/{id}" (HTTP-PUT) If an existing GeraetSicherheitsKomponente entity has to be deleted, the following relative URL should be called: "/SicherheitsKomponenteService/geraetsicherheitskomponente/{id}" (HTTP-DELETE) 2. The SicherheitsKomponenteView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing SicherheitsKomponente entity should be loaded from the relative URL: "/SicherheitsKomponenteService/sicherheitskomponente/{id}" (HTTP-GET) If a new SicherheitsKomponente entity has been created, the new entity should be posted to the relative URL: "/SicherheitsKomponenteService/sicherheitskomponente" (HTTP-POST) If an existing SicherheitsKomponente entity has been updated, the modified entity should be sent to the relative URL: "/SicherheitsKomponenteService/sicherheitskomponente/{id}" (HTTP-PUT) If an existing SicherheitsKomponente entity has to be deleted, the following relative URL should be called: "/SicherheitsKomponenteService/sicherheitskomponente/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GeraetSicherheitsKomponente columns: - column: SicherheitsKomponente - column: SpeicherGeraet - column: IstPflicht - column: EinbauOrt The table should have the title "GeraetSicherheitsKomponentes" und the data must be loaded from the server with the following relative URL: "/SicherheitsKomponenteService/geraetsicherheitskomponente/sicherheitskomponente/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum