Overview
Summary
Services
Contact
Donate
About
Imprint
Prompt for the
LoyaltyTierView
Please create a React-JS view called "LoyaltyTierView" for the fields of the LoyaltyTier entity. The LoyaltyTierView must contain the following fields: - name: LoyaltyProgram type: LoyaltyProgram - name: Name type: STRING - name: QualifyingMiles type: LONG - name: QualifyingSegments type: LONG The data source for the [LoyaltyProgram] select control should be loaded from the relative URL: "/LoyaltyProgramService/loyaltyprogram" (HTTP-GET) An existing LoyaltyTier entity should be loaded from the relative URL: "/LoyaltyProgramService/loyaltytier/{id}" (HTTP-GET) If a new LoyaltyTier entity has been created, the new entity should be posted to the relative URL: "/LoyaltyProgramService/loyaltytier" (HTTP-POST) If an existing LoyaltyTier entity has been updated, the modified entity should be sent to the relative URL: "/LoyaltyProgramService/loyaltytier/{id}" (HTTP-PUT) If an existing LoyaltyTier entity has to be deleted, the following relative URL should be called: "/LoyaltyProgramService/loyaltytier/{id}" (HTTP-DELETE) 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/tier/{id}"
Copy prompt
Overview
Summary
Services
Contact
Donate
About
Imprint