Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RaumartApp
Please create a React-JS application for the RaumartModule. The application has to offer the following views for the user interface: 1. PraxisraumView 2. RaumartView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The PraxisraumView must contain the following fields: - name: Etage type: STRING - name: FlaecheQm type: STRING - name: Name type: STRING - name: Praxis type: Praxis - name: Raumart type: Raumart The data source for the [Raumart] select control should be loaded from the relative URL: "/RaumartService/raumart" (HTTP-GET) The data source for the [Praxis] select control should be loaded from the relative URL: "/PraxisService/praxis" (HTTP-GET) An existing Praxisraum entity should be loaded from the relative URL: "/RaumartService/praxisraum/{id}" (HTTP-GET) If a new Praxisraum entity has been created, the new entity should be posted to the relative URL: "/RaumartService/praxisraum" (HTTP-POST) If an existing Praxisraum entity has been updated, the modified entity should be sent to the relative URL: "/RaumartService/praxisraum/{id}" (HTTP-PUT) If an existing Praxisraum entity has to be deleted, the following relative URL should be called: "/RaumartService/praxisraum/{id}" (HTTP-DELETE) 2. The RaumartView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Raumart entity should be loaded from the relative URL: "/RaumartService/raumart/{id}" (HTTP-GET) If a new Raumart entity has been created, the new entity should be posted to the relative URL: "/RaumartService/raumart" (HTTP-POST) If an existing Raumart entity has been updated, the modified entity should be sent to the relative URL: "/RaumartService/raumart/{id}" (HTTP-PUT) If an existing Raumart entity has to be deleted, the following relative URL should be called: "/RaumartService/raumart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Praxisraum columns: - column: FlaecheQm - column: Etage - column: Name - column: Praxis - column: Raumart The table should have the title "Praxisraums" und the data must be loaded from the server with the following relative URL: "/RaumartService/praxisraum/raumart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum