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: AreaType type: STRING - name: Country type: Country - name: Description type: STRING - name: Name type: STRING - name: Region type: Region The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) The data source for the [Region] select control should be loaded from the relative URL: "/RegionService/region" (HTTP-GET) An existing ServiceArea entity should be loaded from the relative URL: "/RegionService/servicearea/{id}" (HTTP-GET) If a new ServiceArea entity has been created, the new entity should be posted to the relative URL: "/RegionService/servicearea" (HTTP-POST) If an existing ServiceArea entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/servicearea/{id}" (HTTP-PUT) If an existing ServiceArea entity has to be deleted, the following relative URL should be called: "/RegionService/servicearea/{id}" (HTTP-DELETE) Add a HTML table to the view with the following RegulatoryApproval columns: - column: ApprovalDate - column: Notes - column: Project - column: ExpiryDate - column: RegulatoryAuthority - column: ServiceArea The table should have the title "RegulatoryApprovals" und the data must be loaded from the server with the following relative URL: "/CountryService/regulatoryapproval/servicearea/{id}" Add a HTML table to the view with the following ServiceDeployment columns: - column: StartDate - column: ServiceArea - column: Description - column: PeakUsers - column: IsEmergencyDeployment - column: AverageThroughputMbitPerSec - column: EndDate - column: Project The table should have the title "ServiceDeployments" und the data must be loaded from the server with the following relative URL: "/ServiceDeploymentService/servicedeployment/servicearea/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint