Overview
Summary
Contact
Donate
Imprint
Prompt for the
DeviceView
Please create a React-JS view called "DeviceView" for the fields of the Device entity. The DeviceView must contain the following fields: - name: AppVersion type: STRING - name: DeviceType type: STRING - name: LastActiveAt type: STRING - name: Manufacturer type: STRING - name: Model type: STRING - name: OsName type: STRING - name: OsVersion type: STRING - name: RegisteredAt 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 Device entity should be loaded from the relative URL: "/EpisodeService/device/{id}" (HTTP-GET) If a new Device entity has been created, the new entity should be posted to the relative URL: "/EpisodeService/device" (HTTP-POST) If an existing Device entity has been updated, the modified entity should be sent to the relative URL: "/EpisodeService/device/{id}" (HTTP-PUT) If an existing Device entity has to be deleted, the following relative URL should be called: "/EpisodeService/device/{id}" (HTTP-DELETE) 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/device/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint