Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RechtsgrundlageApp
Please create a React-JS application for the RechtsgrundlageModule. The application has to offer the following views for the user interface: 1. FahrschuleRechtsgrundlageView 2. KlasseRechtsgrundlageView 3. PruefungRechtsgrundlageView 4. RechtsgrundlageView 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 FahrschuleRechtsgrundlageView must contain the following fields: - name: Fahrschule type: Fahrschule - name: Rechtsgrundlage type: Rechtsgrundlage The data source for the [Rechtsgrundlage] select control should be loaded from the relative URL: "/RechtsgrundlageService/rechtsgrundlage" (HTTP-GET) The data source for the [Fahrschule] select control should be loaded from the relative URL: "/FahrschuleService/fahrschule" (HTTP-GET) An existing FahrschuleRechtsgrundlage entity should be loaded from the relative URL: "/RechtsgrundlageService/fahrschulerechtsgrundlage/{id}" (HTTP-GET) If a new FahrschuleRechtsgrundlage entity has been created, the new entity should be posted to the relative URL: "/RechtsgrundlageService/fahrschulerechtsgrundlage" (HTTP-POST) If an existing FahrschuleRechtsgrundlage entity has been updated, the modified entity should be sent to the relative URL: "/RechtsgrundlageService/fahrschulerechtsgrundlage/{id}" (HTTP-PUT) If an existing FahrschuleRechtsgrundlage entity has to be deleted, the following relative URL should be called: "/RechtsgrundlageService/fahrschulerechtsgrundlage/{id}" (HTTP-DELETE) 2. The KlasseRechtsgrundlageView must contain the following fields: - name: Fuehrerscheinklasse type: Fuehrerscheinklasse - name: Rechtsgrundlage type: Rechtsgrundlage The data source for the [Rechtsgrundlage] select control should be loaded from the relative URL: "/RechtsgrundlageService/rechtsgrundlage" (HTTP-GET) The data source for the [Fuehrerscheinklasse] select control should be loaded from the relative URL: "/LandService/fuehrerscheinklasse" (HTTP-GET) An existing KlasseRechtsgrundlage entity should be loaded from the relative URL: "/RechtsgrundlageService/klasserechtsgrundlage/{id}" (HTTP-GET) If a new KlasseRechtsgrundlage entity has been created, the new entity should be posted to the relative URL: "/RechtsgrundlageService/klasserechtsgrundlage" (HTTP-POST) If an existing KlasseRechtsgrundlage entity has been updated, the modified entity should be sent to the relative URL: "/RechtsgrundlageService/klasserechtsgrundlage/{id}" (HTTP-PUT) If an existing KlasseRechtsgrundlage entity has to be deleted, the following relative URL should be called: "/RechtsgrundlageService/klasserechtsgrundlage/{id}" (HTTP-DELETE) 3. The PruefungRechtsgrundlageView must contain the following fields: - name: Pruefung type: Pruefung - name: Rechtsgrundlage type: Rechtsgrundlage The data source for the [Pruefung] select control should be loaded from the relative URL: "/FahrschuleService/pruefung" (HTTP-GET) The data source for the [Rechtsgrundlage] select control should be loaded from the relative URL: "/RechtsgrundlageService/rechtsgrundlage" (HTTP-GET) An existing PruefungRechtsgrundlage entity should be loaded from the relative URL: "/RechtsgrundlageService/pruefungrechtsgrundlage/{id}" (HTTP-GET) If a new PruefungRechtsgrundlage entity has been created, the new entity should be posted to the relative URL: "/RechtsgrundlageService/pruefungrechtsgrundlage" (HTTP-POST) If an existing PruefungRechtsgrundlage entity has been updated, the modified entity should be sent to the relative URL: "/RechtsgrundlageService/pruefungrechtsgrundlage/{id}" (HTTP-PUT) If an existing PruefungRechtsgrundlage entity has to be deleted, the following relative URL should be called: "/RechtsgrundlageService/pruefungrechtsgrundlage/{id}" (HTTP-DELETE) 4. The RechtsgrundlageView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: GueltigBis type: DATE - name: GueltigVon type: DATE - name: Land type: Land - name: ReferenzUrl type: STRING - name: Titel type: STRING The data source for the [Land] select control should be loaded from the relative URL: "/LandService/land" (HTTP-GET) An existing Rechtsgrundlage entity should be loaded from the relative URL: "/RechtsgrundlageService/rechtsgrundlage/{id}" (HTTP-GET) If a new Rechtsgrundlage entity has been created, the new entity should be posted to the relative URL: "/RechtsgrundlageService/rechtsgrundlage" (HTTP-POST) If an existing Rechtsgrundlage entity has been updated, the modified entity should be sent to the relative URL: "/RechtsgrundlageService/rechtsgrundlage/{id}" (HTTP-PUT) If an existing Rechtsgrundlage entity has to be deleted, the following relative URL should be called: "/RechtsgrundlageService/rechtsgrundlage/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FahrschuleRechtsgrundlage columns: - column: Fahrschule - column: Rechtsgrundlage The table should have the title "FahrschuleRechtsgrundlages" und the data must be loaded from the server with the following relative URL: "/RechtsgrundlageService/fahrschulerechtsgrundlage/rechtsgrundlage/{id}" Add a HTML table to the view with the following KlasseRechtsgrundlage columns: - column: Fuehrerscheinklasse - column: Rechtsgrundlage The table should have the title "KlasseRechtsgrundlages" und the data must be loaded from the server with the following relative URL: "/RechtsgrundlageService/klasserechtsgrundlage/rechtsgrundlage/{id}" Add a HTML table to the view with the following PruefungRechtsgrundlage columns: - column: Rechtsgrundlage - column: Pruefung The table should have the title "PruefungRechtsgrundlages" und the data must be loaded from the server with the following relative URL: "/RechtsgrundlageService/pruefungrechtsgrundlage/rechtsgrundlage/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum