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. InvestigationView 3. LobbyingActivityView 4. PersonView 5. RobotaxiServiceView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 5 views are defined below. 1. The CompanyView must contain the following fields: - name: CompanyType type: STRING - name: Description type: STRING - name: FoundedDate type: DATE - name: HeadquartersCity type: STRING - name: HeadquartersCountry type: STRING - name: HeadquartersState type: STRING - name: Industry type: STRING - name: Name type: STRING - name: NumberOfEmployees type: INT - name: ParentCompany type: INT - 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 Person columns: - column: IsKeyPerson - column: StartDate - column: Company - column: FirstName - column: EndDate - column: LastName - column: Role The table should have the title "Persons" und the data must be loaded from the server with the following relative URL: "/CompanyService/person/company/{id}" Add a HTML table to the view with the following TruckingOperation columns: - column: HubCity - column: Notes - column: EndDate - column: PartnerCompany - column: VehicleModel - column: StartDate - column: Program - column: HubState The table should have the title "TruckingOperations" und the data must be loaded from the server with the following relative URL: "/VehicleModelService/truckingoperation/partnercompany/{id}" Add a HTML table to the view with the following RobotaxiService columns: - column: WithPartner - column: IsCommercial - column: AccessMethod - column: PartnerCompany - column: WaitlistStatus - column: ServiceArea - column: Program The table should have the title "RobotaxiServices" und the data must be loaded from the server with the following relative URL: "/CompanyService/robotaxiservice/partnercompany/{id}" Add a HTML table to the view with the following LegalCase columns: - column: FilingDate - column: Counterparty - column: Outcome - column: Description - column: Company - column: CaseType - column: ResolutionDate - column: SettlementAmountUsd The table should have the title "LegalCases" und the data must be loaded from the server with the following relative URL: "/VehicleModelService/legalcase/company/{id}" Add a HTML table to the view with the following LobbyingActivity columns: - column: Topic - column: StateProvince - column: AmountUsd - column: Notes - column: Country - column: City - column: Company - column: StartYear - column: EndYear - column: JurisdictionLevel The table should have the title "LobbyingActivitys" und the data must be loaded from the server with the following relative URL: "/CompanyService/lobbyingactivity/company/{id}" Add a HTML table to the view with the following Investigation columns: - column: EndDate - column: StartDate - column: Outcome - column: AgencyName - column: Company - column: Topic - column: Notes The table should have the title "Investigations" und the data must be loaded from the server with the following relative URL: "/CompanyService/investigation/company/{id}" Add a HTML table to the view with the following RemoteAssistanceOperation columns: - column: Company - column: EndDate - column: Description - column: StartDate - column: Country The table should have the title "RemoteAssistanceOperations" und the data must be loaded from the server with the following relative URL: "/CountryService/remoteassistanceoperation/company/{id}" Add a HTML table to the view with the following DeliveryService columns: - column: Program - column: Description - column: StartDate - column: EndDate - column: PartnerCompany The table should have the title "DeliveryServices" und the data must be loaded from the server with the following relative URL: "/ProgramService/deliveryservice/partnercompany/{id}" Add a HTML table to the view with the following Partnership columns: - column: StartDate - column: EndDate - column: Notes - column: Scope - column: Company - column: PartnerCompany The table should have the title "Partnerships" und the data must be loaded from the server with the following relative URL: "/TechnologyComponentService/partnership/partnercompany/{id}" Add a HTML table to the view with the following Partnership columns: - column: StartDate - column: EndDate - column: Notes - column: Scope - column: Company - column: PartnerCompany The table should have the title "Partnerships" und the data must be loaded from the server with the following relative URL: "/TechnologyComponentService/partnership/company/{id}" Add a HTML table to the view with the following RegulatoryPermit columns: - column: IssueDate - column: ServiceArea - column: ScopeDescription - column: IssuingAuthority - column: Notes - column: Company - column: PermitType - column: Jurisdiction - column: ExpiryDate The table should have the title "RegulatoryPermits" und the data must be loaded from the server with the following relative URL: "/AccidentService/regulatorypermit/company/{id}" Add a HTML table to the view with the following FundingRound columns: - column: ValuationUsd - column: SourceNote - column: RoundDate - column: AmountUsd - column: Company - column: RoundType - column: LeadInvestor The table should have the title "FundingRounds" und the data must be loaded from the server with the following relative URL: "/TechnologyComponentService/fundinground/company/{id}" Add a HTML table to the view with the following Program columns: - column: Description - column: EndDate - column: Name - column: ProgramType - column: Company - column: StartDate The table should have the title "Programs" und the data must be loaded from the server with the following relative URL: "/ProgramService/program/company/{id}" Add a HTML table to the view with the following SimulationEnvironment columns: - column: Description - column: CityModel - column: Company - column: Notes - column: Name The table should have the title "SimulationEnvironments" und the data must be loaded from the server with the following relative URL: "/AccidentService/simulationenvironment/company/{id}" Add a HTML table to the view with the following Accident columns: - column: FatalityCount - column: AccidentDate - column: Program - column: InjuryCount - column: PropertyDamageFlag - column: Company - column: Description - column: ServiceArea - column: SourceAgency - column: Severity The table should have the title "Accidents" und the data must be loaded from the server with the following relative URL: "/AccidentService/accident/company/{id}" 2. The InvestigationView must contain the following fields: - name: AgencyName type: STRING - name: Company type: Company - name: EndDate type: DATE - name: Notes type: STRING - name: Outcome type: STRING - name: StartDate type: DATE - name: Topic type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Investigation entity should be loaded from the relative URL: "/CompanyService/investigation/{id}" (HTTP-GET) If a new Investigation entity has been created, the new entity should be posted to the relative URL: "/CompanyService/investigation" (HTTP-POST) If an existing Investigation entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/investigation/{id}" (HTTP-PUT) If an existing Investigation entity has to be deleted, the following relative URL should be called: "/CompanyService/investigation/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AccidentInvestigation columns: - column: Accident - column: Investigation The table should have the title "AccidentInvestigations" und the data must be loaded from the server with the following relative URL: "/AccidentService/accidentinvestigation/investigation/{id}" 3. The LobbyingActivityView must contain the following fields: - name: AmountUsd type: DOUBLE - name: City type: STRING - name: Company type: Company - name: Country type: STRING - name: EndYear type: INT - name: JurisdictionLevel type: STRING - name: Notes type: STRING - name: StartYear type: INT - name: StateProvince type: STRING - name: Topic type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing LobbyingActivity entity should be loaded from the relative URL: "/CompanyService/lobbyingactivity/{id}" (HTTP-GET) If a new LobbyingActivity entity has been created, the new entity should be posted to the relative URL: "/CompanyService/lobbyingactivity" (HTTP-POST) If an existing LobbyingActivity entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/lobbyingactivity/{id}" (HTTP-PUT) If an existing LobbyingActivity entity has to be deleted, the following relative URL should be called: "/CompanyService/lobbyingactivity/{id}" (HTTP-DELETE) 4. The PersonView must contain the following fields: - name: Company type: Company - name: EndDate type: DATE - name: FirstName type: STRING - name: IsKeyPerson type: BOOL - name: LastName type: STRING - name: Role type: STRING - name: StartDate type: DATE The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) 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 ProgramPerson columns: - column: Person - column: RoleDescription - column: Program The table should have the title "ProgramPersons" und the data must be loaded from the server with the following relative URL: "/ProgramService/programperson/person/{id}" 5. The RobotaxiServiceView must contain the following fields: - name: AccessMethod type: STRING - name: IsCommercial type: BOOL - name: PartnerCompany type: Company - name: Program type: Program - name: ServiceArea type: ServiceArea - name: WaitlistStatus type: STRING - name: WithPartner type: BOOL The data source for the [PartnerCompany] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) The data source for the [ServiceArea] select control should be loaded from the relative URL: "/CountryService/servicearea" (HTTP-GET) The data source for the [Program] select control should be loaded from the relative URL: "/ProgramService/program" (HTTP-GET) An existing RobotaxiService entity should be loaded from the relative URL: "/CompanyService/robotaxiservice/{id}" (HTTP-GET) If a new RobotaxiService entity has been created, the new entity should be posted to the relative URL: "/CompanyService/robotaxiservice" (HTTP-POST) If an existing RobotaxiService entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/robotaxiservice/{id}" (HTTP-PUT) If an existing RobotaxiService entity has to be deleted, the following relative URL should be called: "/CompanyService/robotaxiservice/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AirportService columns: - column: Airport - column: Status - column: RobotaxiService - column: LaunchDate The table should have the title "AirportServices" und the data must be loaded from the server with the following relative URL: "/CityService/airportservice/robotaxiservice/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint