Overview
Summary
Services
Contact
Donate
About
Imprint
Prompt for the
CountryView
Please create a React-JS view called "CountryView" for the fields of the Country entity. The CountryView must contain the following fields: - name: IsoCode type: STRING - name: Name type: STRING - name: Region type: STRING An existing Country entity should be loaded from the relative URL: "/CountryService/country/{id}" (HTTP-GET) If a new Country entity has been created, the new entity should be posted to the relative URL: "/CountryService/country" (HTTP-POST) If an existing Country entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/country/{id}" (HTTP-PUT) If an existing Country entity has to be deleted, the following relative URL should be called: "/CountryService/country/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Ticket columns: - column: IssueDate - column: Currency - column: TotalAmount - column: PointOfSaleCountry - column: TicketNumber - column: Airline The table should have the title "Tickets" und the data must be loaded from the server with the following relative URL: "/BookingService/ticket/pointofsalecountry/{id}" Add a HTML table to the view with the following AircraftManufacturer columns: - column: Name - column: FoundedYear - column: Country The table should have the title "AircraftManufacturers" und the data must be loaded from the server with the following relative URL: "/CountryService/aircraftmanufacturer/country/{id}" Add a HTML table to the view with the following Airport columns: - column: Country - column: AirportType - column: IataCode - column: Latitude - column: City - column: TimeZone - column: Name - column: IcaoCode - column: Longitude - column: Elevation The table should have the title "Airports" und the data must be loaded from the server with the following relative URL: "/AirportService/airport/country/{id}" Add a HTML table to the view with the following RegulatoryBody columns: - column: Name - column: Country - column: Website - column: Type The table should have the title "RegulatoryBodys" und the data must be loaded from the server with the following relative URL: "/CountryService/regulatorybody/country/{id}" Add a HTML table to the view with the following Airline columns: - column: FoundedYear - column: Status - column: IcaoCode - column: OwnershipType - column: Name - column: Callsign - column: HeadquartersCity - column: IataCode - column: Country - column: AirlineType The table should have the title "Airlines" und the data must be loaded from the server with the following relative URL: "/AirlineService/airline/country/{id}" Add a HTML table to the view with the following Passenger columns: - column: NationalityCountry - column: DateOfBirth - column: FrequentFlyerNumber - column: Gender - column: LastName - column: FrequentFlyerAirline - column: FirstName The table should have the title "Passengers" und the data must be loaded from the server with the following relative URL: "/AirlineService/passenger/nationalitycountry/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint