Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EquipmentTypeView
Please create a React-JS view called "EquipmentTypeView" for the fields of the EquipmentType entity. The EquipmentTypeView must contain the following fields: - name: Description type: STRING - name: Details type: STRING An existing EquipmentType entity should be loaded from the relative URL: "/RoomService/equipmenttype/{id}" (HTTP-GET) If a new EquipmentType entity has been created, the new entity should be posted to the relative URL: "/RoomService/equipmenttype" (HTTP-POST) If an existing EquipmentType entity has been updated, the modified entity should be sent to the relative URL: "/RoomService/equipmenttype/{id}" (HTTP-PUT) If an existing EquipmentType entity has to be deleted, the following relative URL should be called: "/RoomService/equipmenttype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Equipment columns: - column: Price - column: Room - column: EquipmentType The table should have the title "Equipments" und the data must be loaded from the server with the following relative URL: "/RoomService/equipment/equipmenttype/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum