Overview
Summary
Contact
Donate
Imprint
Prompt for the
PlaybackSessionView
Please create a React-JS view called "PlaybackSessionView" for the fields of the PlaybackSession entity. The PlaybackSessionView must contain the following fields: - name: ContentTitle type: ContentTitle - name: Device type: Device - name: DurationSeconds type: LONG - name: EndedAt type: DATE - name: StartedAt type: DATE - name: UserProfile type: UserProfile - name: WasCompleted type: BOOL The data source for the [UserProfile] select control should be loaded from the relative URL: "/UserProfileService/userprofile" (HTTP-GET) The data source for the [Device] select control should be loaded from the relative URL: "/DeviceService/device" (HTTP-GET) The data source for the [ContentTitle] select control should be loaded from the relative URL: "/ContentTitleService/contenttitle" (HTTP-GET) An existing PlaybackSession entity should be loaded from the relative URL: "/DeviceService/playbacksession/{id}" (HTTP-GET) If a new PlaybackSession entity has been created, the new entity should be posted to the relative URL: "/DeviceService/playbacksession" (HTTP-POST) If an existing PlaybackSession entity has been updated, the modified entity should be sent to the relative URL: "/DeviceService/playbacksession/{id}" (HTTP-PUT) If an existing PlaybackSession entity has to be deleted, the following relative URL should be called: "/DeviceService/playbacksession/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint