Overview
Summary
Contact
Donate
Imprint
Prompt for the
ProfileView
Please create a React-JS view called "ProfileView" for the fields of the Profile entity. The ProfileView must contain the following fields: - name: AvatarUrl type: STRING - name: CreatedAt type: STRING - name: IsKidsProfile type: BOOL - name: Name type: STRING - name: User type: User The data source for the [User] select control should be loaded from the relative URL: "/UserService/user" (HTTP-GET) An existing Profile entity should be loaded from the relative URL: "/ProfileService/profile/{id}" (HTTP-GET) If a new Profile entity has been created, the new entity should be posted to the relative URL: "/ProfileService/profile" (HTTP-POST) If an existing Profile entity has been updated, the modified entity should be sent to the relative URL: "/ProfileService/profile/{id}" (HTTP-PUT) If an existing Profile entity has to be deleted, the following relative URL should be called: "/ProfileService/profile/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UserRating columns: - column: RatedAt - column: Profile - column: RatingValue - column: Title The table should have the title "UserRatings" und the data must be loaded from the server with the following relative URL: "/VideoFormatService/userrating/profile/{id}" Add a HTML table to the view with the following WatchHistory columns: - column: Episode - column: Profile - column: StartedAt - column: ProgressPercent - column: Season - column: CompletedAt - column: Title - column: LastPositionSeconds The table should have the title "WatchHistorys" und the data must be loaded from the server with the following relative URL: "/ProfileService/watchhistory/profile/{id}" Add a HTML table to the view with the following PlaybackSession columns: - column: IsLive - column: Season - column: Title - column: Profile - column: Episode - column: EndedAt - column: PlaybackType - column: Device - column: StartedAt The table should have the title "PlaybackSessions" und the data must be loaded from the server with the following relative URL: "/EpisodeService/playbacksession/profile/{id}" Add a HTML table to the view with the following WatchlistItem columns: - column: Profile - column: AddedAt - column: Title The table should have the title "WatchlistItems" und the data must be loaded from the server with the following relative URL: "/ProfileService/watchlistitem/profile/{id}" Add a HTML table to the view with the following DownloadLicense columns: - column: Episode - column: Profile - column: Season - column: DeviceLimit - column: GrantedAt - column: IsExpired - column: ExpiresAt - column: Title The table should have the title "DownloadLicenses" und the data must be loaded from the server with the following relative URL: "/SeasonService/downloadlicense/profile/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint