Overview
Summary
Contact
Donate
Imprint
Prompt for the
UserProfileView
Please create a React-JS view called "UserProfileView" for the fields of the UserProfile entity. The UserProfileView must contain the following fields: - name: CreatedAt type: DATE - name: MaturityLevel type: STRING - name: Name type: STRING - name: UserAccount type: UserAccount The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserProfileService/useraccount" (HTTP-GET) An existing UserProfile entity should be loaded from the relative URL: "/UserProfileService/userprofile/{id}" (HTTP-GET) If a new UserProfile entity has been created, the new entity should be posted to the relative URL: "/UserProfileService/userprofile" (HTTP-POST) If an existing UserProfile entity has been updated, the modified entity should be sent to the relative URL: "/UserProfileService/userprofile/{id}" (HTTP-PUT) If an existing UserProfile entity has to be deleted, the following relative URL should be called: "/UserProfileService/userprofile/{id}" (HTTP-DELETE) Add a HTML table to the view with the following RecommendationEvent columns: - column: RatingValue - column: EventType - column: EventDate - column: UserProfile - column: ContentTitle - column: RecommendationAlgorithm The table should have the title "RecommendationEvents" und the data must be loaded from the server with the following relative URL: "/UserProfileService/recommendationevent/userprofile/{id}" Add a HTML table to the view with the following PlaybackSession columns: - column: EndedAt - column: DurationSeconds - column: UserProfile - column: ContentTitle - column: StartedAt - column: Device - column: WasCompleted The table should have the title "PlaybackSessions" und the data must be loaded from the server with the following relative URL: "/DeviceService/playbacksession/userprofile/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint