Overview
Summary
Contact
Donate
Imprint
Prompt for the
ConversationView
Please create a React-JS view called "ConversationView" for the fields of the Conversation entity. The ConversationView must contain the following fields: - name: CreatedAt type: DATE - name: GroupChat type: GroupChat - name: Type type: STRING - name: UpdatedAt type: DATE - name: UserAccountA type: UserAccount - name: UserAccountB type: UserAccount The data source for the [GroupChat] select control should be loaded from the relative URL: "/ConversationService/groupchat" (HTTP-GET) The data source for the [UserAccountB] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) The data source for the [UserAccountA] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Conversation entity should be loaded from the relative URL: "/ConversationService/conversation/{id}" (HTTP-GET) If a new Conversation entity has been created, the new entity should be posted to the relative URL: "/ConversationService/conversation" (HTTP-POST) If an existing Conversation entity has been updated, the modified entity should be sent to the relative URL: "/ConversationService/conversation/{id}" (HTTP-PUT) If an existing Conversation entity has to be deleted, the following relative URL should be called: "/ConversationService/conversation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Message columns: - column: MessageType - column: SentAt - column: Conversation - column: ReplyToMessage - column: IsDeletedForSender - column: ServerReceivedAt - column: IsSystemMessage - column: Body - column: ClientMessageUuid - column: SenderUserAccount The table should have the title "Messages" und the data must be loaded from the server with the following relative URL: "/MessageService/message/conversation/{id}" Add a HTML table to the view with the following ServerLogEntry columns: - column: EventType - column: UserAccount - column: Conversation - column: LogLevel - column: Device - column: Message - column: ServerNode - column: CreatedAt The table should have the title "ServerLogEntrys" und the data must be loaded from the server with the following relative URL: "/ServerNodeService/serverlogentry/conversation/{id}" Add a HTML table to the view with the following NotificationSetting columns: - column: MutedUntil - column: UserAccount - column: UpdatedAt - column: ShowPreview - column: IsMuted - column: CreatedAt - column: CustomSound - column: Conversation The table should have the title "NotificationSettings" und the data must be loaded from the server with the following relative URL: "/ConversationService/notificationsetting/conversation/{id}" Add a HTML table to the view with the following CallDuration columns: - column: InitiatorUserAccount - column: EndedAt - column: Conversation - column: TerminationReason - column: ProtocolVersion - column: CallType - column: StartedAt The table should have the title "CallDurations" und the data must be loaded from the server with the following relative URL: "/CallDurationService/callduration/conversation/{id}" Add a HTML table to the view with the following PaymentTransaction columns: - column: CreatedAt - column: PaymentAccountFrom - column: TransactionHash - column: PaymentAccountTo - column: Conversation - column: AmountMinorUnits - column: CompletedAt - column: CurrencyCode - column: Status The table should have the title "PaymentTransactions" und the data must be loaded from the server with the following relative URL: "/PaymentAccountService/paymenttransaction/conversation/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint