Overview
Summary
Contact
Donate
Imprint
Prompt for the
ChannelView
Please create a React-JS view called "ChannelView" for the fields of the Channel entity. The ChannelView must contain the following fields: - name: Description type: STRING - name: IsLive type: BOOL - name: Name type: STRING - name: ProviderCompany type: Company - name: Website type: STRING The data source for the [ProviderCompany] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Channel entity should be loaded from the relative URL: "/ChannelService/channel/{id}" (HTTP-GET) If a new Channel entity has been created, the new entity should be posted to the relative URL: "/ChannelService/channel" (HTTP-POST) If an existing Channel entity has been updated, the modified entity should be sent to the relative URL: "/ChannelService/channel/{id}" (HTTP-PUT) If an existing Channel entity has to be deleted, the following relative URL should be called: "/ChannelService/channel/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ChannelSubscription columns: - column: StartDate - column: Channel - column: User - column: EndDate - column: AutoRenew - column: Status The table should have the title "ChannelSubscriptions" und the data must be loaded from the server with the following relative URL: "/DrmSchemeService/channelsubscription/channel/{id}" Add a HTML table to the view with the following LiveProgram columns: - column: IsSportsEvent - column: Channel - column: EndTime - column: Title - column: SportsEvent - column: StartTime The table should have the title "LivePrograms" und the data must be loaded from the server with the following relative URL: "/ChannelService/liveprogram/channel/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint