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. 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 2 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: "/StudentService/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: "/StudentService/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: "/StudentService/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 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