Overview
Summary
Contact
Donate
Imprint
Prompt for the
VoiceCallView
Please create a React-JS view called "VoiceCallView" for the fields of the VoiceCall entity. The VoiceCallView must contain the following fields: - name: CallType type: STRING - name: Chat type: Chat - name: Codec type: STRING - name: EndedAt type: DATE - name: InitiatorUserAccount type: UserAccount - name: IsGroupCall type: BOOL - name: IsRecorded type: BOOL - name: MaxParticipants type: LONG - name: StartedAt type: DATE The data source for the [Chat] select control should be loaded from the relative URL: "/ChatService/chat" (HTTP-GET) The data source for the [InitiatorUserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing VoiceCall entity should be loaded from the relative URL: "/VoiceCallService/voicecall/{id}" (HTTP-GET) If a new VoiceCall entity has been created, the new entity should be posted to the relative URL: "/VoiceCallService/voicecall" (HTTP-POST) If an existing VoiceCall entity has been updated, the modified entity should be sent to the relative URL: "/VoiceCallService/voicecall/{id}" (HTTP-PUT) If an existing VoiceCall entity has to be deleted, the following relative URL should be called: "/VoiceCallService/voicecall/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CallParticipant columns: - column: LeftAt - column: UserAccount - column: JoinedAt - column: VoiceCall - column: ConnectionQuality The table should have the title "CallParticipants" und the data must be loaded from the server with the following relative URL: "/VoiceCallService/callparticipant/voicecall/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint