Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LichtmanagementSystemApp
Please create a React-JS application for the LichtmanagementSystemModule. The application has to offer the following views for the user interface: 1. BeleuchtungspflichtView 2. LichtmanagementSystemView 3. LmsInstallationView 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 BeleuchtungspflichtView must contain the following fields: - name: Gemeinde type: Gemeinde - name: GiltSeitJahr type: INT - name: Hinweise type: STRING - name: Rechtsvorschrift type: Rechtsvorschrift The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [Rechtsvorschrift] select control should be loaded from the relative URL: "/LandService/rechtsvorschrift" (HTTP-GET) An existing Beleuchtungspflicht entity should be loaded from the relative URL: "/LichtmanagementSystemService/beleuchtungspflicht/{id}" (HTTP-GET) If a new Beleuchtungspflicht entity has been created, the new entity should be posted to the relative URL: "/LichtmanagementSystemService/beleuchtungspflicht" (HTTP-POST) If an existing Beleuchtungspflicht entity has been updated, the modified entity should be sent to the relative URL: "/LichtmanagementSystemService/beleuchtungspflicht/{id}" (HTTP-PUT) If an existing Beleuchtungspflicht entity has to be deleted, the following relative URL should be called: "/LichtmanagementSystemService/beleuchtungspflicht/{id}" (HTTP-DELETE) 2. The LichtmanagementSystemView must contain the following fields: - name: Beschreibung type: STRING - name: Kommunikationstyp type: STRING - name: Name type: STRING - name: UnterstuetztDimmung type: BOOL - name: UnterstuetztSensoren type: BOOL - name: UnterstuetztZeitplaene type: BOOL An existing LichtmanagementSystem entity should be loaded from the relative URL: "/LichtmanagementSystemService/lichtmanagementsystem/{id}" (HTTP-GET) If a new LichtmanagementSystem entity has been created, the new entity should be posted to the relative URL: "/LichtmanagementSystemService/lichtmanagementsystem" (HTTP-POST) If an existing LichtmanagementSystem entity has been updated, the modified entity should be sent to the relative URL: "/LichtmanagementSystemService/lichtmanagementsystem/{id}" (HTTP-PUT) If an existing LichtmanagementSystem entity has to be deleted, the following relative URL should be called: "/LichtmanagementSystemService/lichtmanagementsystem/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LmsInstallation columns: - column: LichtmanagementSystem - column: Beschreibung - column: StartJahr - column: Gemeinde The table should have the title "LmsInstallations" und the data must be loaded from the server with the following relative URL: "/LichtmanagementSystemService/lmsinstallation/lichtmanagementsystem/{id}" 3. The LmsInstallationView must contain the following fields: - name: Beschreibung type: STRING - name: Gemeinde type: Gemeinde - name: LichtmanagementSystem type: LichtmanagementSystem - name: StartJahr type: INT The data source for the [Gemeinde] select control should be loaded from the relative URL: "/GemeindeService/gemeinde" (HTTP-GET) The data source for the [LichtmanagementSystem] select control should be loaded from the relative URL: "/LichtmanagementSystemService/lichtmanagementsystem" (HTTP-GET) An existing LmsInstallation entity should be loaded from the relative URL: "/LichtmanagementSystemService/lmsinstallation/{id}" (HTTP-GET) If a new LmsInstallation entity has been created, the new entity should be posted to the relative URL: "/LichtmanagementSystemService/lmsinstallation" (HTTP-POST) If an existing LmsInstallation entity has been updated, the modified entity should be sent to the relative URL: "/LichtmanagementSystemService/lmsinstallation/{id}" (HTTP-PUT) If an existing LmsInstallation entity has to be deleted, the following relative URL should be called: "/LichtmanagementSystemService/lmsinstallation/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum