Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
KommunikationsmittelApp
Please create a React-JS application for the KommunikationsmittelModule. The application has to offer the following views for the user interface: 1. KommunikationsmittelView 2. LeitstelleKommunikationsmittelView 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 KommunikationsmittelView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Kommunikationsmittel entity should be loaded from the relative URL: "/KommunikationsmittelService/kommunikationsmittel/{id}" (HTTP-GET) If a new Kommunikationsmittel entity has been created, the new entity should be posted to the relative URL: "/KommunikationsmittelService/kommunikationsmittel" (HTTP-POST) If an existing Kommunikationsmittel entity has been updated, the modified entity should be sent to the relative URL: "/KommunikationsmittelService/kommunikationsmittel/{id}" (HTTP-PUT) If an existing Kommunikationsmittel entity has to be deleted, the following relative URL should be called: "/KommunikationsmittelService/kommunikationsmittel/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LeitstelleKommunikationsmittel columns: - column: Primaer - column: Leitstelle - column: Kommunikationsmittel The table should have the title "LeitstelleKommunikationsmittels" und the data must be loaded from the server with the following relative URL: "/KommunikationsmittelService/leitstellekommunikationsmittel/kommunikationsmittel/{id}" 2. The LeitstelleKommunikationsmittelView must contain the following fields: - name: Kommunikationsmittel type: Kommunikationsmittel - name: Leitstelle type: Leitstelle - name: Primaer type: BOOL The data source for the [Kommunikationsmittel] select control should be loaded from the relative URL: "/KommunikationsmittelService/kommunikationsmittel" (HTTP-GET) The data source for the [Leitstelle] select control should be loaded from the relative URL: "/LeitstelleService/leitstelle" (HTTP-GET) An existing LeitstelleKommunikationsmittel entity should be loaded from the relative URL: "/KommunikationsmittelService/leitstellekommunikationsmittel/{id}" (HTTP-GET) If a new LeitstelleKommunikationsmittel entity has been created, the new entity should be posted to the relative URL: "/KommunikationsmittelService/leitstellekommunikationsmittel" (HTTP-POST) If an existing LeitstelleKommunikationsmittel entity has been updated, the modified entity should be sent to the relative URL: "/KommunikationsmittelService/leitstellekommunikationsmittel/{id}" (HTTP-PUT) If an existing LeitstelleKommunikationsmittel entity has to be deleted, the following relative URL should be called: "/KommunikationsmittelService/leitstellekommunikationsmittel/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum