Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
CompanyApp
Please create a React-JS application for the CompanyModule. The application has to offer the following views for the user interface: 1. CompanyView 2. HealthInsuranceView 3. InsuranceCompanyView 4. RepairView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The CompanyView must contain the following fields: - name: Email type: STRING - name: CompanyName type: STRING - name: CompanyInfo type: STRING - name: InternetAddress type: STRING - name: PostalCode type: STRING - name: City type: STRING - name: Street type: STRING - name: PhoneNo type: STRING An existing Company entity should be loaded from the relative URL: "/CompanyService/company/{id}" (HTTP-GET) If a new Company entity has been created, the new entity should be posted to the relative URL: "/CompanyService/company" (HTTP-POST) If an existing Company entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/company/{id}" (HTTP-PUT) If an existing Company entity has to be deleted, the following relative URL should be called: "/CompanyService/company/{id}" (HTTP-DELETE) Add a HTML table to the view with the following InsuranceCompany columns: - column: Company - column: PrivateInsurance The table should have the title "InsuranceCompanys" und the data must be loaded from the server with the following relative URL: "/CompanyService/insurancecompany/company/{id}" Add a HTML table to the view with the following VitaEntry columns: - column: School - column: Student - column: Nursery - column: Company - column: FromDate - column: ToDate - column: Details The table should have the title "VitaEntrys" und the data must be loaded from the server with the following relative URL: "/NurseryService/vitaentry/company/{id}" Add a HTML table to the view with the following Repair columns: - column: Company - column: RepairDate The table should have the title "Repairs" und the data must be loaded from the server with the following relative URL: "/CompanyService/repair/company/{id}" Add a HTML table to the view with the following HealthInsurance columns: - column: InsuranceNumber - column: InsuranceCompany The table should have the title "HealthInsurances" und the data must be loaded from the server with the following relative URL: "/CompanyService/healthinsurance/insurancecompany/{id}" 2. The HealthInsuranceView must contain the following fields: - name: InsuranceCompany type: Company - name: InsuranceNumber type: STRING The data source for the [InsuranceCompany] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing HealthInsurance entity should be loaded from the relative URL: "/CompanyService/healthinsurance/{id}" (HTTP-GET) If a new HealthInsurance entity has been created, the new entity should be posted to the relative URL: "/CompanyService/healthinsurance" (HTTP-POST) If an existing HealthInsurance entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/healthinsurance/{id}" (HTTP-PUT) If an existing HealthInsurance entity has to be deleted, the following relative URL should be called: "/CompanyService/healthinsurance/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Student columns: - column: Gender - column: DateOfBirth - column: FirstName - column: City - column: ChosenSchoolType - column: Religion - column: PostalCode - column: CellPhoneNo - column: RecommendedSchoolType - column: ReadWriteAtony - column: CityOfBirth - column: ReligionTeaching - column: HealthInsurance - column: Email - column: Street - column: StudentInfo - column: LastName - column: SwimmingInsignia - column: PhoneNo The table should have the title "Students" und the data must be loaded from the server with the following relative URL: "/StudentService/student/healthinsurance/{id}" 3. The InsuranceCompanyView must contain the following fields: - name: PrivateInsurance type: BOOL - 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 InsuranceCompany entity should be loaded from the relative URL: "/CompanyService/insurancecompany/{id}" (HTTP-GET) If a new InsuranceCompany entity has been created, the new entity should be posted to the relative URL: "/CompanyService/insurancecompany" (HTTP-POST) If an existing InsuranceCompany entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/insurancecompany/{id}" (HTTP-PUT) If an existing InsuranceCompany entity has to be deleted, the following relative URL should be called: "/CompanyService/insurancecompany/{id}" (HTTP-DELETE) 4. 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