Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RegelungApp
Please create a React-JS application for the RegelungModule. The application has to offer the following views for the user interface: 1. RegelungView 2. TankstelleZahlungsOptionView 3. ZahlungsArtView 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 RegelungView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Titel type: STRING - name: Zustaendigkeit type: STRING An existing Regelung entity should be loaded from the relative URL: "/RegelungService/regelung/{id}" (HTTP-GET) If a new Regelung entity has been created, the new entity should be posted to the relative URL: "/RegelungService/regelung" (HTTP-POST) If an existing Regelung entity has been updated, the modified entity should be sent to the relative URL: "/RegelungService/regelung/{id}" (HTTP-PUT) If an existing Regelung entity has to be deleted, the following relative URL should be called: "/RegelungService/regelung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TankstelleRegelung columns: - column: Regelung - column: LetztePruefung - column: Tankstelle - column: IstPflicht - column: Status The table should have the title "TankstelleRegelungs" und the data must be loaded from the server with the following relative URL: "/TankstelleService/tankstelleregelung/regelung/{id}" 2. The TankstelleZahlungsOptionView must contain the following fields: - name: IstBevorzugt type: BOOL - name: Notizen type: STRING - name: Tankstelle type: Tankstelle - name: ZahlungsArt type: ZahlungsArt The data source for the [ZahlungsArt] select control should be loaded from the relative URL: "/RegelungService/zahlungsart" (HTTP-GET) The data source for the [Tankstelle] select control should be loaded from the relative URL: "/TankstelleService/tankstelle" (HTTP-GET) An existing TankstelleZahlungsOption entity should be loaded from the relative URL: "/RegelungService/tankstellezahlungsoption/{id}" (HTTP-GET) If a new TankstelleZahlungsOption entity has been created, the new entity should be posted to the relative URL: "/RegelungService/tankstellezahlungsoption" (HTTP-POST) If an existing TankstelleZahlungsOption entity has been updated, the modified entity should be sent to the relative URL: "/RegelungService/tankstellezahlungsoption/{id}" (HTTP-PUT) If an existing TankstelleZahlungsOption entity has to be deleted, the following relative URL should be called: "/RegelungService/tankstellezahlungsoption/{id}" (HTTP-DELETE) 3. The ZahlungsArtView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing ZahlungsArt entity should be loaded from the relative URL: "/RegelungService/zahlungsart/{id}" (HTTP-GET) If a new ZahlungsArt entity has been created, the new entity should be posted to the relative URL: "/RegelungService/zahlungsart" (HTTP-POST) If an existing ZahlungsArt entity has been updated, the modified entity should be sent to the relative URL: "/RegelungService/zahlungsart/{id}" (HTTP-PUT) If an existing ZahlungsArt entity has to be deleted, the following relative URL should be called: "/RegelungService/zahlungsart/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TankstelleZahlungsOption columns: - column: ZahlungsArt - column: Notizen - column: Tankstelle - column: IstBevorzugt The table should have the title "TankstelleZahlungsOptions" und the data must be loaded from the server with the following relative URL: "/RegelungService/tankstellezahlungsoption/zahlungsart/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum