Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SystemApp
Please create a React-JS application for the SystemModule. The application has to offer the following views for the user interface: 1. LeitstelleSystemView 2. SystemView 3. VirtuellerAlarmempfaengerView 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 LeitstelleSystemView must contain the following fields: - name: Leitstelle type: Leitstelle - name: Redundant type: BOOL - name: System type: System The data source for the [Leitstelle] select control should be loaded from the relative URL: "/LeitstelleService/leitstelle" (HTTP-GET) The data source for the [System] select control should be loaded from the relative URL: "/SystemService/system" (HTTP-GET) An existing LeitstelleSystem entity should be loaded from the relative URL: "/SystemService/leitstellesystem/{id}" (HTTP-GET) If a new LeitstelleSystem entity has been created, the new entity should be posted to the relative URL: "/SystemService/leitstellesystem" (HTTP-POST) If an existing LeitstelleSystem entity has been updated, the modified entity should be sent to the relative URL: "/SystemService/leitstellesystem/{id}" (HTTP-PUT) If an existing LeitstelleSystem entity has to be deleted, the following relative URL should be called: "/SystemService/leitstellesystem/{id}" (HTTP-DELETE) 2. The SystemView must contain the following fields: - name: Beschreibung type: STRING - name: Cloudbasiert type: BOOL - name: Name type: STRING - name: Systemtyp type: STRING An existing System entity should be loaded from the relative URL: "/SystemService/system/{id}" (HTTP-GET) If a new System entity has been created, the new entity should be posted to the relative URL: "/SystemService/system" (HTTP-POST) If an existing System entity has been updated, the modified entity should be sent to the relative URL: "/SystemService/system/{id}" (HTTP-PUT) If an existing System entity has to be deleted, the following relative URL should be called: "/SystemService/system/{id}" (HTTP-DELETE) Add a HTML table to the view with the following VirtuellerAlarmempfaenger columns: - column: Beschreibung - column: Name - column: System The table should have the title "VirtuellerAlarmempfaengers" und the data must be loaded from the server with the following relative URL: "/SystemService/virtuelleralarmempfaenger/system/{id}" Add a HTML table to the view with the following SystemSchnittstelle columns: - column: System - column: Schnittstelle The table should have the title "SystemSchnittstelles" und the data must be loaded from the server with the following relative URL: "/SchnittstelleService/systemschnittstelle/system/{id}" Add a HTML table to the view with the following LeitstelleSystem columns: - column: Leitstelle - column: Redundant - column: System The table should have the title "LeitstelleSystems" und the data must be loaded from the server with the following relative URL: "/SystemService/leitstellesystem/system/{id}" 3. The VirtuellerAlarmempfaengerView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING - name: System type: System The data source for the [System] select control should be loaded from the relative URL: "/SystemService/system" (HTTP-GET) An existing VirtuellerAlarmempfaenger entity should be loaded from the relative URL: "/SystemService/virtuelleralarmempfaenger/{id}" (HTTP-GET) If a new VirtuellerAlarmempfaenger entity has been created, the new entity should be posted to the relative URL: "/SystemService/virtuelleralarmempfaenger" (HTTP-POST) If an existing VirtuellerAlarmempfaenger entity has been updated, the modified entity should be sent to the relative URL: "/SystemService/virtuelleralarmempfaenger/{id}" (HTTP-PUT) If an existing VirtuellerAlarmempfaenger entity has to be deleted, the following relative URL should be called: "/SystemService/virtuelleralarmempfaenger/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum