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: CompanyName type: STRING - name: FoundedYear type: INT - name: HeadquartersCity type: STRING - name: HeadquartersCountry type: STRING - name: HeadquartersState type: STRING - name: Isin type: STRING - name: LegalForm type: STRING - name: WebsiteUrl 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 StockMarketEvent columns: - column: AmountMillionUsd - column: EventType - column: SharePriceUsd - column: EventDate - column: Description - column: Company The table should have the title "StockMarketEvents" und the data must be loaded from the server with the following relative URL: "/CompanyService/stockmarketevent/company/{id}" Add a HTML table to the view with the following Partnership columns: - column: StartYear - column: PartnerName - column: EndYear - column: Description - column: PartnerType - column: Company The table should have the title "Partnerships" und the data must be loaded from the server with the following relative URL: "/CompanyService/partnership/company/{id}" Add a HTML table to the view with the following RegulatoryAction columns: - column: AuthorityName - column: ActionDate - column: ActionType - column: Description - column: PenaltyMillionUsd - column: Country - column: Company The table should have the title "RegulatoryActions" und the data must be loaded from the server with the following relative URL: "/RoleService/regulatoryaction/company/{id}" Add a HTML table to the view with the following Product columns: - column: ProductName - column: ProductType - column: DiscontinuedYear - column: Company - column: BusinessSegment - column: Description - column: LaunchYear The table should have the title "Products" und the data must be loaded from the server with the following relative URL: "/CompanyService/product/company/{id}" Add a HTML table to the view with the following CompanyLeadership columns: - column: Company - column: Role - column: StartDate - column: Person - column: EndDate The table should have the title "CompanyLeaderships" und the data must be loaded from the server with the following relative URL: "/CompanyService/companyleadership/company/{id}" Add a HTML table to the view with the following Acquisition columns: - column: Description - column: CloseDate - column: TargetName - column: AnnouncementDate - column: Company - column: PurchasePriceMillionUsd - column: TargetCountry The table should have the title "Acquisitions" und the data must be loaded from the server with the following relative URL: "/BatteryPackService/acquisition/company/{id}" Add a HTML table to the view with the following MarketShareStat columns: - column: SegmentDescription - column: MarketSharePercent - column: Company - column: PeriodDescription - column: MarketRegion The table should have the title "MarketShareStats" und the data must be loaded from the server with the following relative URL: "/RoleService/marketsharestat/company/{id}" Add a HTML table to the view with the following FinancialYear columns: - column: ProfitMillionUsd - column: BalanceSheetMillionUsd - column: EmployeeCount - column: DeliveriesMillionVehicles - column: Company - column: FiscalYear - column: RevenueMillionUsd The table should have the title "FinancialYears" und the data must be loaded from the server with the following relative URL: "/BusinessSegmentService/financialyear/company/{id}" Add a HTML table to the view with the following BusinessSegment columns: - column: SegmentDescription - column: StartYear - column: SegmentName - column: EndYear - column: Company The table should have the title "BusinessSegments" und the data must be loaded from the server with the following relative URL: "/BusinessSegmentService/businesssegment/company/{id}" Add a HTML table to the view with the following ChargingNetwork columns: - column: NetworkName - column: Description - column: Company - column: NetworkType - column: LaunchYear The table should have the title "ChargingNetworks" und the data must be loaded from the server with the following relative URL: "/BusinessSegmentService/chargingnetwork/company/{id}" Add a HTML table to the view with the following StockOwnership columns: - column: Notes - column: AsOfDate - column: OwnershipPercent - column: Person - column: Company - column: OwnerType The table should have the title "StockOwnerships" und the data must be loaded from the server with the following relative URL: "/RoleService/stockownership/company/{id}" Add a HTML table to the view with the following Project columns: - column: ProjectName - column: RelatedVehicleModel - column: PlannedEndYear - column: PlannedStartYear - column: Description - column: AnnouncementDate - column: ProjectType - column: Company - column: Status The table should have the title "Projects" und the data must be loaded from the server with the following relative URL: "/VehicleModelService/project/company/{id}" Add a HTML table to the view with the following ProductionSite columns: - column: SiteType - column: Company - column: City - column: IsGigafactory - column: Notes - column: EndYear - column: SiteName - column: StartYear The table should have the title "ProductionSites" und the data must be loaded from the server with the following relative URL: "/CityService/productionsite/company/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint