Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ZustandApp
Please create a React-JS application for the ZustandModule. The application has to offer the following views for the user interface: 1. BehandlungZustandView 2. ProduktZustandView 3. ZustandView 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 BehandlungZustandView must contain the following fields: - name: Behandlung type: Behandlung - name: Zustand type: Zustand The data source for the [Zustand] select control should be loaded from the relative URL: "/ZustandService/zustand" (HTTP-GET) The data source for the [Behandlung] select control should be loaded from the relative URL: "/BehandlungService/behandlung" (HTTP-GET) An existing BehandlungZustand entity should be loaded from the relative URL: "/ZustandService/behandlungzustand/{id}" (HTTP-GET) If a new BehandlungZustand entity has been created, the new entity should be posted to the relative URL: "/ZustandService/behandlungzustand" (HTTP-POST) If an existing BehandlungZustand entity has been updated, the modified entity should be sent to the relative URL: "/ZustandService/behandlungzustand/{id}" (HTTP-PUT) If an existing BehandlungZustand entity has to be deleted, the following relative URL should be called: "/ZustandService/behandlungzustand/{id}" (HTTP-DELETE) 2. The ProduktZustandView must contain the following fields: - name: Produkt type: Produkt - name: Zustand type: Zustand The data source for the [Produkt] select control should be loaded from the relative URL: "/ProduktService/produkt" (HTTP-GET) The data source for the [Zustand] select control should be loaded from the relative URL: "/ZustandService/zustand" (HTTP-GET) An existing ProduktZustand entity should be loaded from the relative URL: "/ZustandService/produktzustand/{id}" (HTTP-GET) If a new ProduktZustand entity has been created, the new entity should be posted to the relative URL: "/ZustandService/produktzustand" (HTTP-POST) If an existing ProduktZustand entity has been updated, the modified entity should be sent to the relative URL: "/ZustandService/produktzustand/{id}" (HTTP-PUT) If an existing ProduktZustand entity has to be deleted, the following relative URL should be called: "/ZustandService/produktzustand/{id}" (HTTP-DELETE) 3. The ZustandView must contain the following fields: - name: Beschreibung type: STRING - name: IstFussSpezifisch type: BOOL - name: LateinName type: STRING - name: Name type: STRING An existing Zustand entity should be loaded from the relative URL: "/ZustandService/zustand/{id}" (HTTP-GET) If a new Zustand entity has been created, the new entity should be posted to the relative URL: "/ZustandService/zustand" (HTTP-POST) If an existing Zustand entity has been updated, the modified entity should be sent to the relative URL: "/ZustandService/zustand/{id}" (HTTP-PUT) If an existing Zustand entity has to be deleted, the following relative URL should be called: "/ZustandService/zustand/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BehandlungZustand columns: - column: Behandlung - column: Zustand The table should have the title "BehandlungZustands" und the data must be loaded from the server with the following relative URL: "/ZustandService/behandlungzustand/zustand/{id}" Add a HTML table to the view with the following ProduktZustand columns: - column: Zustand - column: Produkt The table should have the title "ProduktZustands" und the data must be loaded from the server with the following relative URL: "/ZustandService/produktzustand/zustand/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum