Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BookView
Please create a React-JS view called "BookView" for the fields of the Book entity. The BookView must contain the following fields: - name: Author type: STRING - name: Title type: STRING - name: AgeGroup type: AgeGroup - name: BookID type: STRING - name: Price type: DOUBLE The data source for the [AgeGroup] select control should be loaded from the relative URL: "/AgeGroupService/agegroup" (HTTP-GET) An existing Book entity should be loaded from the relative URL: "/AgeGroupService/book/{id}" (HTTP-GET) If a new Book entity has been created, the new entity should be posted to the relative URL: "/AgeGroupService/book" (HTTP-POST) If an existing Book entity has been updated, the modified entity should be sent to the relative URL: "/AgeGroupService/book/{id}" (HTTP-PUT) If an existing Book entity has to be deleted, the following relative URL should be called: "/AgeGroupService/book/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BookRental columns: - column: Student - column: Library - column: FromDate - column: Teacher - column: ReservationDate - column: Book - column: ToDate The table should have the title "BookRentals" und the data must be loaded from the server with the following relative URL: "/LibraryService/bookrental/book/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum