Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
ExternalPersonApp
Please create a React-JS application for the ExternalPersonModule. The application has to offer the following views for the user interface: 1. ExternalPersonView 2. ProjectView 3. ProjectAppointmentView 4. ProjectOrganizerView 5. StudentContactView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The ExternalPersonView must contain the following fields: - name: Email type: STRING - name: PersonInfo type: STRING - name: CellPhoneNo type: STRING - name: LastName type: STRING - name: PostalCode type: STRING - name: City type: STRING - name: Street type: STRING - name: PhoneNo type: STRING - name: FirstName type: STRING An existing ExternalPerson entity should be loaded from the relative URL: "/ExternalPersonService/externalperson/{id}" (HTTP-GET) If a new ExternalPerson entity has been created, the new entity should be posted to the relative URL: "/ExternalPersonService/externalperson" (HTTP-POST) If an existing ExternalPerson entity has been updated, the modified entity should be sent to the relative URL: "/ExternalPersonService/externalperson/{id}" (HTTP-PUT) If an existing ExternalPerson entity has to be deleted, the following relative URL should be called: "/ExternalPersonService/externalperson/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SchoolEventAttendee columns: - column: Teacher - column: ExternalPerson - column: InvitationShipped - column: Student - column: SchoolEvent - column: Invitation The table should have the title "SchoolEventAttendees" und the data must be loaded from the server with the following relative URL: "/SchoolEventService/schooleventattendee/externalperson/{id}" Add a HTML table to the view with the following ConferenceAttendee columns: - column: Teacher - column: ExternalPerson - column: Conference - column: Student The table should have the title "ConferenceAttendees" und the data must be loaded from the server with the following relative URL: "/ConferenceService/conferenceattendee/externalperson/{id}" Add a HTML table to the view with the following StudentContact columns: - column: ExternalPerson - column: Student The table should have the title "StudentContacts" und the data must be loaded from the server with the following relative URL: "/ExternalPersonService/studentcontact/externalperson/{id}" Add a HTML table to the view with the following PurchaseList columns: - column: PurchaseDate - column: Buyer - column: Distributor - column: BuyingTeacher The table should have the title "PurchaseLists" und the data must be loaded from the server with the following relative URL: "/PurchaseListService/purchaselist/buyer/{id}" Add a HTML table to the view with the following EventTask columns: - column: TaskTitle - column: ExternalPerson - column: Teacher - column: Details - column: SchoolEvent - column: Student The table should have the title "EventTasks" und the data must be loaded from the server with the following relative URL: "/StudentService/eventtask/externalperson/{id}" Add a HTML table to the view with the following ProjectOrganizer columns: - column: ExternalPerson - column: Teacher - column: Project The table should have the title "ProjectOrganizers" und the data must be loaded from the server with the following relative URL: "/ExternalPersonService/projectorganizer/externalperson/{id}" Add a HTML table to the view with the following FoodOrder columns: - column: FoodOrderDate - column: Teacher - column: Food - column: ExternalPerson - column: Student The table should have the title "FoodOrders" und the data must be loaded from the server with the following relative URL: "/FoodService/foodorder/externalperson/{id}" 2. The ProjectView must contain the following fields: - name: ProjectDescription type: STRING - name: ProjectTitle type: STRING - name: ProjectWeek type: ProjectWeek The data source for the [ProjectWeek] select control should be loaded from the relative URL: "/SchoolService/projectweek" (HTTP-GET) An existing Project entity should be loaded from the relative URL: "/ExternalPersonService/project/{id}" (HTTP-GET) If a new Project entity has been created, the new entity should be posted to the relative URL: "/ExternalPersonService/project" (HTTP-POST) If an existing Project entity has been updated, the modified entity should be sent to the relative URL: "/ExternalPersonService/project/{id}" (HTTP-PUT) If an existing Project entity has to be deleted, the following relative URL should be called: "/ExternalPersonService/project/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProjectAppointment columns: - column: Content - column: ToDate - column: Room - column: FromDate - column: Project - column: Description - column: ProjectOrganizer The table should have the title "ProjectAppointments" und the data must be loaded from the server with the following relative URL: "/ExternalPersonService/projectappointment/project/{id}" Add a HTML table to the view with the following ProjectAttendee columns: - column: Project - column: Student The table should have the title "ProjectAttendees" und the data must be loaded from the server with the following relative URL: "/StudentService/projectattendee/project/{id}" Add a HTML table to the view with the following ProjectOrganizer columns: - column: ExternalPerson - column: Teacher - column: Project The table should have the title "ProjectOrganizers" und the data must be loaded from the server with the following relative URL: "/ExternalPersonService/projectorganizer/project/{id}" 3. The ProjectAppointmentView must contain the following fields: - name: FromDate type: DATE - name: Description type: STRING - name: ToDate type: DATE - name: Content type: STRING - name: ProjectOrganizer type: ProjectOrganizer - name: Project type: Project - name: Room type: Room The data source for the [Project] select control should be loaded from the relative URL: "/ExternalPersonService/project" (HTTP-GET) The data source for the [ProjectOrganizer] select control should be loaded from the relative URL: "/ExternalPersonService/projectorganizer" (HTTP-GET) The data source for the [Room] select control should be loaded from the relative URL: "/RoomService/room" (HTTP-GET) An existing ProjectAppointment entity should be loaded from the relative URL: "/ExternalPersonService/projectappointment/{id}" (HTTP-GET) If a new ProjectAppointment entity has been created, the new entity should be posted to the relative URL: "/ExternalPersonService/projectappointment" (HTTP-POST) If an existing ProjectAppointment entity has been updated, the modified entity should be sent to the relative URL: "/ExternalPersonService/projectappointment/{id}" (HTTP-PUT) If an existing ProjectAppointment entity has to be deleted, the following relative URL should be called: "/ExternalPersonService/projectappointment/{id}" (HTTP-DELETE) 4. The ProjectOrganizerView must contain the following fields: - name: ExternalPerson type: ExternalPerson - name: Teacher type: Teacher - name: Project type: Project The data source for the [Project] select control should be loaded from the relative URL: "/ExternalPersonService/project" (HTTP-GET) The data source for the [ExternalPerson] select control should be loaded from the relative URL: "/ExternalPersonService/externalperson" (HTTP-GET) The data source for the [Teacher] select control should be loaded from the relative URL: "/StudentService/teacher" (HTTP-GET) An existing ProjectOrganizer entity should be loaded from the relative URL: "/ExternalPersonService/projectorganizer/{id}" (HTTP-GET) If a new ProjectOrganizer entity has been created, the new entity should be posted to the relative URL: "/ExternalPersonService/projectorganizer" (HTTP-POST) If an existing ProjectOrganizer entity has been updated, the modified entity should be sent to the relative URL: "/ExternalPersonService/projectorganizer/{id}" (HTTP-PUT) If an existing ProjectOrganizer entity has to be deleted, the following relative URL should be called: "/ExternalPersonService/projectorganizer/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProjectAppointment columns: - column: Content - column: ToDate - column: Room - column: FromDate - column: Project - column: Description - column: ProjectOrganizer The table should have the title "ProjectAppointments" und the data must be loaded from the server with the following relative URL: "/ExternalPersonService/projectappointment/projectorganizer/{id}" 5. The StudentContactView must contain the following fields: - name: ExternalPerson type: ExternalPerson - name: Student type: Student The data source for the [ExternalPerson] select control should be loaded from the relative URL: "/ExternalPersonService/externalperson" (HTTP-GET) The data source for the [Student] select control should be loaded from the relative URL: "/StudentService/student" (HTTP-GET) An existing StudentContact entity should be loaded from the relative URL: "/ExternalPersonService/studentcontact/{id}" (HTTP-GET) If a new StudentContact entity has been created, the new entity should be posted to the relative URL: "/ExternalPersonService/studentcontact" (HTTP-POST) If an existing StudentContact entity has been updated, the modified entity should be sent to the relative URL: "/ExternalPersonService/studentcontact/{id}" (HTTP-PUT) If an existing StudentContact entity has to be deleted, the following relative URL should be called: "/ExternalPersonService/studentcontact/{id}" (HTTP-DELETE)
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum