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