Overview
Summary
Contact
Donate
Imprint
Prompt for the
LawsuitView
Please create a React-JS view called "LawsuitView" for the fields of the Lawsuit entity. The LawsuitView must contain the following fields: - name: Court type: STRING - name: Description type: STRING - name: FilingDate type: DATE - name: Name type: STRING - name: Outcome type: STRING - name: ResolutionDate type: DATE An existing Lawsuit entity should be loaded from the relative URL: "/ContentTypeService/lawsuit/{id}" (HTTP-GET) If a new Lawsuit entity has been created, the new entity should be posted to the relative URL: "/ContentTypeService/lawsuit" (HTTP-POST) If an existing Lawsuit entity has been updated, the modified entity should be sent to the relative URL: "/ContentTypeService/lawsuit/{id}" (HTTP-PUT) If an existing Lawsuit entity has to be deleted, the following relative URL should be called: "/ContentTypeService/lawsuit/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LawsuitParty columns: - column: Lawsuit - column: Company - column: Role The table should have the title "LawsuitPartys" und the data must be loaded from the server with the following relative URL: "/ContentTypeService/lawsuitparty/lawsuit/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint