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: CaseName type: STRING - name: CaseType type: STRING - name: Company type: Company - name: Description type: STRING - name: FiledDate type: DATE - name: JurisdictionCity type: City - name: JurisdictionCountry type: Country - name: Outcome type: STRING - name: ResolvedDate type: DATE - name: SettlementAmount type: DOUBLE - name: SettlementCurrency type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [JurisdictionCountry] select control should be loaded from the relative URL: "/CityService/country" (HTTP-GET) The data source for the [JurisdictionCity] select control should be loaded from the relative URL: "/CityService/city" (HTTP-GET) An existing Lawsuit entity should be loaded from the relative URL: "/CityService/lawsuit/{id}" (HTTP-GET) If a new Lawsuit entity has been created, the new entity should be posted to the relative URL: "/CityService/lawsuit" (HTTP-POST) If an existing Lawsuit entity has been updated, the modified entity should be sent to the relative URL: "/CityService/lawsuit/{id}" (HTTP-PUT) If an existing Lawsuit entity has to be deleted, the following relative URL should be called: "/CityService/lawsuit/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint