Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
RepairView
Please create a React-JS view called "RepairView" for the fields of the Repair entity. The RepairView must contain the following fields: - name: RepairDate type: DATE - name: Company type: Company The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Repair entity should be loaded from the relative URL: "/CompanyService/repair/{id}" (HTTP-GET) If a new Repair entity has been created, the new entity should be posted to the relative URL: "/CompanyService/repair" (HTTP-POST) If an existing Repair entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/repair/{id}" (HTTP-PUT) If an existing Repair entity has to be deleted, the following relative URL should be called: "/CompanyService/repair/{id}" (HTTP-DELETE) Add a HTML table to the view with the following EquipmentRepair columns: - column: Repair - column: RepairResult - column: Price - column: Equipment - column: Comments The table should have the title "EquipmentRepairs" und the data must be loaded from the server with the following relative URL: "/RoomService/equipmentrepair/repair/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum