Overview
Summary
Contact
Donate
Imprint
Prompt for the
ServiceAreaView
Please create a React-JS view called "ServiceAreaView" for the fields of the ServiceArea entity. The ServiceAreaView must contain the following fields: - name: City type: City - name: Country type: Country - name: IsAirport type: BOOL - name: LaunchDate type: DATE - name: MetroAreaName type: STRING - name: Notes type: STRING - name: StateProvince type: StateProvince - name: Status type: STRING The data source for the [StateProvince] select control should be loaded from the relative URL: "/CountryService/stateprovince" (HTTP-GET) The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) The data source for the [City] select control should be loaded from the relative URL: "/CityService/city" (HTTP-GET) An existing ServiceArea entity should be loaded from the relative URL: "/CountryService/servicearea/{id}" (HTTP-GET) If a new ServiceArea entity has been created, the new entity should be posted to the relative URL: "/CountryService/servicearea" (HTTP-POST) If an existing ServiceArea entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/servicearea/{id}" (HTTP-PUT) If an existing ServiceArea entity has to be deleted, the following relative URL should be called: "/CountryService/servicearea/{id}" (HTTP-DELETE) 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/servicearea/{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/servicearea/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint