Overview
Summary
Contact
Donate
Imprint
Prompt for the
PersonView
Please create a React-JS view called "PersonView" for the fields of the Person entity. The PersonView must contain the following fields: - name: Biography type: STRING - name: BirthDate type: DATE - name: FirstName type: STRING - name: FullName type: STRING - name: LastName type: STRING - name: Nationality type: STRING An existing Person entity should be loaded from the relative URL: "/PersonService/person/{id}" (HTTP-GET) If a new Person entity has been created, the new entity should be posted to the relative URL: "/PersonService/person" (HTTP-POST) If an existing Person entity has been updated, the modified entity should be sent to the relative URL: "/PersonService/person/{id}" (HTTP-PUT) If an existing Person entity has to be deleted, the following relative URL should be called: "/PersonService/person/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CompanyRole columns: - column: Title - column: Notes - column: Company - column: Person - column: StartDate - column: EndDate The table should have the title "CompanyRoles" und the data must be loaded from the server with the following relative URL: "/CompanyService/companyrole/person/{id}" Add a HTML table to the view with the following CrewAssignment columns: - column: Person - column: CrewedFlight - column: Role - column: Notes The table should have the title "CrewAssignments" und the data must be loaded from the server with the following relative URL: "/PersonService/crewassignment/person/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint