Overview
Summary
Contact
Donate
Imprint
Prompt for the
RoleView
Please create a React-JS view called "RoleView" for the fields of the Role entity. The RoleView must contain the following fields: - name: RoleDescription type: STRING - name: RoleName type: STRING An existing Role entity should be loaded from the relative URL: "/RoleService/role/{id}" (HTTP-GET) If a new Role entity has been created, the new entity should be posted to the relative URL: "/RoleService/role" (HTTP-POST) If an existing Role entity has been updated, the modified entity should be sent to the relative URL: "/RoleService/role/{id}" (HTTP-PUT) If an existing Role entity has to be deleted, the following relative URL should be called: "/RoleService/role/{id}" (HTTP-DELETE) 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/role/{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/role/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint