Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
EducationCouponApp
Please create a React-JS application for the EducationCouponModule. The application has to offer the following views for the user interface: 1. CouponEncashmentView 2. EducationCouponView 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 CouponEncashmentView must contain the following fields: - name: LearningOpportunity type: LearningOpportunity - name: EducationCoupon type: EducationCoupon The data source for the [LearningOpportunity] select control should be loaded from the relative URL: "/AddressService/learningopportunity" (HTTP-GET) The data source for the [EducationCoupon] select control should be loaded from the relative URL: "/EducationCouponService/educationcoupon" (HTTP-GET) An existing CouponEncashment entity should be loaded from the relative URL: "/EducationCouponService/couponencashment/{id}" (HTTP-GET) If a new CouponEncashment entity has been created, the new entity should be posted to the relative URL: "/EducationCouponService/couponencashment" (HTTP-POST) If an existing CouponEncashment entity has been updated, the modified entity should be sent to the relative URL: "/EducationCouponService/couponencashment/{id}" (HTTP-PUT) If an existing CouponEncashment entity has to be deleted, the following relative URL should be called: "/EducationCouponService/couponencashment/{id}" (HTTP-DELETE) 2. The EducationCouponView must contain the following fields: - name: Amount type: DOUBLE - name: ToDate type: DATE - name: FromDate type: DATE - name: Student type: Student The data source for the [Student] select control should be loaded from the relative URL: "/StudentService/student" (HTTP-GET) An existing EducationCoupon entity should be loaded from the relative URL: "/EducationCouponService/educationcoupon/{id}" (HTTP-GET) If a new EducationCoupon entity has been created, the new entity should be posted to the relative URL: "/EducationCouponService/educationcoupon" (HTTP-POST) If an existing EducationCoupon entity has been updated, the modified entity should be sent to the relative URL: "/EducationCouponService/educationcoupon/{id}" (HTTP-PUT) If an existing EducationCoupon entity has to be deleted, the following relative URL should be called: "/EducationCouponService/educationcoupon/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CouponEncashment columns: - column: LearningOpportunity - column: EducationCoupon The table should have the title "CouponEncashments" und the data must be loaded from the server with the following relative URL: "/EducationCouponService/couponencashment/educationcoupon/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum