Overview
Summary
Contact
Donate
Imprint
Prompt for the
PartnerCompanyApp
Please create a React-JS application for the PartnerCompanyModule. The application has to offer the following views for the user interface: 1. AutoIntegrationView 2. PartnerCompanyView 3. SmartDeviceIntegrationView 4. TelcoPartnershipView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 4 views are defined below. 1. The AutoIntegrationView must contain the following fields: - name: IntegrationType type: STRING - name: ModelName type: STRING - name: PartnerCompany type: PartnerCompany - name: StartYear type: LONG The data source for the [PartnerCompany] select control should be loaded from the relative URL: "/PartnerCompanyService/partnercompany" (HTTP-GET) An existing AutoIntegration entity should be loaded from the relative URL: "/PartnerCompanyService/autointegration/{id}" (HTTP-GET) If a new AutoIntegration entity has been created, the new entity should be posted to the relative URL: "/PartnerCompanyService/autointegration" (HTTP-POST) If an existing AutoIntegration entity has been updated, the modified entity should be sent to the relative URL: "/PartnerCompanyService/autointegration/{id}" (HTTP-PUT) If an existing AutoIntegration entity has to be deleted, the following relative URL should be called: "/PartnerCompanyService/autointegration/{id}" (HTTP-DELETE) 2. The PartnerCompanyView must contain the following fields: - name: Country type: Country - name: Industry type: STRING - name: Name type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing PartnerCompany entity should be loaded from the relative URL: "/PartnerCompanyService/partnercompany/{id}" (HTTP-GET) If a new PartnerCompany entity has been created, the new entity should be posted to the relative URL: "/PartnerCompanyService/partnercompany" (HTTP-POST) If an existing PartnerCompany entity has been updated, the modified entity should be sent to the relative URL: "/PartnerCompanyService/partnercompany/{id}" (HTTP-PUT) If an existing PartnerCompany entity has to be deleted, the following relative URL should be called: "/PartnerCompanyService/partnercompany/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AutoIntegration columns: - column: StartYear - column: IntegrationType - column: ModelName - column: PartnerCompany The table should have the title "AutoIntegrations" und the data must be loaded from the server with the following relative URL: "/PartnerCompanyService/autointegration/partnercompany/{id}" Add a HTML table to the view with the following TelcoPartnership columns: - column: StartDate - column: Country - column: PartnerCompany - column: EndDate - column: Name - column: IncludesZeroRating The table should have the title "TelcoPartnerships" und the data must be loaded from the server with the following relative URL: "/PartnerCompanyService/telcopartnership/partnercompany/{id}" Add a HTML table to the view with the following SmartDeviceIntegration columns: - column: SupportsVoice - column: PartnerCompany - column: DeviceType - column: SupportsSpotifyConnect The table should have the title "SmartDeviceIntegrations" und the data must be loaded from the server with the following relative URL: "/PartnerCompanyService/smartdeviceintegration/partnercompany/{id}" 3. The SmartDeviceIntegrationView must contain the following fields: - name: DeviceType type: Device - name: PartnerCompany type: PartnerCompany - name: SupportsSpotifyConnect type: BOOL - name: SupportsVoice type: BOOL The data source for the [PartnerCompany] select control should be loaded from the relative URL: "/PartnerCompanyService/partnercompany" (HTTP-GET) The data source for the [DeviceType] select control should be loaded from the relative URL: "/DeviceService/device" (HTTP-GET) An existing SmartDeviceIntegration entity should be loaded from the relative URL: "/PartnerCompanyService/smartdeviceintegration/{id}" (HTTP-GET) If a new SmartDeviceIntegration entity has been created, the new entity should be posted to the relative URL: "/PartnerCompanyService/smartdeviceintegration" (HTTP-POST) If an existing SmartDeviceIntegration entity has been updated, the modified entity should be sent to the relative URL: "/PartnerCompanyService/smartdeviceintegration/{id}" (HTTP-PUT) If an existing SmartDeviceIntegration entity has to be deleted, the following relative URL should be called: "/PartnerCompanyService/smartdeviceintegration/{id}" (HTTP-DELETE) 4. The TelcoPartnershipView must contain the following fields: - name: Country type: Country - name: EndDate type: DATE - name: IncludesZeroRating type: BOOL - name: Name type: STRING - name: PartnerCompany type: PartnerCompany - name: StartDate type: DATE The data source for the [PartnerCompany] select control should be loaded from the relative URL: "/PartnerCompanyService/partnercompany" (HTTP-GET) The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing TelcoPartnership entity should be loaded from the relative URL: "/PartnerCompanyService/telcopartnership/{id}" (HTTP-GET) If a new TelcoPartnership entity has been created, the new entity should be posted to the relative URL: "/PartnerCompanyService/telcopartnership" (HTTP-POST) If an existing TelcoPartnership entity has been updated, the modified entity should be sent to the relative URL: "/PartnerCompanyService/telcopartnership/{id}" (HTTP-PUT) If an existing TelcoPartnership entity has to be deleted, the following relative URL should be called: "/PartnerCompanyService/telcopartnership/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint