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. BalloonTelemetrySampleView 2. CompanyView 3. PatentView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 3 views are defined below. 1. The BalloonTelemetrySampleView must contain the following fields: - name: AltitudeKm type: STRING - name: BalloonFlight type: BalloonFlight - name: BatteryLevelPercent type: STRING - name: Latitude type: STRING - name: Longitude type: STRING - name: SampleTime type: DATE - name: SignalQualityDb type: STRING - name: TemperatureC type: STRING The data source for the [BalloonFlight] select control should be loaded from the relative URL: "/ProjectService/balloonflight" (HTTP-GET) An existing BalloonTelemetrySample entity should be loaded from the relative URL: "/CompanyService/balloontelemetrysample/{id}" (HTTP-GET) If a new BalloonTelemetrySample entity has been created, the new entity should be posted to the relative URL: "/CompanyService/balloontelemetrysample" (HTTP-POST) If an existing BalloonTelemetrySample entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/balloontelemetrysample/{id}" (HTTP-PUT) If an existing BalloonTelemetrySample entity has to be deleted, the following relative URL should be called: "/CompanyService/balloontelemetrysample/{id}" (HTTP-DELETE) 2. The CompanyView must contain the following fields: - name: CompanyType type: STRING - name: DefunctDate type: DATE - name: Description type: STRING - name: FoundedDate type: DATE - name: Industry type: STRING - name: Name type: STRING - 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 Patent columns: - column: Title - column: GrantDate - column: AssigneeCompany - column: Url - column: FilingDate - column: PatentNumber The table should have the title "Patents" und the data must be loaded from the server with the following relative URL: "/CompanyService/patent/assigneecompany/{id}" Add a HTML table to the view with the following Project columns: - column: Company - column: Name - column: EndDate - column: Description - column: StartDate The table should have the title "Projects" und the data must be loaded from the server with the following relative URL: "/ProjectService/project/company/{id}" 3. The PatentView must contain the following fields: - name: AssigneeCompany type: Company - name: FilingDate type: DATE - name: GrantDate type: DATE - name: PatentNumber type: STRING - name: Title type: STRING - name: Url type: STRING The data source for the [AssigneeCompany] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Patent entity should be loaded from the relative URL: "/CompanyService/patent/{id}" (HTTP-GET) If a new Patent entity has been created, the new entity should be posted to the relative URL: "/CompanyService/patent" (HTTP-POST) If an existing Patent entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/patent/{id}" (HTTP-PUT) If an existing Patent entity has to be deleted, the following relative URL should be called: "/CompanyService/patent/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint