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: Booking type: Booking - name: Comment type: STRING - name: CreatedAt type: DATE - name: RatingCleanliness type: DOUBLE - name: RatingCommunication type: DOUBLE - name: RatingLocation type: DOUBLE - name: RatingOverall type: DOUBLE - name: RatingValue type: DOUBLE - name: Reviewee type: LONG - name: Reviewer type: LONG - name: ReviewType type: STRING The data source for the [Booking] select control should be loaded from the relative URL: "/BookingService/booking" (HTTP-GET) An existing Review entity should be loaded from the relative URL: "/MarketService/review/{id}" (HTTP-GET) If a new Review entity has been created, the new entity should be posted to the relative URL: "/MarketService/review" (HTTP-POST) If an existing Review entity has been updated, the modified entity should be sent to the relative URL: "/MarketService/review/{id}" (HTTP-PUT) If an existing Review entity has to be deleted, the following relative URL should be called: "/MarketService/review/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint