Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BelagsmaterialApp
Please create a React-JS application for the BelagsmaterialModule. The application has to offer the following views for the user interface: 1. BelagsmaterialView 2. NamenssuffixView 3. StrassenabschnittBelagView 4. VerkehrsartView 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 BelagsmaterialView must contain the following fields: - name: Beschreibung type: STRING - name: IstBefestigt type: BOOL - name: Name type: STRING An existing Belagsmaterial entity should be loaded from the relative URL: "/BelagsmaterialService/belagsmaterial/{id}" (HTTP-GET) If a new Belagsmaterial entity has been created, the new entity should be posted to the relative URL: "/BelagsmaterialService/belagsmaterial" (HTTP-POST) If an existing Belagsmaterial entity has been updated, the modified entity should be sent to the relative URL: "/BelagsmaterialService/belagsmaterial/{id}" (HTTP-PUT) If an existing Belagsmaterial entity has to be deleted, the following relative URL should be called: "/BelagsmaterialService/belagsmaterial/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StrassenabschnittBelag columns: - column: Belagsmaterial - column: LetzteErneuerung - column: Strassenabschnitt - column: DickeCm The table should have the title "StrassenabschnittBelags" und the data must be loaded from the server with the following relative URL: "/BelagsmaterialService/strassenabschnittbelag/belagsmaterial/{id}" 2. The NamenssuffixView must contain the following fields: - name: Beschreibung type: STRING - name: Text type: STRING - name: TypischeVerwendung type: STRING An existing Namenssuffix entity should be loaded from the relative URL: "/BelagsmaterialService/namenssuffix/{id}" (HTTP-GET) If a new Namenssuffix entity has been created, the new entity should be posted to the relative URL: "/BelagsmaterialService/namenssuffix" (HTTP-POST) If an existing Namenssuffix entity has been updated, the modified entity should be sent to the relative URL: "/BelagsmaterialService/namenssuffix/{id}" (HTTP-PUT) If an existing Namenssuffix entity has to be deleted, the following relative URL should be called: "/BelagsmaterialService/namenssuffix/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Strassenname columns: - column: Postleitzahl - column: Stadt - column: Name - column: Namenspraefix - column: IstEindeutigInStadt - column: Namenssuffix The table should have the title "Strassennames" und the data must be loaded from the server with the following relative URL: "/NamenspraefixService/strassenname/namenssuffix/{id}" 3. The StrassenabschnittBelagView must contain the following fields: - name: Belagsmaterial type: Belagsmaterial - name: DickeCm type: STRING - name: LetzteErneuerung type: DATE - name: Strassenabschnitt type: Strassenabschnitt The data source for the [Belagsmaterial] select control should be loaded from the relative URL: "/BelagsmaterialService/belagsmaterial" (HTTP-GET) The data source for the [Strassenabschnitt] select control should be loaded from the relative URL: "/StrassenabschnittService/strassenabschnitt" (HTTP-GET) An existing StrassenabschnittBelag entity should be loaded from the relative URL: "/BelagsmaterialService/strassenabschnittbelag/{id}" (HTTP-GET) If a new StrassenabschnittBelag entity has been created, the new entity should be posted to the relative URL: "/BelagsmaterialService/strassenabschnittbelag" (HTTP-POST) If an existing StrassenabschnittBelag entity has been updated, the modified entity should be sent to the relative URL: "/BelagsmaterialService/strassenabschnittbelag/{id}" (HTTP-PUT) If an existing StrassenabschnittBelag entity has to be deleted, the following relative URL should be called: "/BelagsmaterialService/strassenabschnittbelag/{id}" (HTTP-DELETE) 4. The VerkehrsartView must contain the following fields: - name: Code type: STRING - name: Motorisiert type: BOOL - name: Name type: STRING An existing Verkehrsart entity should be loaded from the relative URL: "/BelagsmaterialService/verkehrsart/{id}" (HTTP-GET) If a new Verkehrsart entity has been created, the new entity should be posted to the relative URL: "/BelagsmaterialService/verkehrsart" (HTTP-POST) If an existing Verkehrsart entity has been updated, the modified entity should be sent to the relative URL: "/BelagsmaterialService/verkehrsart/{id}" (HTTP-PUT) If an existing Verkehrsart entity has to be deleted, the following relative URL should be called: "/BelagsmaterialService/verkehrsart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StrassenabschnittVerkehrsart columns: - column: Strassenabschnitt - column: Exklusiv - column: Verkehrsart The table should have the title "StrassenabschnittVerkehrsarts" und the data must be loaded from the server with the following relative URL: "/StrassenabschnittService/strassenabschnittverkehrsart/verkehrsart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum