Overview
Summary
Contact
Donate
Imprint
Prompt for the
CompanyApp
Please create a React-JS application for the CompanyModule. The application has to offer the following views for the user interface: 1. CompanyView 2. CompanyLeadershipView 3. PartnershipView 4. PersonView 5. ProductView 6. StockMarketEventView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 6 views are defined below. 1. 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}" 2. The CompanyLeadershipView must contain the following fields: - name: Company type: Company - name: EndDate type: DATE - name: Person type: Person - name: Role type: Role - name: StartDate type: DATE The data source for the [Role] select control should be loaded from the relative URL: "/RoleService/role" (HTTP-GET) The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/CompanyService/person" (HTTP-GET) An existing CompanyLeadership entity should be loaded from the relative URL: "/CompanyService/companyleadership/{id}" (HTTP-GET) If a new CompanyLeadership entity has been created, the new entity should be posted to the relative URL: "/CompanyService/companyleadership" (HTTP-POST) If an existing CompanyLeadership entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/companyleadership/{id}" (HTTP-PUT) If an existing CompanyLeadership entity has to be deleted, the following relative URL should be called: "/CompanyService/companyleadership/{id}" (HTTP-DELETE) 3. The PartnershipView must contain the following fields: - name: Company type: Company - name: Description type: STRING - name: EndYear type: INT - name: PartnerName type: STRING - name: PartnerType type: STRING - name: StartYear type: INT The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Partnership entity should be loaded from the relative URL: "/CompanyService/partnership/{id}" (HTTP-GET) If a new Partnership entity has been created, the new entity should be posted to the relative URL: "/CompanyService/partnership" (HTTP-POST) If an existing Partnership entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/partnership/{id}" (HTTP-PUT) If an existing Partnership entity has to be deleted, the following relative URL should be called: "/CompanyService/partnership/{id}" (HTTP-DELETE) 4. The PersonView must contain the following fields: - name: BiographyNote type: STRING - name: BirthYear type: INT - name: FirstName type: STRING - name: FullName type: STRING - name: LastName type: STRING - name: Nationality type: STRING An existing Person entity should be loaded from the relative URL: "/CompanyService/person/{id}" (HTTP-GET) If a new Person entity has been created, the new entity should be posted to the relative URL: "/CompanyService/person" (HTTP-POST) If an existing Person entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/person/{id}" (HTTP-PUT) If an existing Person entity has to be deleted, the following relative URL should be called: "/CompanyService/person/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Quote columns: - column: ContextDescription - column: QuoteText - column: Person - column: QuoteDate The table should have the title "Quotes" und the data must be loaded from the server with the following relative URL: "/BatteryPackService/quote/person/{id}" Add a HTML table to the view with the following RoleHistory columns: - column: EndDate - column: StartDate - column: Role - column: Person - column: Notes - column: OrganizationName The table should have the title "RoleHistorys" und the data must be loaded from the server with the following relative URL: "/RoleService/rolehistory/person/{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/person/{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/person/{id}" 5. The ProductView must contain the following fields: - name: BusinessSegment type: BusinessSegment - name: Company type: Company - name: Description type: STRING - name: DiscontinuedYear type: INT - name: LaunchYear type: INT - name: ProductName type: STRING - name: ProductType 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 [BusinessSegment] select control should be loaded from the relative URL: "/BusinessSegmentService/businesssegment" (HTTP-GET) An existing Product entity should be loaded from the relative URL: "/CompanyService/product/{id}" (HTTP-GET) If a new Product entity has been created, the new entity should be posted to the relative URL: "/CompanyService/product" (HTTP-POST) If an existing Product entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/product/{id}" (HTTP-PUT) If an existing Product entity has to be deleted, the following relative URL should be called: "/CompanyService/product/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProductionSiteProduct columns: - column: StartYear - column: ProductionSite - column: EndYear - column: Product - column: Notes The table should have the title "ProductionSiteProducts" und the data must be loaded from the server with the following relative URL: "/CityService/productionsiteproduct/product/{id}" Add a HTML table to the view with the following VehicleModel columns: - column: ModelName - column: Notes - column: InitialRevealDate - column: GenerationName - column: BasePriceUsd - column: MarketSegment - column: ProductionStartYear - column: ProductionEndYear - column: Product - column: VehicleCategory The table should have the title "VehicleModels" und the data must be loaded from the server with the following relative URL: "/VehicleModelService/vehiclemodel/product/{id}" 6. The StockMarketEventView must contain the following fields: - name: AmountMillionUsd type: DOUBLE - name: Company type: Company - name: Description type: STRING - name: EventDate type: DATE - name: EventType type: STRING - name: SharePriceUsd type: DOUBLE The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing StockMarketEvent entity should be loaded from the relative URL: "/CompanyService/stockmarketevent/{id}" (HTTP-GET) If a new StockMarketEvent entity has been created, the new entity should be posted to the relative URL: "/CompanyService/stockmarketevent" (HTTP-POST) If an existing StockMarketEvent entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/stockmarketevent/{id}" (HTTP-PUT) If an existing StockMarketEvent entity has to be deleted, the following relative URL should be called: "/CompanyService/stockmarketevent/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint