Overview
Summary
Contact
Donate
Imprint
Prompt for the
EpisodeView
Please create a React-JS view called "EpisodeView" for the fields of the Episode entity. The EpisodeView must contain the following fields: - name: EpisodeNumber type: LONG - name: Name type: STRING - name: ReleaseDate type: DATE - name: RuntimeMinutes type: LONG - name: Season type: Season - name: Synopsis type: STRING - name: Title type: Title The data source for the [Title] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) The data source for the [Season] select control should be loaded from the relative URL: "/SeasonService/season" (HTTP-GET) An existing Episode entity should be loaded from the relative URL: "/EpisodeService/episode/{id}" (HTTP-GET) If a new Episode entity has been created, the new entity should be posted to the relative URL: "/EpisodeService/episode" (HTTP-POST) If an existing Episode entity has been updated, the modified entity should be sent to the relative URL: "/EpisodeService/episode/{id}" (HTTP-PUT) If an existing Episode entity has to be deleted, the following relative URL should be called: "/EpisodeService/episode/{id}" (HTTP-DELETE) Add a HTML table to the view with the following WatchHistory columns: - column: Episode - column: Profile - column: StartedAt - column: ProgressPercent - column: Season - column: CompletedAt - column: Title - column: LastPositionSeconds The table should have the title "WatchHistorys" und the data must be loaded from the server with the following relative URL: "/ProfileService/watchhistory/episode/{id}" Add a HTML table to the view with the following PlaybackSession columns: - column: IsLive - column: Season - column: Title - column: Profile - column: Episode - column: EndedAt - column: PlaybackType - column: Device - column: StartedAt The table should have the title "PlaybackSessions" und the data must be loaded from the server with the following relative URL: "/EpisodeService/playbacksession/episode/{id}" Add a HTML table to the view with the following DownloadLicense columns: - column: Episode - column: Profile - column: Season - column: DeviceLimit - column: GrantedAt - column: IsExpired - column: ExpiresAt - column: Title The table should have the title "DownloadLicenses" und the data must be loaded from the server with the following relative URL: "/SeasonService/downloadlicense/episode/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint