Overview
Summary
Contact
Donate
Imprint
Prompt for the
ReviewView
Please create a React-JS view called "ReviewView" for the fields of the Review entity. The ReviewView must contain the following fields: - name: AirportTransferProduct type: INT - name: Attraction type: INT - name: Booking type: Booking - name: CarRentalProduct type: INT - name: CreatedAt type: DATE - name: IsPublic type: BOOL - name: Language type: Language - name: OverallScore type: STRING - name: Property type: Property - name: Text type: STRING - name: Title type: STRING - name: UserAccount type: UserAccount The data source for the [Language] select control should be loaded from the relative URL: "/LanguageService/language" (HTTP-GET) The data source for the [Booking] select control should be loaded from the relative URL: "/BookingService/booking" (HTTP-GET) The data source for the [Property] select control should be loaded from the relative URL: "/PropertyService/property" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Review entity should be loaded from the relative URL: "/LanguageService/review/{id}" (HTTP-GET) If a new Review entity has been created, the new entity should be posted to the relative URL: "/LanguageService/review" (HTTP-POST) If an existing Review entity has been updated, the modified entity should be sent to the relative URL: "/LanguageService/review/{id}" (HTTP-PUT) If an existing Review entity has to be deleted, the following relative URL should be called: "/LanguageService/review/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ReviewScore columns: - column: Score - column: ReviewAspect - column: Review The table should have the title "ReviewScores" und the data must be loaded from the server with the following relative URL: "/LanguageService/reviewscore/review/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint