Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RechtsdefinitionApp
Please create a React-JS application for the RechtsdefinitionModule. The application has to offer the following views for the user interface: 1. ForschungsinstitutView 2. RechtsdefinitionView 3. ZooRechtsstatusView 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 ForschungsinstitutView must contain the following fields: - name: Beschreibung type: STRING - name: Land type: STRING - name: Name type: STRING - name: Stadt type: STRING - name: Typ type: STRING - name: Webseite type: STRING An existing Forschungsinstitut entity should be loaded from the relative URL: "/RechtsdefinitionService/forschungsinstitut/{id}" (HTTP-GET) If a new Forschungsinstitut entity has been created, the new entity should be posted to the relative URL: "/RechtsdefinitionService/forschungsinstitut" (HTTP-POST) If an existing Forschungsinstitut entity has been updated, the modified entity should be sent to the relative URL: "/RechtsdefinitionService/forschungsinstitut/{id}" (HTTP-PUT) If an existing Forschungsinstitut entity has to be deleted, the following relative URL should be called: "/RechtsdefinitionService/forschungsinstitut/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ForschungsKooperation columns: - column: Startjahr - column: Zoo - column: Endjahr - column: Thema - column: Beschreibung - column: Forschungsinstitut The table should have the title "ForschungsKooperations" und the data must be loaded from the server with the following relative URL: "/ZooService/forschungskooperation/forschungsinstitut/{id}" 2. The RechtsdefinitionView must contain the following fields: - name: Artikel type: STRING - name: DefinitionText type: STRING - name: GesetzName type: STRING - name: GueltigAb type: DATE - name: GueltigBis type: DATE - name: Jurisdiktion type: STRING An existing Rechtsdefinition entity should be loaded from the relative URL: "/RechtsdefinitionService/rechtsdefinition/{id}" (HTTP-GET) If a new Rechtsdefinition entity has been created, the new entity should be posted to the relative URL: "/RechtsdefinitionService/rechtsdefinition" (HTTP-POST) If an existing Rechtsdefinition entity has been updated, the modified entity should be sent to the relative URL: "/RechtsdefinitionService/rechtsdefinition/{id}" (HTTP-PUT) If an existing Rechtsdefinition entity has to be deleted, the following relative URL should be called: "/RechtsdefinitionService/rechtsdefinition/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ZooRechtsstatus columns: - column: Rechtsdefinition - column: Notizen - column: Zoo - column: SeitDatum The table should have the title "ZooRechtsstatuss" und the data must be loaded from the server with the following relative URL: "/RechtsdefinitionService/zoorechtsstatus/rechtsdefinition/{id}" 3. The ZooRechtsstatusView must contain the following fields: - name: Notizen type: STRING - name: Rechtsdefinition type: Rechtsdefinition - name: SeitDatum type: DATE - name: Zoo type: Zoo The data source for the [Rechtsdefinition] select control should be loaded from the relative URL: "/RechtsdefinitionService/rechtsdefinition" (HTTP-GET) The data source for the [Zoo] select control should be loaded from the relative URL: "/ZooService/zoo" (HTTP-GET) An existing ZooRechtsstatus entity should be loaded from the relative URL: "/RechtsdefinitionService/zoorechtsstatus/{id}" (HTTP-GET) If a new ZooRechtsstatus entity has been created, the new entity should be posted to the relative URL: "/RechtsdefinitionService/zoorechtsstatus" (HTTP-POST) If an existing ZooRechtsstatus entity has been updated, the modified entity should be sent to the relative URL: "/RechtsdefinitionService/zoorechtsstatus/{id}" (HTTP-PUT) If an existing ZooRechtsstatus entity has to be deleted, the following relative URL should be called: "/RechtsdefinitionService/zoorechtsstatus/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum