Overview
Summary
Services
Contact
Donate
About
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: AirlineType type: STRING - name: Callsign type: STRING - name: Country type: Country - name: FoundedYear type: LONG - name: HeadquartersCity type: STRING - name: IataCode type: STRING - name: IcaoCode type: STRING - name: Name type: STRING - name: OwnershipType type: STRING - name: Status type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing Airline entity should be loaded from the relative URL: "/AirlineService/airline/{id}" (HTTP-GET) If a new Airline entity has been created, the new entity should be posted to the relative URL: "/AirlineService/airline" (HTTP-POST) If an existing Airline entity has been updated, the modified entity should be sent to the relative URL: "/AirlineService/airline/{id}" (HTTP-PUT) If an existing Airline entity has to be deleted, the following relative URL should be called: "/AirlineService/airline/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AirlineHub columns: - column: HubType - column: Airport - column: SinceDate - column: Airline The table should have the title "AirlineHubs" und the data must be loaded from the server with the following relative URL: "/AirportService/airlinehub/airline/{id}" 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/airline/{id}" Add a HTML table to the view with the following FlightNumber columns: - column: Description - column: Code - column: Airline The table should have the title "FlightNumbers" und the data must be loaded from the server with the following relative URL: "/FlightNumberService/flightnumber/airline/{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/marketingairline/{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/operatingairline/{id}" Add a HTML table to the view with the following AirlineRegulatoryBody columns: - column: RegulatoryBody - column: Status - column: ExpiryDate - column: CertificateNumber - column: Airline - column: IssueDate The table should have the title "AirlineRegulatoryBodys" und the data must be loaded from the server with the following relative URL: "/CountryService/airlineregulatorybody/airline/{id}" Add a HTML table to the view with the following AirlineAlliance columns: - column: JoinDate - column: Alliance - column: Airline - column: Status The table should have the title "AirlineAlliances" und the data must be loaded from the server with the following relative URL: "/AllianceService/airlinealliance/airline/{id}" Add a HTML table to the view with the following CrewMember columns: - column: LastName - column: EmployeeNumber - column: FirstName - column: HireDate - column: Status - column: Role - column: Airline The table should have the title "CrewMembers" und the data must be loaded from the server with the following relative URL: "/AirlineService/crewmember/airline/{id}" Add a HTML table to the view with the following Aircraft columns: - column: Airline - column: SerialNumber - column: Registration - column: AircraftModel - column: Status - column: DeliveryDate The table should have the title "Aircrafts" und the data must be loaded from the server with the following relative URL: "/AirlineService/aircraft/airline/{id}" Add a HTML table to the view with the following Route columns: - column: DomesticInternational - column: DestinationAirport - column: Airline - column: ActiveFrom - column: OriginAirport - column: ActiveTo - column: DistanceKm The table should have the title "Routes" und the data must be loaded from the server with the following relative URL: "/FlightNumberService/route/airline/{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/frequentflyerairline/{id}" Add a HTML table to the view with the following LoyaltyProgram columns: - column: Airline - column: Name - column: Description The table should have the title "LoyaltyPrograms" und the data must be loaded from the server with the following relative URL: "/LoyaltyProgramService/loyaltyprogram/airline/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint