Overview
Summary
Contact
Donate
Imprint
Prompt for the
CompanyView
Please create a React-JS view called "CompanyView" for the fields of the Company entity. The CompanyView must contain the following fields: - name: CompanyType type: STRING - name: FormerName type: STRING - name: FoundedDate type: DATE - name: HeadquartersCity type: STRING - name: HeadquartersCountry type: STRING - name: HeadquartersRegion type: STRING - name: Industry type: STRING - name: IsPublic type: BOOL - name: Name type: STRING - name: Notes type: STRING - name: TickerSymbol type: STRING - name: Website type: STRING An existing Company entity should be loaded from the relative URL: "/CompanyService/company/{id}" (HTTP-GET) If a new Company entity has been created, the new entity should be posted to the relative URL: "/CompanyService/company" (HTTP-POST) If an existing Company entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/company/{id}" (HTTP-PUT) If an existing Company entity has to be deleted, the following relative URL should be called: "/CompanyService/company/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FinancialYear columns: - column: NetIncomeUsdMillion - column: SharePriceUsd - column: TotalAssetsUsdMillion - column: EmployeesCount - column: RevenueUsdMillion - column: Company - column: Year The table should have the title "FinancialYears" und the data must be loaded from the server with the following relative URL: "/CompanyService/financialyear/company/{id}" Add a HTML table to the view with the following Subsidiary columns: - column: AcquisitionDate - column: Country - column: Description - column: Status - column: Name - column: OwnershipPercentage - column: Company - column: DivestitureDate The table should have the title "Subsidiarys" und the data must be loaded from the server with the following relative URL: "/CompanyService/subsidiary/company/{id}" Add a HTML table to the view with the following Acquisition columns: - column: TargetName - column: StakePercentage - column: Description - column: ConsiderationType - column: AnnouncementDate - column: CloseDate - column: ConsiderationAmountUsd - column: Notes - column: TargetCountry - column: AcquirerCompany The table should have the title "Acquisitions" und the data must be loaded from the server with the following relative URL: "/CompanyService/acquisition/acquirercompany/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint