Overview
Summary
Contact
Donate
Imprint
Prompt for the
MessageThreadView
Please create a React-JS view called "MessageThreadView" for the fields of the MessageThread entity. The MessageThreadView must contain the following fields: - name: CreatedAt type: DATE - name: Subject type: STRING An existing MessageThread entity should be loaded from the relative URL: "/MessageThreadService/messagethread/{id}" (HTTP-GET) If a new MessageThread entity has been created, the new entity should be posted to the relative URL: "/MessageThreadService/messagethread" (HTTP-POST) If an existing MessageThread entity has been updated, the modified entity should be sent to the relative URL: "/MessageThreadService/messagethread/{id}" (HTTP-PUT) If an existing MessageThread entity has to be deleted, the following relative URL should be called: "/MessageThreadService/messagethread/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Message columns: - column: Body - column: MessageThread - column: SentAt - column: IsRead - column: IsDeleted - column: ReadAt - column: SenderUser The table should have the title "Messages" und the data must be loaded from the server with the following relative URL: "/MessageThreadService/message/messagethread/{id}" Add a HTML table to the view with the following MessageParticipant columns: - column: IsMuted - column: MessageThread - column: User - column: JoinedAt - column: IsArchived The table should have the title "MessageParticipants" und the data must be loaded from the server with the following relative URL: "/MessageThreadService/messageparticipant/messagethread/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint