Overview
Summary
Contact
Donate
Imprint
Prompt for the
DeviceView
Please create a React-JS view called "DeviceView" for the fields of the Device entity. The DeviceView must contain the following fields: - name: AppVersion type: STRING - name: CreatedAt type: STRING - name: DeviceType type: STRING - name: LastActiveAt type: STRING - name: Os type: STRING - name: User type: UserAccount The data source for the [User] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Device entity should be loaded from the relative URL: "/UserAccountService/device/{id}" (HTTP-GET) If a new Device entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/device" (HTTP-POST) If an existing Device entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/device/{id}" (HTTP-PUT) If an existing Device entity has to be deleted, the following relative URL should be called: "/UserAccountService/device/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Session columns: - column: IpAddress - column: EndedAt - column: StartedAt - column: IsActive - column: Device - column: UserAgent - column: User The table should have the title "Sessions" und the data must be loaded from the server with the following relative URL: "/UserAccountService/session/device/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint