Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
CustomerView
Please create a React-JS view called "CustomerView" for the fields of the Customer entity. The CustomerView must contain the following fields: - name: CreatedAt type: DATE - name: Email type: STRING - name: FirstName type: STRING - name: LastName type: STRING - name: PhoneNumber type: STRING An existing Customer entity should be loaded from the relative URL: "/CustomerService/customer/{id}" (HTTP-GET) If a new Customer entity has been created, the new entity should be posted to the relative URL: "/CustomerService/customer" (HTTP-POST) If an existing Customer entity has been updated, the modified entity should be sent to the relative URL: "/CustomerService/customer/{id}" (HTTP-PUT) If an existing Customer entity has to be deleted, the following relative URL should be called: "/CustomerService/customer/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Booking columns: - column: BookingNumber - column: Currency - column: BookingDate - column: Status - column: Customer - column: TotalAmount The table should have the title "Bookings" und the data must be loaded from the server with the following relative URL: "/CustomerService/booking/customer/{id}" Add a HTML table to the view with the following ConferenceBooking columns: - column: Description - column: ConferenceRoom - column: Customer - column: EndDateTime - column: Title - column: StartDateTime - column: Status - column: AttendeeCount - column: CreatedAt The table should have the title "ConferenceBookings" und the data must be loaded from the server with the following relative URL: "/CustomerService/conferencebooking/customer/{id}" Add a HTML table to the view with the following CustomerAddress columns: - column: Country - column: IsPrimary - column: City - column: PostalCode - column: Label - column: Customer - column: Street The table should have the title "CustomerAddresss" und the data must be loaded from the server with the following relative URL: "/CustomerService/customeraddress/customer/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum