Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EinsatzmittelView
Please create a React-JS view called "EinsatzmittelView" for the fields of the Einsatzmittel entity. The EinsatzmittelView must contain the following fields: - name: Aktiv type: BOOL - name: Dienst type: Dienst - name: Kennung type: STRING - name: Organisation type: Organisation - name: StandortGebiet type: Gebiet The data source for the [Organisation] select control should be loaded from the relative URL: "/DienstService/organisation" (HTTP-GET) The data source for the [StandortGebiet] select control should be loaded from the relative URL: "/LandService/gebiet" (HTTP-GET) The data source for the [Dienst] select control should be loaded from the relative URL: "/DienstService/dienst" (HTTP-GET) An existing Einsatzmittel entity should be loaded from the relative URL: "/DienstService/einsatzmittel/{id}" (HTTP-GET) If a new Einsatzmittel entity has been created, the new entity should be posted to the relative URL: "/DienstService/einsatzmittel" (HTTP-POST) If an existing Einsatzmittel entity has been updated, the modified entity should be sent to the relative URL: "/DienstService/einsatzmittel/{id}" (HTTP-PUT) If an existing Einsatzmittel entity has to be deleted, the following relative URL should be called: "/DienstService/einsatzmittel/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EinsatzEinsatzmittel columns: - column: Einsatzmittel - column: Einsatz - column: RolleImEinsatz The table should have the title "EinsatzEinsatzmittels" und the data must be loaded from the server with the following relative URL: "/DienstService/einsatzeinsatzmittel/einsatzmittel/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum