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. BesucherstatistikView 2. RechtsdefinitionView 3. ZooArchitekturmerkmalView 4. 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 4 views are defined below. 1. The BesucherstatistikView must contain the following fields: - name: BesucherAnzahl type: LONG - name: Jahr type: LONG - name: Notizen type: STRING - name: TicketEinnahmen type: STRING - name: Zoo type: Zoo The data source for the [Zoo] select control should be loaded from the relative URL: "/ZooService/zoo" (HTTP-GET) An existing Besucherstatistik entity should be loaded from the relative URL: "/RechtsdefinitionService/besucherstatistik/{id}" (HTTP-GET) If a new Besucherstatistik entity has been created, the new entity should be posted to the relative URL: "/RechtsdefinitionService/besucherstatistik" (HTTP-POST) If an existing Besucherstatistik entity has been updated, the modified entity should be sent to the relative URL: "/RechtsdefinitionService/besucherstatistik/{id}" (HTTP-PUT) If an existing Besucherstatistik entity has to be deleted, the following relative URL should be called: "/RechtsdefinitionService/besucherstatistik/{id}" (HTTP-DELETE) 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: Zoo - column: Notizen - column: SeitDatum - column: Rechtsdefinition 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 ZooArchitekturmerkmalView must contain the following fields: - name: Baujahr type: LONG - name: Beschreibung type: STRING - name: IstDenkmalschutz type: BOOL - name: MerkmalTyp type: STRING - name: Name type: STRING - name: Zoo type: Zoo The data source for the [Zoo] select control should be loaded from the relative URL: "/ZooService/zoo" (HTTP-GET) An existing ZooArchitekturmerkmal entity should be loaded from the relative URL: "/RechtsdefinitionService/zooarchitekturmerkmal/{id}" (HTTP-GET) If a new ZooArchitekturmerkmal entity has been created, the new entity should be posted to the relative URL: "/RechtsdefinitionService/zooarchitekturmerkmal" (HTTP-POST) If an existing ZooArchitekturmerkmal entity has been updated, the modified entity should be sent to the relative URL: "/RechtsdefinitionService/zooarchitekturmerkmal/{id}" (HTTP-PUT) If an existing ZooArchitekturmerkmal entity has to be deleted, the following relative URL should be called: "/RechtsdefinitionService/zooarchitekturmerkmal/{id}" (HTTP-DELETE) 4. 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