Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PurchaseListView
Please create a React-JS view called "PurchaseListView" for the fields of the PurchaseList entity. The PurchaseListView must contain the following fields: - name: PurchaseDate type: DATE - name: Buyer type: ExternalPerson - name: BuyingTeacher type: Teacher - name: Distributor type: Distributor The data source for the [Distributor] select control should be loaded from the relative URL: "/PurchaseListService/distributor" (HTTP-GET) The data source for the [Buyer] select control should be loaded from the relative URL: "/ExternalPersonService/externalperson" (HTTP-GET) The data source for the [BuyingTeacher] select control should be loaded from the relative URL: "/StudentService/teacher" (HTTP-GET) An existing PurchaseList entity should be loaded from the relative URL: "/PurchaseListService/purchaselist/{id}" (HTTP-GET) If a new PurchaseList entity has been created, the new entity should be posted to the relative URL: "/PurchaseListService/purchaselist" (HTTP-POST) If an existing PurchaseList entity has been updated, the modified entity should be sent to the relative URL: "/PurchaseListService/purchaselist/{id}" (HTTP-PUT) If an existing PurchaseList entity has to be deleted, the following relative URL should be called: "/PurchaseListService/purchaselist/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PurchaseListItem columns: - column: PurchaseList - column: Price - column: FoodStuff - column: Amount The table should have the title "PurchaseListItems" und the data must be loaded from the server with the following relative URL: "/PurchaseListService/purchaselistitem/purchaselist/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum