Overview
Summary
Contact
Donate
Imprint
Prompt for the
InvestmentView
Please create a React-JS view called "InvestmentView" for the fields of the Investment entity. The InvestmentView must contain the following fields: - name: Amount type: STRING - name: Company type: Company - name: Country type: Country - name: Currency type: STRING - name: Description type: STRING - name: EndDate type: DATE - name: StartDate type: DATE The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing Investment entity should be loaded from the relative URL: "/CountryService/investment/{id}" (HTTP-GET) If a new Investment entity has been created, the new entity should be posted to the relative URL: "/CountryService/investment" (HTTP-POST) If an existing Investment entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/investment/{id}" (HTTP-PUT) If an existing Investment entity has to be deleted, the following relative URL should be called: "/CountryService/investment/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint