Overview
Summary
Contact
Donate
Imprint
Prompt for the
AirportView
Please create a React-JS view called "AirportView" for the fields of the Airport entity. The AirportView must contain the following fields: - name: Code type: STRING - name: Latitude type: STRING - name: LocationCity type: LocationCity - name: Longitude type: STRING - name: Name type: STRING The data source for the [LocationCity] select control should be loaded from the relative URL: "/LocationCityService/locationcity" (HTTP-GET) An existing Airport entity should be loaded from the relative URL: "/AirportService/airport/{id}" (HTTP-GET) If a new Airport entity has been created, the new entity should be posted to the relative URL: "/AirportService/airport" (HTTP-POST) If an existing Airport entity has been updated, the modified entity should be sent to the relative URL: "/AirportService/airport/{id}" (HTTP-PUT) If an existing Airport entity has to be deleted, the following relative URL should be called: "/AirportService/airport/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Flight columns: - column: DurationMinutes - column: OriginAirport - column: FlightCarrier - column: DepartureTime - column: FlightNumber - column: ArrivalTime - column: DestinationAirport The table should have the title "Flights" und the data must be loaded from the server with the following relative URL: "/AirportService/flight/destinationairport/{id}" Add a HTML table to the view with the following Flight columns: - column: DurationMinutes - column: OriginAirport - column: FlightCarrier - column: DepartureTime - column: FlightNumber - column: ArrivalTime - column: DestinationAirport The table should have the title "Flights" und the data must be loaded from the server with the following relative URL: "/AirportService/flight/originairport/{id}" Add a HTML table to the view with the following AirportTransferProduct columns: - column: Description - column: DestinationCity - column: MaxPassengers - column: VehicleType - column: Name - column: OriginAirport - column: OriginCity - column: DestinationAirport - column: AirportTransferProvider The table should have the title "AirportTransferProducts" und the data must be loaded from the server with the following relative URL: "/AirportService/airporttransferproduct/originairport/{id}" Add a HTML table to the view with the following AirportTransferProduct columns: - column: Description - column: DestinationCity - column: MaxPassengers - column: VehicleType - column: Name - column: OriginAirport - column: OriginCity - column: DestinationAirport - column: AirportTransferProvider The table should have the title "AirportTransferProducts" und the data must be loaded from the server with the following relative URL: "/AirportService/airporttransferproduct/destinationairport/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint