Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
PriceListView
Please create a React-JS view called "PriceListView" for the fields of the PriceList entity. The PriceListView must contain the following fields: - name: CreatedAt type: DATE - name: Description type: STRING - name: IsActive type: BOOL - name: Name type: STRING - name: ValidFrom type: DATE - name: ValidTo type: DATE An existing PriceList entity should be loaded from the relative URL: "/MembershipTypeService/pricelist/{id}" (HTTP-GET) If a new PriceList entity has been created, the new entity should be posted to the relative URL: "/MembershipTypeService/pricelist" (HTTP-POST) If an existing PriceList entity has been updated, the modified entity should be sent to the relative URL: "/MembershipTypeService/pricelist/{id}" (HTTP-PUT) If an existing PriceList entity has to be deleted, the following relative URL should be called: "/MembershipTypeService/pricelist/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PriceItem columns: - column: MembershipType - column: PriceList - column: Sport - column: CreatedAt - column: TimeFrom - column: PricePerHour - column: TimeTo - column: DayOfWeek - column: BookingType The table should have the title "PriceItems" und the data must be loaded from the server with the following relative URL: "/MembershipTypeService/priceitem/pricelist/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum