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: AppVersion type: AppVersion - name: CreatedAt type: DATE - name: DeviceModel type: STRING - name: IsPrimary type: BOOL - name: LastSeenAt type: DATE - name: OsVersion type: STRING - name: PlatformSupport type: PlatformSupport - name: UserAccount type: UserAccount The data source for the [AppVersion] select control should be loaded from the relative URL: "/UserDeviceService/appversion" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) The data source for the [PlatformSupport] select control should be loaded from the relative URL: "/UserDeviceService/platformsupport" (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 EncryptionKey columns: - column: RevokedAt - column: UserAccount - column: UserDevice - column: KeyType - column: PublicKey - column: CreatedAt The table should have the title "EncryptionKeys" und the data must be loaded from the server with the following relative URL: "/UserDeviceService/encryptionkey/userdevice/{id}" Add a HTML table to the view with the following LoginSession columns: - column: UserDevice - column: UserAccount - column: LoggedInAt - column: IpAddress - column: LoginMethod - column: LoggedOutAt - column: IsActive The table should have the title "LoginSessions" und the data must be loaded from the server with the following relative URL: "/VoiceCallService/loginsession/userdevice/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint