Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LandApp
Please create a React-JS application for the LandModule. The application has to offer the following views for the user interface: 1. LadestationView 2. LandView 3. MarkierungView 4. MarkierungTypView 5. StellplatzTypView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The LadestationView must contain the following fields: - name: AnzahlStecker type: INT - name: BetreiberName type: STRING - name: IstSchnellladung type: BOOL - name: MaxLeistungKw type: STRING - name: Name type: STRING - name: Parkplatzbereich type: Parkplatzbereich - name: SteckerTyp type: STRING The data source for the [Parkplatzbereich] select control should be loaded from the relative URL: "/ParkplatzbereichService/parkplatzbereich" (HTTP-GET) An existing Ladestation entity should be loaded from the relative URL: "/LandService/ladestation/{id}" (HTTP-GET) If a new Ladestation entity has been created, the new entity should be posted to the relative URL: "/LandService/ladestation" (HTTP-POST) If an existing Ladestation entity has been updated, the modified entity should be sent to the relative URL: "/LandService/ladestation/{id}" (HTTP-PUT) If an existing Ladestation entity has to be deleted, the following relative URL should be called: "/LandService/ladestation/{id}" (HTTP-DELETE) 2. The LandView must contain the following fields: - name: IsoCode type: STRING - name: Name type: STRING An existing Land entity should be loaded from the relative URL: "/LandService/land/{id}" (HTTP-GET) If a new Land entity has been created, the new entity should be posted to the relative URL: "/LandService/land" (HTTP-POST) If an existing Land entity has been updated, the modified entity should be sent to the relative URL: "/LandService/land/{id}" (HTTP-PUT) If an existing Land entity has to be deleted, the following relative URL should be called: "/LandService/land/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Stadt columns: - column: Name - column: Land - column: Einwohnerzahl The table should have the title "Stadts" und the data must be loaded from the server with the following relative URL: "/StadtService/stadt/land/{id}" 3. The MarkierungView must contain the following fields: - name: Farbe type: STRING - name: IstBegrenzung type: BOOL - name: IstParkverbot type: BOOL - name: MarkierungTyp type: MarkierungTyp - name: MusterBeschreibung type: STRING - name: Parkplatzbereich type: Parkplatzbereich The data source for the [MarkierungTyp] select control should be loaded from the relative URL: "/LandService/markierungtyp" (HTTP-GET) The data source for the [Parkplatzbereich] select control should be loaded from the relative URL: "/ParkplatzbereichService/parkplatzbereich" (HTTP-GET) An existing Markierung entity should be loaded from the relative URL: "/LandService/markierung/{id}" (HTTP-GET) If a new Markierung entity has been created, the new entity should be posted to the relative URL: "/LandService/markierung" (HTTP-POST) If an existing Markierung entity has been updated, the modified entity should be sent to the relative URL: "/LandService/markierung/{id}" (HTTP-PUT) If an existing Markierung entity has to be deleted, the following relative URL should be called: "/LandService/markierung/{id}" (HTTP-DELETE) 4. The MarkierungTypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing MarkierungTyp entity should be loaded from the relative URL: "/LandService/markierungtyp/{id}" (HTTP-GET) If a new MarkierungTyp entity has been created, the new entity should be posted to the relative URL: "/LandService/markierungtyp" (HTTP-POST) If an existing MarkierungTyp entity has been updated, the modified entity should be sent to the relative URL: "/LandService/markierungtyp/{id}" (HTTP-PUT) If an existing MarkierungTyp entity has to be deleted, the following relative URL should be called: "/LandService/markierungtyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Markierung columns: - column: Farbe - column: IstBegrenzung - column: MarkierungTyp - column: IstParkverbot - column: Parkplatzbereich - column: MusterBeschreibung The table should have the title "Markierungs" und the data must be loaded from the server with the following relative URL: "/LandService/markierung/markierungtyp/{id}" 5. The StellplatzTypView must contain the following fields: - name: Beschreibung type: STRING - name: Code type: STRING - name: Name type: STRING An existing StellplatzTyp entity should be loaded from the relative URL: "/LandService/stellplatztyp/{id}" (HTTP-GET) If a new StellplatzTyp entity has been created, the new entity should be posted to the relative URL: "/LandService/stellplatztyp" (HTTP-POST) If an existing StellplatzTyp entity has been updated, the modified entity should be sent to the relative URL: "/LandService/stellplatztyp/{id}" (HTTP-PUT) If an existing StellplatzTyp entity has to be deleted, the following relative URL should be called: "/LandService/stellplatztyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Stellplatz columns: - column: Parkplatzbereich - column: IstStrassenstellplatz - column: LaengeMeter - column: IstBarrierefrei - column: StellplatzTyp - column: ReihenBezeichnung - column: Code - column: HatSchatten - column: NutzungsKategorie - column: HatLadung - column: NummerInReihe - column: IstReserviert - column: Fahrzeugtyp - column: IstMarkiert - column: BreiteMeter The table should have the title "Stellplatzs" und the data must be loaded from the server with the following relative URL: "/FahrzeugtypService/stellplatz/stellplatztyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum