Overview
Summary
Contact
Donate
Imprint
Prompt for the
UserTerminalApp
Please create a React-JS application for the UserTerminalModule. The application has to offer the following views for the user interface: 1. CustomerView 2. CustomerUserTerminalView 3. UserTerminalView 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 CustomerView must contain the following fields: - name: Country type: STRING - name: CustomerType type: STRING - name: EstimatedCount type: INT - name: Region type: STRING - name: StartDate type: DATE An existing Customer entity should be loaded from the relative URL: "/UserTerminalService/customer/{id}" (HTTP-GET) If a new Customer entity has been created, the new entity should be posted to the relative URL: "/UserTerminalService/customer" (HTTP-POST) If an existing Customer entity has been updated, the modified entity should be sent to the relative URL: "/UserTerminalService/customer/{id}" (HTTP-PUT) If an existing Customer entity has to be deleted, the following relative URL should be called: "/UserTerminalService/customer/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CustomerUserTerminal columns: - column: Customer - column: UserTerminal The table should have the title "CustomerUserTerminals" und the data must be loaded from the server with the following relative URL: "/UserTerminalService/customeruserterminal/customer/{id}" 2. The CustomerUserTerminalView must contain the following fields: - name: Customer type: Customer - name: UserTerminal type: UserTerminal The data source for the [Customer] select control should be loaded from the relative URL: "/UserTerminalService/customer" (HTTP-GET) The data source for the [UserTerminal] select control should be loaded from the relative URL: "/UserTerminalService/userterminal" (HTTP-GET) An existing CustomerUserTerminal entity should be loaded from the relative URL: "/UserTerminalService/customeruserterminal/{id}" (HTTP-GET) If a new CustomerUserTerminal entity has been created, the new entity should be posted to the relative URL: "/UserTerminalService/customeruserterminal" (HTTP-POST) If an existing CustomerUserTerminal entity has been updated, the modified entity should be sent to the relative URL: "/UserTerminalService/customeruserterminal/{id}" (HTTP-PUT) If an existing CustomerUserTerminal entity has to be deleted, the following relative URL should be called: "/UserTerminalService/customeruserterminal/{id}" (HTTP-DELETE) 3. The UserTerminalView must contain the following fields: - name: AntennaType type: STRING - name: DiameterCm type: DOUBLE - name: GNSSReceiverCount type: INT - name: HasMotors type: BOOL - name: Model type: STRING - name: Notes type: STRING - name: ProductionLocation type: STRING - name: ProductionStart type: DATE An existing UserTerminal entity should be loaded from the relative URL: "/UserTerminalService/userterminal/{id}" (HTTP-GET) If a new UserTerminal entity has been created, the new entity should be posted to the relative URL: "/UserTerminalService/userterminal" (HTTP-POST) If an existing UserTerminal entity has been updated, the modified entity should be sent to the relative URL: "/UserTerminalService/userterminal/{id}" (HTTP-PUT) If an existing UserTerminal entity has to be deleted, the following relative URL should be called: "/UserTerminalService/userterminal/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CustomerUserTerminal columns: - column: Customer - column: UserTerminal The table should have the title "CustomerUserTerminals" und the data must be loaded from the server with the following relative URL: "/UserTerminalService/customeruserterminal/userterminal/{id}" Add a HTML table to the view with the following RegulatoryApprovalUserTerminal columns: - column: RegulatoryApproval - column: UserTerminal The table should have the title "RegulatoryApprovalUserTerminals" und the data must be loaded from the server with the following relative URL: "/RegulatoryApprovalService/regulatoryapprovaluserterminal/userterminal/{id}" Add a HTML table to the view with the following UserTerminalFrequencyBand columns: - column: FrequencyBand - column: UserTerminal The table should have the title "UserTerminalFrequencyBands" und the data must be loaded from the server with the following relative URL: "/FrequencyBandService/userterminalfrequencyband/userterminal/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint