Overview
Summary
Contact
Donate
Imprint
Prompt for the
RoyaltyStatementView
Please create a React-JS view called "RoyaltyStatementView" for the fields of the RoyaltyStatement entity. The RoyaltyStatementView must contain the following fields: - name: MarketRegion type: MarketRegion - name: PeriodEnd type: DATE - name: PeriodStart type: DATE - name: RevenueAds type: DOUBLE - name: RevenueSubscriptions type: DOUBLE - name: TotalStreams type: LONG The data source for the [MarketRegion] select control should be loaded from the relative URL: "/MarketRegionService/marketregion" (HTTP-GET) An existing RoyaltyStatement entity should be loaded from the relative URL: "/MarketRegionService/royaltystatement/{id}" (HTTP-GET) If a new RoyaltyStatement entity has been created, the new entity should be posted to the relative URL: "/MarketRegionService/royaltystatement" (HTTP-POST) If an existing RoyaltyStatement entity has been updated, the modified entity should be sent to the relative URL: "/MarketRegionService/royaltystatement/{id}" (HTTP-PUT) If an existing RoyaltyStatement entity has to be deleted, the following relative URL should be called: "/MarketRegionService/royaltystatement/{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/royaltystatement/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint