Overview
Summary
Services
Contact
Donate
About
Imprint
Prompt for the
RouteView
Please create a React-JS view called "RouteView" for the fields of the Route entity. The RouteView must contain the following fields: - name: ActiveFrom type: DATE - name: ActiveTo type: DATE - name: Airline type: Airline - name: DestinationAirport type: Airport - name: DistanceKm type: LONG - name: DomesticInternational type: STRING - name: OriginAirport type: Airport The data source for the [OriginAirport] select control should be loaded from the relative URL: "/AirportService/airport" (HTTP-GET) The data source for the [Airline] select control should be loaded from the relative URL: "/AirlineService/airline" (HTTP-GET) The data source for the [DestinationAirport] select control should be loaded from the relative URL: "/AirportService/airport" (HTTP-GET) An existing Route entity should be loaded from the relative URL: "/FlightNumberService/route/{id}" (HTTP-GET) If a new Route entity has been created, the new entity should be posted to the relative URL: "/FlightNumberService/route" (HTTP-POST) If an existing Route entity has been updated, the modified entity should be sent to the relative URL: "/FlightNumberService/route/{id}" (HTTP-PUT) If an existing Route entity has to be deleted, the following relative URL should be called: "/FlightNumberService/route/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FlightSchedule columns: - column: OperatingDaysMask - column: EffectiveTo - column: EffectiveFrom - column: DepartureTimeLocal - column: Route - column: ArrivalTimeLocal - column: FlightNumber - column: AircraftModel The table should have the title "FlightSchedules" und the data must be loaded from the server with the following relative URL: "/FlightNumberService/flightschedule/route/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint