Overview
Summary
Contact
Donate
Imprint
Prompt for the
SavedCollectionView
Please create a React-JS view called "SavedCollectionView" for the fields of the SavedCollection entity. The SavedCollectionView must contain the following fields: - name: CreatedAt type: DATE - name: Name type: STRING - 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 SavedCollection entity should be loaded from the relative URL: "/SavedCollectionService/savedcollection/{id}" (HTTP-GET) If a new SavedCollection entity has been created, the new entity should be posted to the relative URL: "/SavedCollectionService/savedcollection" (HTTP-POST) If an existing SavedCollection entity has been updated, the modified entity should be sent to the relative URL: "/SavedCollectionService/savedcollection/{id}" (HTTP-PUT) If an existing SavedCollection entity has to be deleted, the following relative URL should be called: "/SavedCollectionService/savedcollection/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SavedCollectionItem columns: - column: SavedCollection - column: Post - column: AddedAt The table should have the title "SavedCollectionItems" und the data must be loaded from the server with the following relative URL: "/SavedCollectionService/savedcollectionitem/savedcollection/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint