Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GeschaeftsmodellApp
Please create a React-JS application for the GeschaeftsmodellModule. The application has to offer the following views for the user interface: 1. FlughafenView 2. FlughafenCarsharingAnlageView 3. GeschaeftsmodellView 4. StationstypView 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 FlughafenView must contain the following fields: - name: IataCode type: STRING - name: IcaoCode type: STRING - name: Name type: STRING - name: Stadt type: Stadt The data source for the [Stadt] select control should be loaded from the relative URL: "/CarsharingOrganisationService/stadt" (HTTP-GET) An existing Flughafen entity should be loaded from the relative URL: "/GeschaeftsmodellService/flughafen/{id}" (HTTP-GET) If a new Flughafen entity has been created, the new entity should be posted to the relative URL: "/GeschaeftsmodellService/flughafen" (HTTP-POST) If an existing Flughafen entity has been updated, the modified entity should be sent to the relative URL: "/GeschaeftsmodellService/flughafen/{id}" (HTTP-PUT) If an existing Flughafen entity has to be deleted, the following relative URL should be called: "/GeschaeftsmodellService/flughafen/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FlughafenCarsharingAnlage columns: - column: Zusatzgebuehr - column: ShuttleService - column: Name - column: CarsharingOrganisation - column: Flughafen - column: EigenerParkbereich The table should have the title "FlughafenCarsharingAnlages" und the data must be loaded from the server with the following relative URL: "/GeschaeftsmodellService/flughafencarsharinganlage/flughafen/{id}" 2. The FlughafenCarsharingAnlageView must contain the following fields: - name: CarsharingOrganisation type: CarsharingOrganisation - name: EigenerParkbereich type: BOOL - name: Flughafen type: Flughafen - name: Name type: STRING - name: ShuttleService type: BOOL - name: Zusatzgebuehr type: STRING The data source for the [CarsharingOrganisation] select control should be loaded from the relative URL: "/CarsharingOrganisationService/carsharingorganisation" (HTTP-GET) The data source for the [Flughafen] select control should be loaded from the relative URL: "/GeschaeftsmodellService/flughafen" (HTTP-GET) An existing FlughafenCarsharingAnlage entity should be loaded from the relative URL: "/GeschaeftsmodellService/flughafencarsharinganlage/{id}" (HTTP-GET) If a new FlughafenCarsharingAnlage entity has been created, the new entity should be posted to the relative URL: "/GeschaeftsmodellService/flughafencarsharinganlage" (HTTP-POST) If an existing FlughafenCarsharingAnlage entity has been updated, the modified entity should be sent to the relative URL: "/GeschaeftsmodellService/flughafencarsharinganlage/{id}" (HTTP-PUT) If an existing FlughafenCarsharingAnlage entity has to be deleted, the following relative URL should be called: "/GeschaeftsmodellService/flughafencarsharinganlage/{id}" (HTTP-DELETE) 3. The GeschaeftsmodellView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Geschaeftsmodell entity should be loaded from the relative URL: "/GeschaeftsmodellService/geschaeftsmodell/{id}" (HTTP-GET) If a new Geschaeftsmodell entity has been created, the new entity should be posted to the relative URL: "/GeschaeftsmodellService/geschaeftsmodell" (HTTP-POST) If an existing Geschaeftsmodell entity has been updated, the modified entity should be sent to the relative URL: "/GeschaeftsmodellService/geschaeftsmodell/{id}" (HTTP-PUT) If an existing Geschaeftsmodell entity has to be deleted, the following relative URL should be called: "/GeschaeftsmodellService/geschaeftsmodell/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CarsharingOrganisation columns: - column: Name - column: Aktiv - column: Stationaer - column: SitzStadt - column: Rechtsform - column: Webseite - column: Geschaeftsmodell - column: Organisationstyp - column: Gruendungsjahr - column: Kombinationsmodell - column: FreeFloating The table should have the title "CarsharingOrganisations" und the data must be loaded from the server with the following relative URL: "/CarsharingOrganisationService/carsharingorganisation/geschaeftsmodell/{id}" 4. The StationstypView must contain the following fields: - name: Beschreibung type: STRING - name: Name type: STRING An existing Stationstyp entity should be loaded from the relative URL: "/GeschaeftsmodellService/stationstyp/{id}" (HTTP-GET) If a new Stationstyp entity has been created, the new entity should be posted to the relative URL: "/GeschaeftsmodellService/stationstyp" (HTTP-POST) If an existing Stationstyp entity has been updated, the modified entity should be sent to the relative URL: "/GeschaeftsmodellService/stationstyp/{id}" (HTTP-PUT) If an existing Stationstyp entity has to be deleted, the following relative URL should be called: "/GeschaeftsmodellService/stationstyp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Station columns: - column: CarsharingOrganisation - column: BahnhofBezug - column: OeffentlicherParkplatz - column: Name - column: FlughafenBezug - column: Laengengrad - column: Adresse - column: Stationstyp - column: Stadt - column: Breitengrad The table should have the title "Stations" und the data must be loaded from the server with the following relative URL: "/StationService/station/stationstyp/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum