Overview
Summary
Contact
Donate
Imprint
Prompt for the
DirectMessageConversationView
Please create a React-JS view called "DirectMessageConversationView" for the fields of the DirectMessageConversation entity. The DirectMessageConversationView must contain the following fields: - name: CreatedAt type: STRING - name: CreatorUser type: UserAccount - name: IsGroup type: BOOL The data source for the [CreatorUser] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing DirectMessageConversation entity should be loaded from the relative URL: "/DirectMessageConversationService/directmessageconversation/{id}" (HTTP-GET) If a new DirectMessageConversation entity has been created, the new entity should be posted to the relative URL: "/DirectMessageConversationService/directmessageconversation" (HTTP-POST) If an existing DirectMessageConversation entity has been updated, the modified entity should be sent to the relative URL: "/DirectMessageConversationService/directmessageconversation/{id}" (HTTP-PUT) If an existing DirectMessageConversation entity has to be deleted, the following relative URL should be called: "/DirectMessageConversationService/directmessageconversation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following DirectMessage columns: - column: SenderUser - column: CreatedAt - column: IsDeleted - column: Conversation - column: Content The table should have the title "DirectMessages" und the data must be loaded from the server with the following relative URL: "/DirectMessageConversationService/directmessage/conversation/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint