Overview
Summary
Contact
Donate
Imprint
Prompt for the
CompanyEntityView
Please create a React-JS view called "CompanyEntityView" for the fields of the CompanyEntity entity. The CompanyEntityView must contain the following fields: - name: City type: STRING - name: Country type: Country - name: IsParent type: BOOL - name: LegalForm type: STRING - name: Name type: STRING - name: Website type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing CompanyEntity entity should be loaded from the relative URL: "/CompanyEntityService/companyentity/{id}" (HTTP-GET) If a new CompanyEntity entity has been created, the new entity should be posted to the relative URL: "/CompanyEntityService/companyentity" (HTTP-POST) If an existing CompanyEntity entity has been updated, the modified entity should be sent to the relative URL: "/CompanyEntityService/companyentity/{id}" (HTTP-PUT) If an existing CompanyEntity entity has to be deleted, the following relative URL should be called: "/CompanyEntityService/companyentity/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Office columns: - column: IsHeadquarters - column: CompanyEntity - column: Country - column: IsOperationalHq - column: ClosedOn - column: OpenedOn - column: City The table should have the title "Offices" und the data must be loaded from the server with the following relative URL: "/CompanyEntityService/office/companyentity/{id}" Add a HTML table to the view with the following InvestmentRound columns: - column: CompanyEntity - column: AnnouncedOn - column: RoundName - column: AmountEur - column: AmountUsd - column: IsDebt The table should have the title "InvestmentRounds" und the data must be loaded from the server with the following relative URL: "/CompanyEntityService/investmentround/companyentity/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint