Overview
Summary
Contact
Donate
Imprint
Prompt for the
AirlineView
Please create a React-JS view called "AirlineView" for the fields of the Airline entity. The AirlineView must contain the following fields: - name: Active type: BOOL - name: Callsign type: STRING - name: Country type: STRING - name: IataCode type: STRING - name: IcaoCode type: STRING - name: LogoUrl type: STRING - name: Name type: STRING An existing Airline entity should be loaded from the relative URL: "/FlightService/airline/{id}" (HTTP-GET) If a new Airline entity has been created, the new entity should be posted to the relative URL: "/FlightService/airline" (HTTP-POST) If an existing Airline entity has been updated, the modified entity should be sent to the relative URL: "/FlightService/airline/{id}" (HTTP-PUT) If an existing Airline entity has to be deleted, the following relative URL should be called: "/FlightService/airline/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Flight columns: - column: ActualArrivalUtc - column: ActualDepartureUtc - column: DistanceNm - column: LastPositionTimeUtc - column: Status - column: Live - column: Callsign - column: ArrivalAirport - column: DepartureAirport - column: Aircraft - column: ScheduledArrivalUtc - column: Airline - column: ScheduledDepartureUtc - column: Number - column: ProgressPercent The table should have the title "Flights" und the data must be loaded from the server with the following relative URL: "/FlightService/flight/airline/{id}" Add a HTML table to the view with the following Aircraft columns: - column: Airline - column: DeliveryDate - column: AgeYears - column: SerialNumber - column: AircraftModel - column: Registration - column: ModeS The table should have the title "Aircrafts" und the data must be loaded from the server with the following relative URL: "/AircraftService/aircraft/airline/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint