Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
FahrzeugTypApp
Please create a React-JS application for the FahrzeugTypModule. The application has to offer the following views for the user interface: 1. FahrzeugTypView 2. LadePunktView 3. StandortView 4. WaschAnlageView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 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: "/FahrzeugTypService/fahrzeugtyp/{id}" (HTTP-GET) If a new FahrzeugTyp entity has been created, the new entity should be posted to the relative URL: "/FahrzeugTypService/fahrzeugtyp" (HTTP-POST) If an existing FahrzeugTyp entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugTypService/fahrzeugtyp/{id}" (HTTP-PUT) If an existing FahrzeugTyp entity has to be deleted, the following relative URL should be called: "/FahrzeugTypService/fahrzeugtyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LadePunkt columns: - column: SteckerTyp - column: LadeStation - column: Ist24hZugaenglich - column: FahrzeugTyp - column: MaxLeistungKw The table should have the title "LadePunkts" und the data must be loaded from the server with the following relative URL: "/FahrzeugTypService/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: "/BetreiberService/ladestation" (HTTP-GET) The data source for the [FahrzeugTyp] select control should be loaded from the relative URL: "/FahrzeugTypService/fahrzeugtyp" (HTTP-GET) An existing LadePunkt entity should be loaded from the relative URL: "/FahrzeugTypService/ladepunkt/{id}" (HTTP-GET) If a new LadePunkt entity has been created, the new entity should be posted to the relative URL: "/FahrzeugTypService/ladepunkt" (HTTP-POST) If an existing LadePunkt entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugTypService/ladepunkt/{id}" (HTTP-PUT) If an existing LadePunkt entity has to be deleted, the following relative URL should be called: "/FahrzeugTypService/ladepunkt/{id}" (HTTP-DELETE) 3. 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: "/FahrzeugTypService/standort/{id}" (HTTP-GET) If a new Standort entity has been created, the new entity should be posted to the relative URL: "/FahrzeugTypService/standort" (HTTP-POST) If an existing Standort entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugTypService/standort/{id}" (HTTP-PUT) If an existing Standort entity has to be deleted, the following relative URL should be called: "/FahrzeugTypService/standort/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Tankstelle columns: - column: TankstellenTyp - column: HatWaschanlage - column: Marke - column: Name - column: AusserbetriebnahmeDatum - column: HatLadestation - column: HatShop - column: Betreiber - column: InbetriebnahmeDatum - column: Standort 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}" 4. The WaschAnlageView must contain the following fields: - name: HatUnterboden type: BOOL - name: MaxHoeheM type: STRING - name: Name type: STRING - name: Tankstelle type: Tankstelle - name: Typ type: STRING The data source for the [Tankstelle] select control should be loaded from the relative URL: "/TankstelleService/tankstelle" (HTTP-GET) An existing WaschAnlage entity should be loaded from the relative URL: "/FahrzeugTypService/waschanlage/{id}" (HTTP-GET) If a new WaschAnlage entity has been created, the new entity should be posted to the relative URL: "/FahrzeugTypService/waschanlage" (HTTP-POST) If an existing WaschAnlage entity has been updated, the modified entity should be sent to the relative URL: "/FahrzeugTypService/waschanlage/{id}" (HTTP-PUT) If an existing WaschAnlage entity has to be deleted, the following relative URL should be called: "/FahrzeugTypService/waschanlage/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum