Overview
Summary
Contact
Donate
Imprint
Prompt for the
DeviceApp
Please create a React-JS application for the DeviceModule. The application has to offer the following views for the user interface: 1. DeviceView 2. DeviceTypeView 3. PlatformAppView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The DeviceView must contain the following fields: - name: DeviceType type: DeviceType - name: IsSpotifyConnectCapable type: BOOL - name: ModelName type: STRING - name: PlatformApp type: PlatformApp - name: RegisteredAt type: DATE - name: UserAccount type: UserAccount The data source for the [DeviceType] select control should be loaded from the relative URL: "/DeviceService/devicetype" (HTTP-GET) The data source for the [PlatformApp] select control should be loaded from the relative URL: "/DeviceService/platformapp" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Device entity should be loaded from the relative URL: "/DeviceService/device/{id}" (HTTP-GET) If a new Device entity has been created, the new entity should be posted to the relative URL: "/DeviceService/device" (HTTP-POST) If an existing Device entity has been updated, the modified entity should be sent to the relative URL: "/DeviceService/device/{id}" (HTTP-PUT) If an existing Device entity has to be deleted, the following relative URL should be called: "/DeviceService/device/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SmartDeviceIntegration columns: - column: SupportsVoice - column: PartnerCompany - column: DeviceType - column: SupportsSpotifyConnect The table should have the title "SmartDeviceIntegrations" und the data must be loaded from the server with the following relative URL: "/PartnerCompanyService/smartdeviceintegration/devicetype/{id}" 2. The DeviceTypeView must contain the following fields: - name: Category type: STRING - name: Name type: STRING An existing DeviceType entity should be loaded from the relative URL: "/DeviceService/devicetype/{id}" (HTTP-GET) If a new DeviceType entity has been created, the new entity should be posted to the relative URL: "/DeviceService/devicetype" (HTTP-POST) If an existing DeviceType entity has been updated, the modified entity should be sent to the relative URL: "/DeviceService/devicetype/{id}" (HTTP-PUT) If an existing DeviceType entity has to be deleted, the following relative URL should be called: "/DeviceService/devicetype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Device columns: - column: IsSpotifyConnectCapable - column: ModelName - column: PlatformApp - column: DeviceType - column: UserAccount - column: RegisteredAt The table should have the title "Devices" und the data must be loaded from the server with the following relative URL: "/DeviceService/device/devicetype/{id}" 3. The PlatformAppView must contain the following fields: - name: Category type: STRING - name: MinVersion type: STRING - name: Name type: STRING - name: ProgrammingLanguage type: STRING An existing PlatformApp entity should be loaded from the relative URL: "/DeviceService/platformapp/{id}" (HTTP-GET) If a new PlatformApp entity has been created, the new entity should be posted to the relative URL: "/DeviceService/platformapp" (HTTP-POST) If an existing PlatformApp entity has been updated, the modified entity should be sent to the relative URL: "/DeviceService/platformapp/{id}" (HTTP-PUT) If an existing PlatformApp entity has to be deleted, the following relative URL should be called: "/DeviceService/platformapp/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Device columns: - column: IsSpotifyConnectCapable - column: ModelName - column: PlatformApp - column: DeviceType - column: UserAccount - column: RegisteredAt The table should have the title "Devices" und the data must be loaded from the server with the following relative URL: "/DeviceService/device/platformapp/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint