Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BundeslandApp
Please create a React-JS application for the BundeslandModule. The application has to offer the following views for the user interface: 1. BundeslandView 2. GerichtsbezirkView 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 BundeslandView must contain the following fields: - name: Abkuerzung 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: "/BundeslandService/land" (HTTP-GET) An existing Bundesland entity should be loaded from the relative URL: "/BundeslandService/bundesland/{id}" (HTTP-GET) If a new Bundesland entity has been created, the new entity should be posted to the relative URL: "/BundeslandService/bundesland" (HTTP-POST) If an existing Bundesland entity has been updated, the modified entity should be sent to the relative URL: "/BundeslandService/bundesland/{id}" (HTTP-PUT) If an existing Bundesland entity has to be deleted, the following relative URL should be called: "/BundeslandService/bundesland/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Gerichtsbezirk columns: - column: Bundesland - column: Gericht - column: Name - column: Beschreibung The table should have the title "Gerichtsbezirks" und the data must be loaded from the server with the following relative URL: "/BundeslandService/gerichtsbezirk/bundesland/{id}" Add a HTML table to the view with the following Gericht columns: - column: Name - column: Postleitzahl - column: IstErsteInstanz - column: Bundesland - column: Strasse - column: IstLetzteInstanz - column: Gerichtstyp - column: Stadt The table should have the title "Gerichts" und the data must be loaded from the server with the following relative URL: "/GerichtService/gericht/bundesland/{id}" 2. The GerichtsbezirkView must contain the following fields: - name: Beschreibung type: STRING - name: Bundesland type: Bundesland - name: Gericht type: Gericht - name: Name type: STRING The data source for the [Gericht] select control should be loaded from the relative URL: "/GerichtService/gericht" (HTTP-GET) The data source for the [Bundesland] select control should be loaded from the relative URL: "/BundeslandService/bundesland" (HTTP-GET) An existing Gerichtsbezirk entity should be loaded from the relative URL: "/BundeslandService/gerichtsbezirk/{id}" (HTTP-GET) If a new Gerichtsbezirk entity has been created, the new entity should be posted to the relative URL: "/BundeslandService/gerichtsbezirk" (HTTP-POST) If an existing Gerichtsbezirk entity has been updated, the modified entity should be sent to the relative URL: "/BundeslandService/gerichtsbezirk/{id}" (HTTP-PUT) If an existing Gerichtsbezirk entity has to be deleted, the following relative URL should be called: "/BundeslandService/gerichtsbezirk/{id}" (HTTP-DELETE) 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: "/BundeslandService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/BundeslandService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/BundeslandService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/BundeslandService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Bundesland columns: - column: Name - column: Land - column: Abkuerzung The table should have the title "Bundeslands" und the data must be loaded from the server with the following relative URL: "/BundeslandService/bundesland/land/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum