Overview
Summary
Contact
Donate
Imprint
Prompt for the
WatchlistView
Please create a React-JS view called "WatchlistView" for the fields of the Watchlist entity. The WatchlistView must contain the following fields: - name: CreatedAt type: DATE - name: Description type: STRING - name: IsDefault type: BOOL - name: Name type: STRING - name: UpdatedAt type: DATE - name: UserAccount type: UserAccount The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Watchlist entity should be loaded from the relative URL: "/UserAccountService/watchlist/{id}" (HTTP-GET) If a new Watchlist entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/watchlist" (HTTP-POST) If an existing Watchlist entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/watchlist/{id}" (HTTP-PUT) If an existing Watchlist entity has to be deleted, the following relative URL should be called: "/UserAccountService/watchlist/{id}" (HTTP-DELETE) Add a HTML table to the view with the following WatchlistItem columns: - column: Title - column: Position - column: AddedAt - column: Notes - column: Watchlist The table should have the title "WatchlistItems" und the data must be loaded from the server with the following relative URL: "/UserAccountService/watchlistitem/watchlist/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint