Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
NamenspraefixApp
Please create a React-JS application for the NamenspraefixModule. The application has to offer the following views for the user interface: 1. NamenspraefixView 2. NamenssuffixView 3. StrassennameView 4. StrassennameStrasseView 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 NamenspraefixView must contain the following fields: - name: Beschreibung type: STRING - name: Text type: STRING An existing Namenspraefix entity should be loaded from the relative URL: "/NamenspraefixService/namenspraefix/{id}" (HTTP-GET) If a new Namenspraefix entity has been created, the new entity should be posted to the relative URL: "/NamenspraefixService/namenspraefix" (HTTP-POST) If an existing Namenspraefix entity has been updated, the modified entity should be sent to the relative URL: "/NamenspraefixService/namenspraefix/{id}" (HTTP-PUT) If an existing Namenspraefix entity has to be deleted, the following relative URL should be called: "/NamenspraefixService/namenspraefix/{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/namenspraefix/{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: "/NamenspraefixService/namenssuffix/{id}" (HTTP-GET) If a new Namenssuffix entity has been created, the new entity should be posted to the relative URL: "/NamenspraefixService/namenssuffix" (HTTP-POST) If an existing Namenssuffix entity has been updated, the modified entity should be sent to the relative URL: "/NamenspraefixService/namenssuffix/{id}" (HTTP-PUT) If an existing Namenssuffix entity has to be deleted, the following relative URL should be called: "/NamenspraefixService/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 StrassennameView must contain the following fields: - name: IstEindeutigInStadt type: BOOL - name: Name type: STRING - name: Namenspraefix type: Namenspraefix - name: Namenssuffix type: Namenssuffix - name: Postleitzahl type: STRING - name: Stadt type: Stadt The data source for the [Namenspraefix] select control should be loaded from the relative URL: "/NamenspraefixService/namenspraefix" (HTTP-GET) The data source for the [Stadt] select control should be loaded from the relative URL: "/LandService/stadt" (HTTP-GET) The data source for the [Namenssuffix] select control should be loaded from the relative URL: "/NamenspraefixService/namenssuffix" (HTTP-GET) An existing Strassenname entity should be loaded from the relative URL: "/NamenspraefixService/strassenname/{id}" (HTTP-GET) If a new Strassenname entity has been created, the new entity should be posted to the relative URL: "/NamenspraefixService/strassenname" (HTTP-POST) If an existing Strassenname entity has been updated, the modified entity should be sent to the relative URL: "/NamenspraefixService/strassenname/{id}" (HTTP-PUT) If an existing Strassenname entity has to be deleted, the following relative URL should be called: "/NamenspraefixService/strassenname/{id}" (HTTP-DELETE) 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/strassenname/{id}" 4. The StrassennameStrasseView must contain the following fields: - name: BisKm type: STRING - name: Strasse type: Strasse - name: Strassenname type: Strassenname - name: VonKm type: STRING The data source for the [Strasse] select control should be loaded from the relative URL: "/StrasseService/strasse" (HTTP-GET) The data source for the [Strassenname] select control should be loaded from the relative URL: "/NamenspraefixService/strassenname" (HTTP-GET) An existing StrassennameStrasse entity should be loaded from the relative URL: "/NamenspraefixService/strassennamestrasse/{id}" (HTTP-GET) If a new StrassennameStrasse entity has been created, the new entity should be posted to the relative URL: "/NamenspraefixService/strassennamestrasse" (HTTP-POST) If an existing StrassennameStrasse entity has been updated, the modified entity should be sent to the relative URL: "/NamenspraefixService/strassennamestrasse/{id}" (HTTP-PUT) If an existing StrassennameStrasse entity has to be deleted, the following relative URL should be called: "/NamenspraefixService/strassennamestrasse/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum