Overview
Summary
Contact
Donate
Imprint
Prompt for the
DeviceView
Please create a React-JS view called "DeviceView" for the fields of the Device entity. The DeviceView must contain the following fields: - name: Browser type: STRING - name: CreatedAt type: DATE - name: Name type: STRING - name: Os type: STRING - name: Type type: STRING An existing Device entity should be loaded from the relative URL: "/DeviceService/device/{id}" (HTTP-GET) If a new Device entity has been created, the new entity should be posted to the relative URL: "/DeviceService/device" (HTTP-POST) If an existing Device entity has been updated, the modified entity should be sent to the relative URL: "/DeviceService/device/{id}" (HTTP-PUT) If an existing Device entity has to be deleted, the following relative URL should be called: "/DeviceService/device/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AdImpression columns: - column: Video - column: Ad - column: RevenueMicros - column: ClickedAt - column: User - column: ImpressionAt - column: Device The table should have the title "AdImpressions" und the data must be loaded from the server with the following relative URL: "/UserService/adimpression/device/{id}" Add a HTML table to the view with the following UserSession columns: - column: IpAddress - column: RevokedAt - column: CreatedAt - column: User - column: Device - column: UserAgent - column: ExpiresAt The table should have the title "UserSessions" und the data must be loaded from the server with the following relative URL: "/DeviceService/usersession/device/{id}" Add a HTML table to the view with the following WatchHistory columns: - column: WatchTimeSeconds - column: Device - column: Video - column: ProgressPercent - column: IsAutoplay - column: WatchedAt - column: User - column: Session The table should have the title "WatchHistorys" und the data must be loaded from the server with the following relative URL: "/VideoService/watchhistory/device/{id}" Add a HTML table to the view with the following VideoView columns: - column: WatchedAt - column: WatchTimeSeconds - column: IsUniqueSession - column: Country - column: Device - column: Video - column: Session - column: User - column: ReferrerType The table should have the title "VideoViews" und the data must be loaded from the server with the following relative URL: "/DeviceService/videoview/device/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint