Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BudgetPositionView
Please create a React-JS view called "BudgetPositionView" for the fields of the BudgetPosition entity. The BudgetPositionView must contain the following fields: - name: PositionAgent type: Teacher - name: Budget type: Budget - name: PositionID type: STRING - name: ShortName type: STRING - name: Target type: DOUBLE The data source for the [PositionAgent] select control should be loaded from the relative URL: "/StudentService/teacher" (HTTP-GET) The data source for the [Budget] select control should be loaded from the relative URL: "/TimePeriodService/budget" (HTTP-GET) An existing BudgetPosition entity should be loaded from the relative URL: "/ProductService/budgetposition/{id}" (HTTP-GET) If a new BudgetPosition entity has been created, the new entity should be posted to the relative URL: "/ProductService/budgetposition" (HTTP-POST) If an existing BudgetPosition entity has been updated, the modified entity should be sent to the relative URL: "/ProductService/budgetposition/{id}" (HTTP-PUT) If an existing BudgetPosition entity has to be deleted, the following relative URL should be called: "/ProductService/budgetposition/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BudgetPositionItem columns: - column: Sum - column: BudgetPosition - column: Product - column: Amount The table should have the title "BudgetPositionItems" und the data must be loaded from the server with the following relative URL: "/ProductService/budgetpositionitem/budgetposition/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum