Overview
Summary
Contact
Donate
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: Code type: STRING - name: Description type: STRING - name: Name type: STRING An existing LoyaltyProgram entity should be loaded from the relative URL: "/UserAccountService/loyaltyprogram/{id}" (HTTP-GET) If a new LoyaltyProgram entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/loyaltyprogram" (HTTP-POST) If an existing LoyaltyProgram entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/loyaltyprogram/{id}" (HTTP-PUT) If an existing LoyaltyProgram entity has to be deleted, the following relative URL should be called: "/UserAccountService/loyaltyprogram/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UserLoyaltyStatus columns: - column: UserAccount - column: LoyaltyProgram - column: LevelCode - column: EarnedAt - column: ExpiresAt - column: LevelName The table should have the title "UserLoyaltyStatuss" und the data must be loaded from the server with the following relative URL: "/UserAccountService/userloyaltystatus/loyaltyprogram/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint