Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ZapfsaeuleApp
Please create a React-JS application for the ZapfsaeuleModule. The application has to offer the following views for the user interface: 1. ZapfsaeuleView 2. ZapfventilView 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 ZapfsaeuleView must contain the following fields: - name: Bezeichnung type: STRING - name: IstLkwGeeignet type: BOOL - name: PositionIndex type: INT - name: Tankstelle type: Tankstelle The data source for the [Tankstelle] select control should be loaded from the relative URL: "/TankstelleService/tankstelle" (HTTP-GET) An existing Zapfsaeule entity should be loaded from the relative URL: "/ZapfsaeuleService/zapfsaeule/{id}" (HTTP-GET) If a new Zapfsaeule entity has been created, the new entity should be posted to the relative URL: "/ZapfsaeuleService/zapfsaeule" (HTTP-POST) If an existing Zapfsaeule entity has been updated, the modified entity should be sent to the relative URL: "/ZapfsaeuleService/zapfsaeule/{id}" (HTTP-PUT) If an existing Zapfsaeule entity has to be deleted, the following relative URL should be called: "/ZapfsaeuleService/zapfsaeule/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Zapfventil columns: - column: KraftstoffArt - column: Zapfsaeule - column: MaxDurchflussrate - column: VentilCode - column: IstHochleistung The table should have the title "Zapfventils" und the data must be loaded from the server with the following relative URL: "/ZapfsaeuleService/zapfventil/zapfsaeule/{id}" 2. The ZapfventilView must contain the following fields: - name: IstHochleistung type: BOOL - name: KraftstoffArt type: KraftstoffArt - name: MaxDurchflussrate type: STRING - name: VentilCode type: STRING - name: Zapfsaeule type: Zapfsaeule The data source for the [KraftstoffArt] select control should be loaded from the relative URL: "/KraftstoffArtService/kraftstoffart" (HTTP-GET) The data source for the [Zapfsaeule] select control should be loaded from the relative URL: "/ZapfsaeuleService/zapfsaeule" (HTTP-GET) An existing Zapfventil entity should be loaded from the relative URL: "/ZapfsaeuleService/zapfventil/{id}" (HTTP-GET) If a new Zapfventil entity has been created, the new entity should be posted to the relative URL: "/ZapfsaeuleService/zapfventil" (HTTP-POST) If an existing Zapfventil entity has been updated, the modified entity should be sent to the relative URL: "/ZapfsaeuleService/zapfventil/{id}" (HTTP-PUT) If an existing Zapfventil entity has to be deleted, the following relative URL should be called: "/ZapfsaeuleService/zapfventil/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum