Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LandApp
Please create a React-JS application for the LandModule. The application has to offer the following views for the user interface: 1. BetreiberView 2. GebietView 3. LandView 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 BetreiberView must contain the following fields: - name: Betreibertyp type: STRING - name: Land type: Land - name: Name type: STRING - name: SitzOrt type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Betreiber entity should be loaded from the relative URL: "/LandService/betreiber/{id}" (HTTP-GET) If a new Betreiber entity has been created, the new entity should be posted to the relative URL: "/LandService/betreiber" (HTTP-POST) If an existing Betreiber entity has been updated, the modified entity should be sent to the relative URL: "/LandService/betreiber/{id}" (HTTP-PUT) If an existing Betreiber entity has to be deleted, the following relative URL should be called: "/LandService/betreiber/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Leitstelle columns: - column: Name - column: Notrufnummer110Zustaendig - column: Bemerkung - column: Betreiber - column: Leitstellenart - column: Bezeichnung - column: AktivSeit - column: Notrufnummer112Zustaendig - column: Gebiet The table should have the title "Leitstelles" und the data must be loaded from the server with the following relative URL: "/LeitstelleService/leitstelle/betreiber/{id}" 2. The GebietView must contain the following fields: - name: Gebietstyp type: STRING - name: Land type: Land - name: Name type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Gebiet entity should be loaded from the relative URL: "/LandService/gebiet/{id}" (HTTP-GET) If a new Gebiet entity has been created, the new entity should be posted to the relative URL: "/LandService/gebiet" (HTTP-POST) If an existing Gebiet entity has been updated, the modified entity should be sent to the relative URL: "/LandService/gebiet/{id}" (HTTP-PUT) If an existing Gebiet entity has to be deleted, the following relative URL should be called: "/LandService/gebiet/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Leitstelle columns: - column: Name - column: Notrufnummer110Zustaendig - column: Bemerkung - column: Betreiber - column: Leitstellenart - column: Bezeichnung - column: AktivSeit - column: Notrufnummer112Zustaendig - column: Gebiet The table should have the title "Leitstelles" und the data must be loaded from the server with the following relative URL: "/LeitstelleService/leitstelle/gebiet/{id}" Add a HTML table to the view with the following Einsatzmittel columns: - column: Kennung - column: Organisation - column: StandortGebiet - column: Aktiv - column: Dienst The table should have the title "Einsatzmittels" und the data must be loaded from the server with the following relative URL: "/DienstService/einsatzmittel/standortgebiet/{id}" Add a HTML table to the view with the following LeitstelleGebiet columns: - column: Gebiet - column: Leitstelle - column: PrimaerZustaendig The table should have the title "LeitstelleGebiets" und the data must be loaded from the server with the following relative URL: "/LeitstelleService/leitstellegebiet/gebiet/{id}" 3. The LandView must contain the following fields: - name: IsoCode type: STRING - name: Name type: STRING An existing Land entity should be loaded from the relative URL: "/LandService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/LandService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/LandService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/LandService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Betreiber columns: - column: SitzOrt - column: Betreibertyp - column: Name - column: Land The table should have the title "Betreibers" und the data must be loaded from the server with the following relative URL: "/LandService/betreiber/land/{id}" Add a HTML table to the view with the following Gebiet columns: - column: Gebietstyp - column: Name - column: Land The table should have the title "Gebiets" und the data must be loaded from the server with the following relative URL: "/LandService/gebiet/land/{id}" Add a HTML table to the view with the following Organisation columns: - column: Name - column: Land - column: Organisationstyp The table should have the title "Organisations" und the data must be loaded from the server with the following relative URL: "/DienstService/organisation/land/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum