Overview
Summary
Contact
Donate
Imprint
Prompt for the
TrackView
Please create a React-JS view called "TrackView" for the fields of the Track entity. The TrackView must contain the following fields: - name: Album type: Album - name: DurationSeconds type: LONG - name: IsExplicit type: BOOL - name: IsPodcastMusic type: BOOL - name: Title type: STRING The data source for the [Album] select control should be loaded from the relative URL: "/TrackService/album" (HTTP-GET) An existing Track entity should be loaded from the relative URL: "/TrackService/track/{id}" (HTTP-GET) If a new Track entity has been created, the new entity should be posted to the relative URL: "/TrackService/track" (HTTP-POST) If an existing Track entity has been updated, the modified entity should be sent to the relative URL: "/TrackService/track/{id}" (HTTP-PUT) If an existing Track entity has to be deleted, the following relative URL should be called: "/TrackService/track/{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/track/{id}" Add a HTML table to the view with the following RoyaltyLine columns: - column: StreamsCount - column: RoyaltyRecipient - column: AmountUsd - column: AmountEur - column: Track - column: RoyaltyStatement - column: SharePercent The table should have the title "RoyaltyLines" und the data must be loaded from the server with the following relative URL: "/MarketRegionService/royaltyline/track/{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/track/{id}" Add a HTML table to the view with the following TrackArtist columns: - column: Role - column: Artist - column: SortOrder - column: Track The table should have the title "TrackArtists" und the data must be loaded from the server with the following relative URL: "/TrackService/trackartist/track/{id}" Add a HTML table to the view with the following TrackLabel columns: - column: Label - column: Track The table should have the title "TrackLabels" und the data must be loaded from the server with the following relative URL: "/CountryService/tracklabel/track/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint