Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StrasseApp
Please create a React-JS application for the StrasseModule. The application has to offer the following views for the user interface: 1. QuerschnittselementtypView 2. StrasseView 3. TranskontinentaleRouteView 4. 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 4 views are defined below. 1. The QuerschnittselementtypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing Querschnittselementtyp entity should be loaded from the relative URL: "/StrasseService/querschnittselementtyp/{id}" (HTTP-GET) If a new Querschnittselementtyp entity has been created, the new entity should be posted to the relative URL: "/StrasseService/querschnittselementtyp" (HTTP-POST) If an existing Querschnittselementtyp entity has been updated, the modified entity should be sent to the relative URL: "/StrasseService/querschnittselementtyp/{id}" (HTTP-PUT) If an existing Querschnittselementtyp entity has to be deleted, the following relative URL should be called: "/StrasseService/querschnittselementtyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StrassenabschnittQuerschnittselement columns: - column: Richtung - column: IstGetrennt - column: BreiteMeter - column: Strassenabschnitt - column: Querschnittselementtyp The table should have the title "StrassenabschnittQuerschnittselements" und the data must be loaded from the server with the following relative URL: "/StrassenabschnittService/strassenabschnittquerschnittselement/querschnittselementtyp/{id}" 2. The StrasseView must contain the following fields: - name: Eroeffnungsdatum type: DATE - name: FahrstreifenProRichtung type: LONG - name: HoechstgeschwindigkeitKmh type: LONG - name: IstEinbahn type: BOOL - name: IstInnerorts type: BOOL - name: IstMaut type: BOOL - name: LaengeKm type: STRING - name: Name type: STRING - name: Schliessungsdatum type: DATE - name: Strassenkategorie type: Strassenkategorie - name: Strassennetz type: Strassennetz The data source for the [Strassenkategorie] select control should be loaded from the relative URL: "/StrassenabschnittService/strassenkategorie" (HTTP-GET) The data source for the [Strassennetz] select control should be loaded from the relative URL: "/LandService/strassennetz" (HTTP-GET) An existing Strasse entity should be loaded from the relative URL: "/StrasseService/strasse/{id}" (HTTP-GET) If a new Strasse entity has been created, the new entity should be posted to the relative URL: "/StrasseService/strasse" (HTTP-POST) If an existing Strasse entity has been updated, the modified entity should be sent to the relative URL: "/StrasseService/strasse/{id}" (HTTP-PUT) If an existing Strasse entity has to be deleted, the following relative URL should be called: "/StrasseService/strasse/{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: "/StrasseService/transkontinentaleroutenabschnitt/strasse/{id}" Add a HTML table to the view with the following Strassenabschnitt columns: - column: HatTunnel - column: StartKm - column: KapazitaetFahrzeugeProTag - column: Strasse - column: HatBruecke - column: EndeKm - column: Gelaendetyp The table should have the title "Strassenabschnitts" und the data must be loaded from the server with the following relative URL: "/StrassenabschnittService/strassenabschnitt/strasse/{id}" Add a HTML table to the view with the following StrassennameStrasse columns: - column: Strassenname - column: BisKm - column: VonKm - column: Strasse The table should have the title "StrassennameStrasses" und the data must be loaded from the server with the following relative URL: "/NamenspraefixService/strassennamestrasse/strasse/{id}" 3. 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: "/StrasseService/transkontinentaleroute/{id}" (HTTP-GET) If a new TranskontinentaleRoute entity has been created, the new entity should be posted to the relative URL: "/StrasseService/transkontinentaleroute" (HTTP-POST) If an existing TranskontinentaleRoute entity has been updated, the modified entity should be sent to the relative URL: "/StrasseService/transkontinentaleroute/{id}" (HTTP-PUT) If an existing TranskontinentaleRoute entity has to be deleted, the following relative URL should be called: "/StrasseService/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: "/StrasseService/transkontinentaleroutenabschnitt/transkontinentaleroute/{id}" 4. 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: "/StrasseService/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: "/LandService/land" (HTTP-GET) An existing TranskontinentaleRoutenabschnitt entity should be loaded from the relative URL: "/StrasseService/transkontinentaleroutenabschnitt/{id}" (HTTP-GET) If a new TranskontinentaleRoutenabschnitt entity has been created, the new entity should be posted to the relative URL: "/StrasseService/transkontinentaleroutenabschnitt" (HTTP-POST) If an existing TranskontinentaleRoutenabschnitt entity has been updated, the modified entity should be sent to the relative URL: "/StrasseService/transkontinentaleroutenabschnitt/{id}" (HTTP-PUT) If an existing TranskontinentaleRoutenabschnitt entity has to be deleted, the following relative URL should be called: "/StrasseService/transkontinentaleroutenabschnitt/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum