Overview
Summary
Contact
Donate
Imprint
Prompt for the
DeviceTypeView
Please create a React-JS view called "DeviceTypeView" for the fields of the DeviceType entity. 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}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint