Overview
Summary
Services
Contact
Donate
About
Imprint
Prompt for the
FlightNumberView
Please create a React-JS view called "FlightNumberView" for the fields of the FlightNumber entity. The FlightNumberView must contain the following fields: - name: Airline type: Airline - name: Code type: STRING - name: Description type: STRING The data source for the [Airline] select control should be loaded from the relative URL: "/AirlineService/airline" (HTTP-GET) An existing FlightNumber entity should be loaded from the relative URL: "/FlightNumberService/flightnumber/{id}" (HTTP-GET) If a new FlightNumber entity has been created, the new entity should be posted to the relative URL: "/FlightNumberService/flightnumber" (HTTP-POST) If an existing FlightNumber entity has been updated, the modified entity should be sent to the relative URL: "/FlightNumberService/flightnumber/{id}" (HTTP-PUT) If an existing FlightNumber entity has to be deleted, the following relative URL should be called: "/FlightNumberService/flightnumber/{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/flightnumber/{id}" Add a HTML table to the view with the following CodeshareAgreement columns: - column: OperatingAirline - column: StartDate - column: Notes - column: FlightNumber - column: MarketingAirline - column: EndDate The table should have the title "CodeshareAgreements" und the data must be loaded from the server with the following relative URL: "/FlightNumberService/codeshareagreement/flightnumber/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint