Overview
Summary
Contact
Donate
Imprint
Prompt for the
VoiceSessionView
Please create a React-JS view called "VoiceSessionView" for the fields of the VoiceSession entity. The VoiceSessionView must contain the following fields: - name: Channel type: Channel - name: EndedAt type: DATE - name: StartedAt type: DATE The data source for the [Channel] select control should be loaded from the relative URL: "/UserAccountService/channel" (HTTP-GET) An existing VoiceSession entity should be loaded from the relative URL: "/VoiceSessionService/voicesession/{id}" (HTTP-GET) If a new VoiceSession entity has been created, the new entity should be posted to the relative URL: "/VoiceSessionService/voicesession" (HTTP-POST) If an existing VoiceSession entity has been updated, the modified entity should be sent to the relative URL: "/VoiceSessionService/voicesession/{id}" (HTTP-PUT) If an existing VoiceSession entity has to be deleted, the following relative URL should be called: "/VoiceSessionService/voicesession/{id}" (HTTP-DELETE) Add a HTML table to the view with the following VoiceParticipant columns: - column: User - column: VoiceSession - column: IsMuted - column: JoinedAt - column: LeftAt - column: IsDeafened The table should have the title "VoiceParticipants" und the data must be loaded from the server with the following relative URL: "/VoiceSessionService/voiceparticipant/voicesession/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint