Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LadeStationApp
Please create a React-JS application for the LadeStationModule. The application has to offer the following views for the user interface: 1. FahrzeugTypView 2. LadePunktView 3. LadeStationView 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 FahrzeugTypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING An existing FahrzeugTyp entity should be loaded from the relative URL: "/LadeStationService/fahrzeugtyp/{id}" (HTTP-GET) If a new FahrzeugTyp entity has been created, the new entity should be posted to the relative URL: "/LadeStationService/fahrzeugtyp" (HTTP-POST) If an existing FahrzeugTyp entity has been updated, the modified entity should be sent to the relative URL: "/LadeStationService/fahrzeugtyp/{id}" (HTTP-PUT) If an existing FahrzeugTyp entity has to be deleted, the following relative URL should be called: "/LadeStationService/fahrzeugtyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LadePunkt columns: - column: Ist24hZugaenglich - column: MaxLeistungKw - column: SteckerTyp - column: LadeStation - column: FahrzeugTyp The table should have the title "LadePunkts" und the data must be loaded from the server with the following relative URL: "/LadeStationService/ladepunkt/fahrzeugtyp/{id}" 2. The LadePunktView must contain the following fields: - name: FahrzeugTyp type: FahrzeugTyp - name: Ist24hZugaenglich type: BOOL - name: LadeStation type: LadeStation - name: MaxLeistungKw type: STRING - name: SteckerTyp type: STRING The data source for the [LadeStation] select control should be loaded from the relative URL: "/LadeStationService/ladestation" (HTTP-GET) The data source for the [FahrzeugTyp] select control should be loaded from the relative URL: "/LadeStationService/fahrzeugtyp" (HTTP-GET) An existing LadePunkt entity should be loaded from the relative URL: "/LadeStationService/ladepunkt/{id}" (HTTP-GET) If a new LadePunkt entity has been created, the new entity should be posted to the relative URL: "/LadeStationService/ladepunkt" (HTTP-POST) If an existing LadePunkt entity has been updated, the modified entity should be sent to the relative URL: "/LadeStationService/ladepunkt/{id}" (HTTP-PUT) If an existing LadePunkt entity has to be deleted, the following relative URL should be called: "/LadeStationService/ladepunkt/{id}" (HTTP-DELETE) 3. The LadeStationView must contain the following fields: - name: BackendSystem type: STRING - name: BetreiberName type: Betreiber - name: MaxGesamtleistungKw type: STRING - name: Name type: STRING - name: Tankstelle type: Tankstelle The data source for the [BetreiberName] select control should be loaded from the relative URL: "/TankstelleService/betreiber" (HTTP-GET) The data source for the [Tankstelle] select control should be loaded from the relative URL: "/TankstelleService/tankstelle" (HTTP-GET) An existing LadeStation entity should be loaded from the relative URL: "/LadeStationService/ladestation/{id}" (HTTP-GET) If a new LadeStation entity has been created, the new entity should be posted to the relative URL: "/LadeStationService/ladestation" (HTTP-POST) If an existing LadeStation entity has been updated, the modified entity should be sent to the relative URL: "/LadeStationService/ladestation/{id}" (HTTP-PUT) If an existing LadeStation entity has to be deleted, the following relative URL should be called: "/LadeStationService/ladestation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LadePunkt columns: - column: Ist24hZugaenglich - column: MaxLeistungKw - column: SteckerTyp - column: LadeStation - column: FahrzeugTyp The table should have the title "LadePunkts" und the data must be loaded from the server with the following relative URL: "/LadeStationService/ladepunkt/ladestation/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum