Overview
Summary
Contact
Donate
Imprint
Prompt for the
MessageView
Please create a React-JS view called "MessageView" for the fields of the Message entity. The MessageView must contain the following fields: - name: Body type: STRING - name: IsDeleted type: BOOL - name: IsRead type: BOOL - name: MessageThread type: MessageThread - name: ReadAt type: DATE - name: SenderUser type: UserAccount - name: SentAt type: DATE The data source for the [SenderUser] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) The data source for the [MessageThread] select control should be loaded from the relative URL: "/MessageThreadService/messagethread" (HTTP-GET) An existing Message entity should be loaded from the relative URL: "/MessageThreadService/message/{id}" (HTTP-GET) If a new Message entity has been created, the new entity should be posted to the relative URL: "/MessageThreadService/message" (HTTP-POST) If an existing Message entity has been updated, the modified entity should be sent to the relative URL: "/MessageThreadService/message/{id}" (HTTP-PUT) If an existing Message entity has to be deleted, the following relative URL should be called: "/MessageThreadService/message/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint