Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
TimePeriodApp
Please create a React-JS application for the TimePeriodModule. The application has to offer the following views for the user interface: 1. BudgetView 2. TimePeriodView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 2 views are defined below. 1. The BudgetView must contain the following fields: - name: School type: School - name: TimePeriod type: TimePeriod The data source for the [School] select control should be loaded from the relative URL: "/SchoolService/school" (HTTP-GET) The data source for the [TimePeriod] select control should be loaded from the relative URL: "/TimePeriodService/timeperiod" (HTTP-GET) An existing Budget entity should be loaded from the relative URL: "/TimePeriodService/budget/{id}" (HTTP-GET) If a new Budget entity has been created, the new entity should be posted to the relative URL: "/TimePeriodService/budget" (HTTP-POST) If an existing Budget entity has been updated, the modified entity should be sent to the relative URL: "/TimePeriodService/budget/{id}" (HTTP-PUT) If an existing Budget entity has to be deleted, the following relative URL should be called: "/TimePeriodService/budget/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BudgetPosition columns: - column: PositionAgent - column: Budget - column: ShortName - column: Target - column: PositionID The table should have the title "BudgetPositions" und the data must be loaded from the server with the following relative URL: "/ProductService/budgetposition/budget/{id}" 2. The TimePeriodView must contain the following fields: - name: FromDate type: DATE - name: ToDate type: DATE An existing TimePeriod entity should be loaded from the relative URL: "/TimePeriodService/timeperiod/{id}" (HTTP-GET) If a new TimePeriod entity has been created, the new entity should be posted to the relative URL: "/TimePeriodService/timeperiod" (HTTP-POST) If an existing TimePeriod entity has been updated, the modified entity should be sent to the relative URL: "/TimePeriodService/timeperiod/{id}" (HTTP-PUT) If an existing TimePeriod entity has to be deleted, the following relative URL should be called: "/TimePeriodService/timeperiod/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Budget columns: - column: TimePeriod - column: School The table should have the title "Budgets" und the data must be loaded from the server with the following relative URL: "/TimePeriodService/budget/timeperiod/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum