Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BehoerdeApp
Please create a React-JS application for the BehoerdeModule. The application has to offer the following views for the user interface: 1. BehoerdeView 2. BehoerdeBundeslandView 3. BundeslandView 4. MinisteriumView 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 BehoerdeView must contain the following fields: - name: Kuerzel type: STRING - name: Ministerium type: Ministerium - name: Name type: STRING - name: Sitz type: STRING - name: ZustaendigkeitsEbene type: STRING The data source for the [Ministerium] select control should be loaded from the relative URL: "/BehoerdeService/ministerium" (HTTP-GET) An existing Behoerde entity should be loaded from the relative URL: "/BehoerdeService/behoerde/{id}" (HTTP-GET) If a new Behoerde entity has been created, the new entity should be posted to the relative URL: "/BehoerdeService/behoerde" (HTTP-POST) If an existing Behoerde entity has been updated, the modified entity should be sent to the relative URL: "/BehoerdeService/behoerde/{id}" (HTTP-PUT) If an existing Behoerde entity has to be deleted, the following relative URL should be called: "/BehoerdeService/behoerde/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Mitarbeiter columns: - column: Behoerde - column: Rolle - column: Nachname - column: Vorname - column: Dienstgrad - column: Organisation The table should have the title "Mitarbeiters" und the data must be loaded from the server with the following relative URL: "/OrganisationService/mitarbeiter/behoerde/{id}" Add a HTML table to the view with the following BehoerdeBundesland columns: - column: Behoerde - column: Bundesland The table should have the title "BehoerdeBundeslands" und the data must be loaded from the server with the following relative URL: "/BehoerdeService/behoerdebundesland/behoerde/{id}" Add a HTML table to the view with the following Lagezentrum columns: - column: IstDauerhaft - column: IstKooperativ - column: Ebene - column: Beschreibung - column: Typ - column: Behoerde - column: Seegebiet - column: Name - column: Organisation - column: Standort The table should have the title "Lagezentrums" und the data must be loaded from the server with the following relative URL: "/LagezentrumService/lagezentrum/behoerde/{id}" 2. The BehoerdeBundeslandView must contain the following fields: - name: Behoerde type: Behoerde - name: Bundesland type: Bundesland The data source for the [Bundesland] select control should be loaded from the relative URL: "/BehoerdeService/bundesland" (HTTP-GET) The data source for the [Behoerde] select control should be loaded from the relative URL: "/BehoerdeService/behoerde" (HTTP-GET) An existing BehoerdeBundesland entity should be loaded from the relative URL: "/BehoerdeService/behoerdebundesland/{id}" (HTTP-GET) If a new BehoerdeBundesland entity has been created, the new entity should be posted to the relative URL: "/BehoerdeService/behoerdebundesland" (HTTP-POST) If an existing BehoerdeBundesland entity has been updated, the modified entity should be sent to the relative URL: "/BehoerdeService/behoerdebundesland/{id}" (HTTP-PUT) If an existing BehoerdeBundesland entity has to be deleted, the following relative URL should be called: "/BehoerdeService/behoerdebundesland/{id}" (HTTP-DELETE) 3. The BundeslandView must contain the following fields: - name: Hauptstadt type: STRING - name: Kuerzel type: STRING - name: Name type: STRING An existing Bundesland entity should be loaded from the relative URL: "/BehoerdeService/bundesland/{id}" (HTTP-GET) If a new Bundesland entity has been created, the new entity should be posted to the relative URL: "/BehoerdeService/bundesland" (HTTP-POST) If an existing Bundesland entity has been updated, the modified entity should be sent to the relative URL: "/BehoerdeService/bundesland/{id}" (HTTP-PUT) If an existing Bundesland entity has to be deleted, the following relative URL should be called: "/BehoerdeService/bundesland/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BehoerdeBundesland columns: - column: Behoerde - column: Bundesland The table should have the title "BehoerdeBundeslands" und the data must be loaded from the server with the following relative URL: "/BehoerdeService/behoerdebundesland/bundesland/{id}" 4. The MinisteriumView must contain the following fields: - name: Name type: STRING - name: Sitz type: STRING - name: ZustaendigkeitsEbene type: STRING An existing Ministerium entity should be loaded from the relative URL: "/BehoerdeService/ministerium/{id}" (HTTP-GET) If a new Ministerium entity has been created, the new entity should be posted to the relative URL: "/BehoerdeService/ministerium" (HTTP-POST) If an existing Ministerium entity has been updated, the modified entity should be sent to the relative URL: "/BehoerdeService/ministerium/{id}" (HTTP-PUT) If an existing Ministerium entity has to be deleted, the following relative URL should be called: "/BehoerdeService/ministerium/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Behoerde columns: - column: Name - column: ZustaendigkeitsEbene - column: Kuerzel - column: Sitz - column: Ministerium The table should have the title "Behoerdes" und the data must be loaded from the server with the following relative URL: "/BehoerdeService/behoerde/ministerium/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum