Overview
Summary
Contact
Donate
Imprint
Prompt for the
SpaceView
Please create a React-JS view called "SpaceView" for the fields of the Space entity. The SpaceView must contain the following fields: - name: CreatedAt type: STRING - name: CreatorUser type: UserAccount - name: Description type: STRING - name: EndedAt type: STRING - name: IsRecorded type: BOOL - name: Language type: STRING - name: ScheduledStart type: STRING - name: StartedAt type: STRING - name: Title type: STRING The data source for the [CreatorUser] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Space entity should be loaded from the relative URL: "/SpaceService/space/{id}" (HTTP-GET) If a new Space entity has been created, the new entity should be posted to the relative URL: "/SpaceService/space" (HTTP-POST) If an existing Space entity has been updated, the modified entity should be sent to the relative URL: "/SpaceService/space/{id}" (HTTP-PUT) If an existing Space entity has to be deleted, the following relative URL should be called: "/SpaceService/space/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SpaceParticipant columns: - column: User - column: Space - column: LeftAt - column: JoinedAt - column: Role The table should have the title "SpaceParticipants" und the data must be loaded from the server with the following relative URL: "/SpaceService/spaceparticipant/space/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint