Overview
Summary
Contact
Donate
Imprint
Prompt for the
UserDeviceView
Please create a React-JS view called "UserDeviceView" for the fields of the UserDevice entity. The UserDeviceView must contain the following fields: - name: DeviceFingerprint type: STRING - name: DeviceType type: STRING - name: LastSeenAt type: DATE - name: OperatingSystem type: STRING - name: Trusted type: BOOL - name: UserAccount type: UserAccount The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing UserDevice entity should be loaded from the relative URL: "/UserDeviceService/userdevice/{id}" (HTTP-GET) If a new UserDevice entity has been created, the new entity should be posted to the relative URL: "/UserDeviceService/userdevice" (HTTP-POST) If an existing UserDevice entity has been updated, the modified entity should be sent to the relative URL: "/UserDeviceService/userdevice/{id}" (HTTP-PUT) If an existing UserDevice entity has to be deleted, the following relative URL should be called: "/UserDeviceService/userdevice/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UserLoginSession columns: - column: ExpiresAt - column: SessionToken - column: CreatedAt - column: UserAgent - column: UserDevice - column: Status - column: UserAccount - column: IpAddress The table should have the title "UserLoginSessions" und the data must be loaded from the server with the following relative URL: "/UserDeviceService/userloginsession/userdevice/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint