Overview
Summary
Contact
Donate
Imprint
Prompt for the
LegalPartyApp
Please create a React-JS application for the LegalPartyModule. The application has to offer the following views for the user interface: 1. LegalCasePartyView 2. LegalPartyView 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 LegalCasePartyView must contain the following fields: - name: LegalCase type: LegalCase - name: LegalParty type: LegalParty - name: RoleInCase type: STRING The data source for the [LegalCase] select control should be loaded from the relative URL: "/LegalCaseService/legalcase" (HTTP-GET) The data source for the [LegalParty] select control should be loaded from the relative URL: "/LegalPartyService/legalparty" (HTTP-GET) An existing LegalCaseParty entity should be loaded from the relative URL: "/LegalPartyService/legalcaseparty/{id}" (HTTP-GET) If a new LegalCaseParty entity has been created, the new entity should be posted to the relative URL: "/LegalPartyService/legalcaseparty" (HTTP-POST) If an existing LegalCaseParty entity has been updated, the modified entity should be sent to the relative URL: "/LegalPartyService/legalcaseparty/{id}" (HTTP-PUT) If an existing LegalCaseParty entity has to be deleted, the following relative URL should be called: "/LegalPartyService/legalcaseparty/{id}" (HTTP-DELETE) 2. The LegalPartyView must contain the following fields: - name: Name type: STRING - name: PartyType type: STRING An existing LegalParty entity should be loaded from the relative URL: "/LegalPartyService/legalparty/{id}" (HTTP-GET) If a new LegalParty entity has been created, the new entity should be posted to the relative URL: "/LegalPartyService/legalparty" (HTTP-POST) If an existing LegalParty entity has been updated, the modified entity should be sent to the relative URL: "/LegalPartyService/legalparty/{id}" (HTTP-PUT) If an existing LegalParty entity has to be deleted, the following relative URL should be called: "/LegalPartyService/legalparty/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LegalCaseParty columns: - column: LegalParty - column: LegalCase - column: RoleInCase The table should have the title "LegalCasePartys" und the data must be loaded from the server with the following relative URL: "/LegalPartyService/legalcaseparty/legalparty/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint