Overview
Summary
Contact
Donate
Imprint
Prompt for the
LegalCaseApp
Please create a React-JS application for the LegalCaseModule. The application has to offer the following views for the user interface: 1. LegalCaseView 2. RegulatoryActionView 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 LegalCaseView must contain the following fields: - name: CaseType type: STRING - name: FilingDate type: DATE - name: Jurisdiction type: STRING - name: Outcome type: STRING - name: ResolutionDate type: DATE - name: Summary type: STRING - name: Title type: STRING An existing LegalCase entity should be loaded from the relative URL: "/LegalCaseService/legalcase/{id}" (HTTP-GET) If a new LegalCase entity has been created, the new entity should be posted to the relative URL: "/LegalCaseService/legalcase" (HTTP-POST) If an existing LegalCase entity has been updated, the modified entity should be sent to the relative URL: "/LegalCaseService/legalcase/{id}" (HTTP-PUT) If an existing LegalCase entity has to be deleted, the following relative URL should be called: "/LegalCaseService/legalcase/{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/legalcase/{id}" Add a HTML table to the view with the following RegulatoryAction columns: - column: Outcome - column: RelatedLegalCase - column: Description - column: Country - column: ActionDate - column: AgencyName The table should have the title "RegulatoryActions" und the data must be loaded from the server with the following relative URL: "/LegalCaseService/regulatoryaction/relatedlegalcase/{id}" 2. The RegulatoryActionView must contain the following fields: - name: ActionDate type: DATE - name: AgencyName type: STRING - name: Country type: STRING - name: Description type: STRING - name: Outcome type: STRING - name: RelatedLegalCase type: LegalCase The data source for the [RelatedLegalCase] select control should be loaded from the relative URL: "/LegalCaseService/legalcase" (HTTP-GET) An existing RegulatoryAction entity should be loaded from the relative URL: "/LegalCaseService/regulatoryaction/{id}" (HTTP-GET) If a new RegulatoryAction entity has been created, the new entity should be posted to the relative URL: "/LegalCaseService/regulatoryaction" (HTTP-POST) If an existing RegulatoryAction entity has been updated, the modified entity should be sent to the relative URL: "/LegalCaseService/regulatoryaction/{id}" (HTTP-PUT) If an existing RegulatoryAction entity has to be deleted, the following relative URL should be called: "/LegalCaseService/regulatoryaction/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint