Overview
Summary
Contact
Donate
Imprint
Prompt for the
WatchHistoryView
Please create a React-JS view called "WatchHistoryView" for the fields of the WatchHistory entity. The WatchHistoryView must contain the following fields: - name: Device type: Device - name: IsAutoplay type: BOOL - name: ProgressPercent type: DOUBLE - name: Session type: UserSession - name: User type: User - name: Video type: Video - name: WatchedAt type: DATE - name: WatchTimeSeconds type: LONG The data source for the [User] select control should be loaded from the relative URL: "/UserService/user" (HTTP-GET) The data source for the [Device] select control should be loaded from the relative URL: "/DeviceService/device" (HTTP-GET) The data source for the [Video] select control should be loaded from the relative URL: "/VideoService/video" (HTTP-GET) The data source for the [Session] select control should be loaded from the relative URL: "/DeviceService/usersession" (HTTP-GET) An existing WatchHistory entity should be loaded from the relative URL: "/VideoService/watchhistory/{id}" (HTTP-GET) If a new WatchHistory entity has been created, the new entity should be posted to the relative URL: "/VideoService/watchhistory" (HTTP-POST) If an existing WatchHistory entity has been updated, the modified entity should be sent to the relative URL: "/VideoService/watchhistory/{id}" (HTTP-PUT) If an existing WatchHistory entity has to be deleted, the following relative URL should be called: "/VideoService/watchhistory/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint