Overview
Summary
Services
Contact
Donate
About
Imprint
Prompt for the
AircraftView
Please create a React-JS view called "AircraftView" for the fields of the Aircraft entity. The AircraftView must contain the following fields: - name: AircraftModel type: AircraftModel - name: Airline type: Airline - name: DeliveryDate type: DATE - name: Registration type: STRING - name: SerialNumber type: STRING - name: Status type: STRING The data source for the [Airline] select control should be loaded from the relative URL: "/AirlineService/airline" (HTTP-GET) The data source for the [AircraftModel] select control should be loaded from the relative URL: "/AircraftModelService/aircraftmodel" (HTTP-GET) An existing Aircraft entity should be loaded from the relative URL: "/AirlineService/aircraft/{id}" (HTTP-GET) If a new Aircraft entity has been created, the new entity should be posted to the relative URL: "/AirlineService/aircraft" (HTTP-POST) If an existing Aircraft entity has been updated, the modified entity should be sent to the relative URL: "/AirlineService/aircraft/{id}" (HTTP-PUT) If an existing Aircraft entity has to be deleted, the following relative URL should be called: "/AirlineService/aircraft/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FlightInstance columns: - column: ScheduledDepartureUtc - column: ScheduledArrivalUtc - column: Status - column: FlightSchedule - column: ActualDepartureUtc - column: ActualArrivalUtc - column: Aircraft The table should have the title "FlightInstances" und the data must be loaded from the server with the following relative URL: "/FlightInstanceService/flightinstance/aircraft/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint