Overview
Summary
Contact
Donate
Imprint
Prompt for the
App
Please create a React-JS application for the Module. The application has to offer the following views for the user interface: 1. BrandView 2. ServiceView 3. TerritoryAvailabilityView 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 BrandView must contain the following fields: - name: EndDate type: DATE - name: LogoUrl type: STRING - name: Name type: STRING - name: Service type: Service - name: StartDate type: DATE The data source for the [Service] select control should be loaded from the relative URL: "/ServiceService/service" (HTTP-GET) An existing Brand entity should be loaded from the relative URL: "/ServiceService/brand/{id}" (HTTP-GET) If a new Brand entity has been created, the new entity should be posted to the relative URL: "/ServiceService/brand" (HTTP-POST) If an existing Brand entity has been updated, the modified entity should be sent to the relative URL: "/ServiceService/brand/{id}" (HTTP-PUT) If an existing Brand entity has to be deleted, the following relative URL should be called: "/ServiceService/brand/{id}" (HTTP-DELETE) 2. The ServiceView must contain the following fields: - name: Description type: STRING - name: LaunchDate type: DATE - name: Name type: STRING - name: OwnerCompany type: Company - name: Type type: STRING The data source for the [OwnerCompany] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Service entity should be loaded from the relative URL: "/ServiceService/service/{id}" (HTTP-GET) If a new Service entity has been created, the new entity should be posted to the relative URL: "/ServiceService/service" (HTTP-POST) If an existing Service entity has been updated, the modified entity should be sent to the relative URL: "/ServiceService/service/{id}" (HTTP-PUT) If an existing Service entity has to be deleted, the following relative URL should be called: "/ServiceService/service/{id}" (HTTP-DELETE) Add a HTML table to the view with the following TerritoryAvailability columns: - column: Country - column: AvailableTo - column: Notes - column: AvailableFrom - column: Service The table should have the title "TerritoryAvailabilitys" und the data must be loaded from the server with the following relative URL: "/ServiceService/territoryavailability/service/{id}" Add a HTML table to the view with the following Brand columns: - column: EndDate - column: StartDate - column: Name - column: LogoUrl - column: Service The table should have the title "Brands" und the data must be loaded from the server with the following relative URL: "/ServiceService/brand/service/{id}" Add a HTML table to the view with the following BundleService columns: - column: Bundle - column: Service The table should have the title "BundleServices" und the data must be loaded from the server with the following relative URL: "/BundleService/bundleservice/service/{id}" 3. The TerritoryAvailabilityView must contain the following fields: - name: AvailableFrom type: DATE - name: AvailableTo type: DATE - name: Country type: Country - name: Notes type: STRING - name: Service type: Service The data source for the [Country] select control should be loaded from the relative URL: "/TitleService/country" (HTTP-GET) The data source for the [Service] select control should be loaded from the relative URL: "/ServiceService/service" (HTTP-GET) An existing TerritoryAvailability entity should be loaded from the relative URL: "/ServiceService/territoryavailability/{id}" (HTTP-GET) If a new TerritoryAvailability entity has been created, the new entity should be posted to the relative URL: "/ServiceService/territoryavailability" (HTTP-POST) If an existing TerritoryAvailability entity has been updated, the modified entity should be sent to the relative URL: "/ServiceService/territoryavailability/{id}" (HTTP-PUT) If an existing TerritoryAvailability entity has to be deleted, the following relative URL should be called: "/ServiceService/territoryavailability/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint