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: BiographyNote type: STRING - name: BirthYear type: INT - 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: "/CompanyService/person/{id}" (HTTP-GET) If a new Person entity has been created, the new entity should be posted to the relative URL: "/CompanyService/person" (HTTP-POST) If an existing Person entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/person/{id}" (HTTP-PUT) If an existing Person entity has to be deleted, the following relative URL should be called: "/CompanyService/person/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Quote columns: - column: ContextDescription - column: QuoteText - column: Person - column: QuoteDate The table should have the title "Quotes" und the data must be loaded from the server with the following relative URL: "/BatteryPackService/quote/person/{id}" Add a HTML table to the view with the following RoleHistory columns: - column: EndDate - column: StartDate - column: Role - column: Person - column: Notes - column: OrganizationName The table should have the title "RoleHistorys" und the data must be loaded from the server with the following relative URL: "/RoleService/rolehistory/person/{id}" Add a HTML table to the view with the following StockOwnership columns: - column: Notes - column: AsOfDate - column: OwnershipPercent - column: Person - column: Company - column: OwnerType The table should have the title "StockOwnerships" und the data must be loaded from the server with the following relative URL: "/RoleService/stockownership/person/{id}" Add a HTML table to the view with the following CompanyLeadership columns: - column: Company - column: Role - column: StartDate - column: Person - column: EndDate The table should have the title "CompanyLeaderships" und the data must be loaded from the server with the following relative URL: "/CompanyService/companyleadership/person/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint