Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LagemeldungApp
Please create a React-JS application for the LagemeldungModule. The application has to offer the following views for the user interface: 1. LagemeldungView 2. LagemeldungMediumView 3. MediumView 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 LagemeldungView must contain the following fields: - name: Lage type: Lage - name: Lagezentrum type: Lagezentrum - name: QuellenTyp type: STRING - name: Schweregrad type: STRING - name: Zeitstempel type: DATE - name: Zusammenfassung type: STRING The data source for the [Lage] select control should be loaded from the relative URL: "/LageService/lage" (HTTP-GET) The data source for the [Lagezentrum] select control should be loaded from the relative URL: "/LagezentrumService/lagezentrum" (HTTP-GET) An existing Lagemeldung entity should be loaded from the relative URL: "/LagemeldungService/lagemeldung/{id}" (HTTP-GET) If a new Lagemeldung entity has been created, the new entity should be posted to the relative URL: "/LagemeldungService/lagemeldung" (HTTP-POST) If an existing Lagemeldung entity has been updated, the modified entity should be sent to the relative URL: "/LagemeldungService/lagemeldung/{id}" (HTTP-PUT) If an existing Lagemeldung entity has to be deleted, the following relative URL should be called: "/LagemeldungService/lagemeldung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LagemeldungMedium columns: - column: Lagemeldung - column: Medium The table should have the title "LagemeldungMediums" und the data must be loaded from the server with the following relative URL: "/LagemeldungService/lagemeldungmedium/lagemeldung/{id}" 2. The LagemeldungMediumView must contain the following fields: - name: Lagemeldung type: Lagemeldung - name: Medium type: Medium The data source for the [Lagemeldung] select control should be loaded from the relative URL: "/LagemeldungService/lagemeldung" (HTTP-GET) The data source for the [Medium] select control should be loaded from the relative URL: "/LagemeldungService/medium" (HTTP-GET) An existing LagemeldungMedium entity should be loaded from the relative URL: "/LagemeldungService/lagemeldungmedium/{id}" (HTTP-GET) If a new LagemeldungMedium entity has been created, the new entity should be posted to the relative URL: "/LagemeldungService/lagemeldungmedium" (HTTP-POST) If an existing LagemeldungMedium entity has been updated, the modified entity should be sent to the relative URL: "/LagemeldungService/lagemeldungmedium/{id}" (HTTP-PUT) If an existing LagemeldungMedium entity has to be deleted, the following relative URL should be called: "/LagemeldungService/lagemeldungmedium/{id}" (HTTP-DELETE) 3. The MediumView must contain the following fields: - name: Land type: STRING - name: Name type: STRING - name: Typ type: STRING An existing Medium entity should be loaded from the relative URL: "/LagemeldungService/medium/{id}" (HTTP-GET) If a new Medium entity has been created, the new entity should be posted to the relative URL: "/LagemeldungService/medium" (HTTP-POST) If an existing Medium entity has been updated, the modified entity should be sent to the relative URL: "/LagemeldungService/medium/{id}" (HTTP-PUT) If an existing Medium entity has to be deleted, the following relative URL should be called: "/LagemeldungService/medium/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LagemeldungMedium columns: - column: Lagemeldung - column: Medium The table should have the title "LagemeldungMediums" und the data must be loaded from the server with the following relative URL: "/LagemeldungService/lagemeldungmedium/medium/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum