Overview
Summary
Contact
Donate
Imprint
Prompt for the
PodcastEpisodeView
Please create a React-JS view called "PodcastEpisodeView" for the fields of the PodcastEpisode entity. The PodcastEpisodeView must contain the following fields: - name: Description type: STRING - name: DurationSeconds type: LONG - name: HasMusic type: BOOL - name: Podcast type: Podcast - name: ReleaseDate type: DATE - name: Title type: STRING The data source for the [Podcast] select control should be loaded from the relative URL: "/CompanyEntityService/podcast" (HTTP-GET) An existing PodcastEpisode entity should be loaded from the relative URL: "/TrackService/podcastepisode/{id}" (HTTP-GET) If a new PodcastEpisode entity has been created, the new entity should be posted to the relative URL: "/TrackService/podcastepisode" (HTTP-POST) If an existing PodcastEpisode entity has been updated, the modified entity should be sent to the relative URL: "/TrackService/podcastepisode/{id}" (HTTP-PUT) If an existing PodcastEpisode entity has to be deleted, the following relative URL should be called: "/TrackService/podcastepisode/{id}" (HTTP-DELETE) Add a HTML table to the view with the following StreamEvent columns: - column: Track - column: PodcastEpisode - column: SubscriptionPlan - column: StartedAt - column: Country - column: IsCountedForRoyalty - column: UserAccount - column: DurationSeconds The table should have the title "StreamEvents" und the data must be loaded from the server with the following relative URL: "/TrackService/streamevent/podcastepisode/{id}" Add a HTML table to the view with the following PlaylistItem columns: - column: AddedAt - column: Track - column: AddedByUser - column: PodcastEpisode - column: Playlist - column: SortOrder The table should have the title "PlaylistItems" und the data must be loaded from the server with the following relative URL: "/PlaylistService/playlistitem/podcastepisode/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint