Overview
Summary
Contact
Donate
Imprint
Prompt for the
SeasonView
Please create a React-JS view called "SeasonView" for the fields of the Season entity. The SeasonView must contain the following fields: - name: Name type: STRING - name: ReleaseDate type: DATE - name: SeasonNumber type: LONG - 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) An existing Season entity should be loaded from the relative URL: "/SeasonService/season/{id}" (HTTP-GET) If a new Season entity has been created, the new entity should be posted to the relative URL: "/SeasonService/season" (HTTP-POST) If an existing Season entity has been updated, the modified entity should be sent to the relative URL: "/SeasonService/season/{id}" (HTTP-PUT) If an existing Season entity has to be deleted, the following relative URL should be called: "/SeasonService/season/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Episode columns: - column: Name - column: EpisodeNumber - column: Synopsis - column: RuntimeMinutes - column: Season - column: Title - column: ReleaseDate The table should have the title "Episodes" und the data must be loaded from the server with the following relative URL: "/EpisodeService/episode/season/{id}" 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/season/{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/season/{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/season/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint