Overview
Summary
Contact
Donate
Imprint
Prompt for the
RoyaltyRecipientView
Please create a React-JS view called "RoyaltyRecipientView" for the fields of the RoyaltyRecipient entity. The RoyaltyRecipientView must contain the following fields: - name: Artist type: Artist - name: Label type: Label - name: NameOverride type: STRING - name: Type type: STRING The data source for the [Artist] select control should be loaded from the relative URL: "/TrackService/artist" (HTTP-GET) The data source for the [Label] select control should be loaded from the relative URL: "/CountryService/label" (HTTP-GET) An existing RoyaltyRecipient entity should be loaded from the relative URL: "/CountryService/royaltyrecipient/{id}" (HTTP-GET) If a new RoyaltyRecipient entity has been created, the new entity should be posted to the relative URL: "/CountryService/royaltyrecipient" (HTTP-POST) If an existing RoyaltyRecipient entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/royaltyrecipient/{id}" (HTTP-PUT) If an existing RoyaltyRecipient entity has to be deleted, the following relative URL should be called: "/CountryService/royaltyrecipient/{id}" (HTTP-DELETE) 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/royaltyrecipient/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint