Overview
Summary
Contact
Donate
Imprint
Prompt for the
GroupView
Please create a React-JS view called "GroupView" for the fields of the Group entity. The GroupView must contain the following fields: - name: CreatedAt type: DATE - name: Description type: STRING - name: Name type: STRING - name: OwnerUser type: UserAccount - name: PictureUrl type: STRING - name: PrivacyLevel type: STRING The data source for the [OwnerUser] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Group entity should be loaded from the relative URL: "/GroupService/group/{id}" (HTTP-GET) If a new Group entity has been created, the new entity should be posted to the relative URL: "/GroupService/group" (HTTP-POST) If an existing Group entity has been updated, the modified entity should be sent to the relative URL: "/GroupService/group/{id}" (HTTP-PUT) If an existing Group entity has to be deleted, the following relative URL should be called: "/GroupService/group/{id}" (HTTP-DELETE) Add a HTML table to the view with the following GroupMember columns: - column: Role - column: User - column: InvitedByUser - column: IsApproved - column: Group - column: JoinedAt The table should have the title "GroupMembers" und the data must be loaded from the server with the following relative URL: "/GroupService/groupmember/group/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint