Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TranskontinentaleRouteApp
Please create a React-JS application for the TranskontinentaleRouteModule. The application has to offer the following views for the user interface: 1. StrassenkategorieView 2. TranskontinentaleRouteView 3. TranskontinentaleRoutenabschnittView 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 StrassenkategorieView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: IstInnerorts type: BOOL - name: Name type: STRING - name: NurMotorisiert type: BOOL An existing Strassenkategorie entity should be loaded from the relative URL: "/TranskontinentaleRouteService/strassenkategorie/{id}" (HTTP-GET) If a new Strassenkategorie entity has been created, the new entity should be posted to the relative URL: "/TranskontinentaleRouteService/strassenkategorie" (HTTP-POST) If an existing Strassenkategorie entity has been updated, the modified entity should be sent to the relative URL: "/TranskontinentaleRouteService/strassenkategorie/{id}" (HTTP-PUT) If an existing Strassenkategorie entity has to be deleted, the following relative URL should be called: "/TranskontinentaleRouteService/strassenkategorie/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Strasse columns: - column: Strassennetz - column: Strassenkategorie - column: LaengeKm - column: FahrstreifenProRichtung - column: HoechstgeschwindigkeitKmh - column: Schliessungsdatum - column: IstEinbahn - column: IstInnerorts - column: Name - column: IstMaut - column: Eroeffnungsdatum The table should have the title "Strasses" und the data must be loaded from the server with the following relative URL: "/StrasseService/strasse/strassenkategorie/{id}" 2. The TranskontinentaleRouteView must contain the following fields: - name: Abkuerzung type: STRING - name: EndOrt type: STRING - name: GesamtlaengeKm type: STRING - name: Name type: STRING - name: StartOrt type: STRING An existing TranskontinentaleRoute entity should be loaded from the relative URL: "/TranskontinentaleRouteService/transkontinentaleroute/{id}" (HTTP-GET) If a new TranskontinentaleRoute entity has been created, the new entity should be posted to the relative URL: "/TranskontinentaleRouteService/transkontinentaleroute" (HTTP-POST) If an existing TranskontinentaleRoute entity has been updated, the modified entity should be sent to the relative URL: "/TranskontinentaleRouteService/transkontinentaleroute/{id}" (HTTP-PUT) If an existing TranskontinentaleRoute entity has to be deleted, the following relative URL should be called: "/TranskontinentaleRouteService/transkontinentaleroute/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TranskontinentaleRoutenabschnitt columns: - column: TranskontinentaleRoute - column: Strasse - column: Reihenfolge - column: Land - column: LaengeKm The table should have the title "TranskontinentaleRoutenabschnitts" und the data must be loaded from the server with the following relative URL: "/TranskontinentaleRouteService/transkontinentaleroutenabschnitt/transkontinentaleroute/{id}" 3. The TranskontinentaleRoutenabschnittView must contain the following fields: - name: LaengeKm type: STRING - name: Land type: Land - name: Reihenfolge type: LONG - name: Strasse type: Strasse - name: TranskontinentaleRoute type: TranskontinentaleRoute The data source for the [TranskontinentaleRoute] select control should be loaded from the relative URL: "/TranskontinentaleRouteService/transkontinentaleroute" (HTTP-GET) The data source for the [Strasse] select control should be loaded from the relative URL: "/StrasseService/strasse" (HTTP-GET) The data source for the [Land] select control should be loaded from the relative URL: "/StrasseService/land" (HTTP-GET) An existing TranskontinentaleRoutenabschnitt entity should be loaded from the relative URL: "/TranskontinentaleRouteService/transkontinentaleroutenabschnitt/{id}" (HTTP-GET) If a new TranskontinentaleRoutenabschnitt entity has been created, the new entity should be posted to the relative URL: "/TranskontinentaleRouteService/transkontinentaleroutenabschnitt" (HTTP-POST) If an existing TranskontinentaleRoutenabschnitt entity has been updated, the modified entity should be sent to the relative URL: "/TranskontinentaleRouteService/transkontinentaleroutenabschnitt/{id}" (HTTP-PUT) If an existing TranskontinentaleRoutenabschnitt entity has to be deleted, the following relative URL should be called: "/TranskontinentaleRouteService/transkontinentaleroutenabschnitt/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum