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: City type: City - name: IataCode type: STRING - name: Name type: STRING The data source for the [City] select control should be loaded from the relative URL: "/CityService/city" (HTTP-GET) An existing Airport entity should be loaded from the relative URL: "/CityService/airport/{id}" (HTTP-GET) If a new Airport entity has been created, the new entity should be posted to the relative URL: "/CityService/airport" (HTTP-POST) If an existing Airport entity has been updated, the modified entity should be sent to the relative URL: "/CityService/airport/{id}" (HTTP-PUT) If an existing Airport entity has to be deleted, the following relative URL should be called: "/CityService/airport/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AirportService columns: - column: Airport - column: Status - column: RobotaxiService - column: LaunchDate The table should have the title "AirportServices" und the data must be loaded from the server with the following relative URL: "/CityService/airportservice/airport/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint