Overview
Summary
Contact
Donate
Imprint
Prompt for the
DirectThreadView
Please create a React-JS view called "DirectThreadView" for the fields of the DirectThread entity. The DirectThreadView must contain the following fields: - name: CreatedAt type: DATE - name: IsGroup type: BOOL - name: Title type: STRING An existing DirectThread entity should be loaded from the relative URL: "/DirectThreadService/directthread/{id}" (HTTP-GET) If a new DirectThread entity has been created, the new entity should be posted to the relative URL: "/DirectThreadService/directthread" (HTTP-POST) If an existing DirectThread entity has been updated, the modified entity should be sent to the relative URL: "/DirectThreadService/directthread/{id}" (HTTP-PUT) If an existing DirectThread entity has to be deleted, the following relative URL should be called: "/DirectThreadService/directthread/{id}" (HTTP-DELETE) Add a HTML table to the view with the following DirectMessage columns: - column: Reel - column: MediaUrl - column: Post - column: Sender - column: Story - column: ReplyToMessage - column: DirectThread - column: SeenAt - column: CreatedAt - column: Text - column: MessageType - column: IsSeen The table should have the title "DirectMessages" und the data must be loaded from the server with the following relative URL: "/DirectThreadService/directmessage/directthread/{id}" Add a HTML table to the view with the following DirectThreadParticipant columns: - column: UserAccount - column: DirectThread - column: JoinedAt - column: IsAdmin The table should have the title "DirectThreadParticipants" und the data must be loaded from the server with the following relative URL: "/UserAccountService/directthreadparticipant/directthread/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint