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: Listing type: Listing The data source for the [Listing] select control should be loaded from the relative URL: "/ListingService/listing" (HTTP-GET) 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: MessageType - column: Sender - column: SentAt - column: IsSystemMessage - column: Body - column: MessageThread 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}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint