Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
AdministrativeOfficeApp
Please create a React-JS application for the AdministrativeOfficeModule. The application has to offer the following views for the user interface: 1. AdministrativeOfficeView 2. OfficeAgentView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The AdministrativeOfficeView must contain the following fields: - name: OfficeName type: STRING - name: Description type: STRING An existing AdministrativeOffice entity should be loaded from the relative URL: "/AdministrativeOfficeService/administrativeoffice/{id}" (HTTP-GET) If a new AdministrativeOffice entity has been created, the new entity should be posted to the relative URL: "/AdministrativeOfficeService/administrativeoffice" (HTTP-POST) If an existing AdministrativeOffice entity has been updated, the modified entity should be sent to the relative URL: "/AdministrativeOfficeService/administrativeoffice/{id}" (HTTP-PUT) If an existing AdministrativeOffice entity has to be deleted, the following relative URL should be called: "/AdministrativeOfficeService/administrativeoffice/{id}" (HTTP-DELETE) Add a HTML table to the view with the following OfficeAgent columns: - column: Teacher - column: AdministrativeOffice The table should have the title "OfficeAgents" und the data must be loaded from the server with the following relative URL: "/AdministrativeOfficeService/officeagent/administrativeoffice/{id}" 2. The OfficeAgentView must contain the following fields: - name: AdministrativeOffice type: AdministrativeOffice - name: Teacher type: Teacher The data source for the [Teacher] select control should be loaded from the relative URL: "/StudentService/teacher" (HTTP-GET) The data source for the [AdministrativeOffice] select control should be loaded from the relative URL: "/AdministrativeOfficeService/administrativeoffice" (HTTP-GET) An existing OfficeAgent entity should be loaded from the relative URL: "/AdministrativeOfficeService/officeagent/{id}" (HTTP-GET) If a new OfficeAgent entity has been created, the new entity should be posted to the relative URL: "/AdministrativeOfficeService/officeagent" (HTTP-POST) If an existing OfficeAgent entity has been updated, the modified entity should be sent to the relative URL: "/AdministrativeOfficeService/officeagent/{id}" (HTTP-PUT) If an existing OfficeAgent entity has to be deleted, the following relative URL should be called: "/AdministrativeOfficeService/officeagent/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum