Overview
Summary
Services
Contact
Donate
About
Imprint
Prompt for the
LoyaltyProgramView
Please create a React-JS view called "LoyaltyProgramView" for the fields of the LoyaltyProgram entity. The LoyaltyProgramView must contain the following fields: - name: Airline type: Airline - name: Description type: STRING - name: Name type: STRING The data source for the [Airline] select control should be loaded from the relative URL: "/AirlineService/airline" (HTTP-GET) An existing LoyaltyProgram entity should be loaded from the relative URL: "/LoyaltyProgramService/loyaltyprogram/{id}" (HTTP-GET) If a new LoyaltyProgram entity has been created, the new entity should be posted to the relative URL: "/LoyaltyProgramService/loyaltyprogram" (HTTP-POST) If an existing LoyaltyProgram entity has been updated, the modified entity should be sent to the relative URL: "/LoyaltyProgramService/loyaltyprogram/{id}" (HTTP-PUT) If an existing LoyaltyProgram entity has to be deleted, the following relative URL should be called: "/LoyaltyProgramService/loyaltyprogram/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LoyaltyTier columns: - column: QualifyingMiles - column: Name - column: QualifyingSegments - column: LoyaltyProgram The table should have the title "LoyaltyTiers" und the data must be loaded from the server with the following relative URL: "/LoyaltyProgramService/loyaltytier/loyaltyprogram/{id}" Add a HTML table to the view with the following LoyaltyAccount columns: - column: Status - column: Passenger - column: Tier - column: LoyaltyProgram - column: AccountNumber - column: EnrollDate The table should have the title "LoyaltyAccounts" und the data must be loaded from the server with the following relative URL: "/LoyaltyAccountService/loyaltyaccount/loyaltyprogram/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint