Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
StandortApp
Please create a React-JS application for the StandortModule. The application has to offer the following views for the user interface: 1. RegelungView 2. StandortView 3. TankstelleRegelungView 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: "/StandortService/regelung/{id}" (HTTP-GET) If a new Regelung entity has been created, the new entity should be posted to the relative URL: "/StandortService/regelung" (HTTP-POST) If an existing Regelung entity has been updated, the modified entity should be sent to the relative URL: "/StandortService/regelung/{id}" (HTTP-PUT) If an existing Regelung entity has to be deleted, the following relative URL should be called: "/StandortService/regelung/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TankstelleRegelung columns: - column: Regelung - column: LetztePruefung - column: IstPflicht - column: Tankstelle - column: Status The table should have the title "TankstelleRegelungs" und the data must be loaded from the server with the following relative URL: "/StandortService/tankstelleregelung/regelung/{id}" 2. The StandortView must contain the following fields: - name: Breitengrad type: STRING - name: Bundesland type: STRING - name: Hausnummer type: STRING - name: Laengengrad type: STRING - name: Land type: STRING - name: Postleitzahl type: STRING - name: Stadt type: STRING - name: Strasse type: STRING An existing Standort entity should be loaded from the relative URL: "/StandortService/standort/{id}" (HTTP-GET) If a new Standort entity has been created, the new entity should be posted to the relative URL: "/StandortService/standort" (HTTP-POST) If an existing Standort entity has been updated, the modified entity should be sent to the relative URL: "/StandortService/standort/{id}" (HTTP-PUT) If an existing Standort entity has to be deleted, the following relative URL should be called: "/StandortService/standort/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Tankstelle columns: - column: AusserbetriebnahmeDatum - column: InbetriebnahmeDatum - column: Marke - column: Name - column: HatShop - column: HatLadestation - column: TankstellenTyp - column: Standort - column: HatWaschanlage - column: Betreiber The table should have the title "Tankstelles" und the data must be loaded from the server with the following relative URL: "/TankstelleService/tankstelle/standort/{id}" 3. The TankstelleRegelungView must contain the following fields: - name: IstPflicht type: BOOL - name: LetztePruefung type: DATE - name: Regelung type: Regelung - name: Status type: STRING - name: Tankstelle type: Tankstelle The data source for the [Regelung] select control should be loaded from the relative URL: "/StandortService/regelung" (HTTP-GET) The data source for the [Tankstelle] select control should be loaded from the relative URL: "/TankstelleService/tankstelle" (HTTP-GET) An existing TankstelleRegelung entity should be loaded from the relative URL: "/StandortService/tankstelleregelung/{id}" (HTTP-GET) If a new TankstelleRegelung entity has been created, the new entity should be posted to the relative URL: "/StandortService/tankstelleregelung" (HTTP-POST) If an existing TankstelleRegelung entity has been updated, the modified entity should be sent to the relative URL: "/StandortService/tankstelleregelung/{id}" (HTTP-PUT) If an existing TankstelleRegelung entity has to be deleted, the following relative URL should be called: "/StandortService/tankstelleregelung/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum