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: City type: STRING - name: Country type: STRING - name: CreatedAt type: DATE - name: DateOfBirth type: DATE - name: Email type: STRING - name: FirstName type: STRING - name: LastName type: STRING - name: NewsletterOptIn type: BOOL - name: Phone type: STRING - name: PostalCode type: STRING - name: Street 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 ContactMessage columns: - column: SourcePage - column: MessageText - column: Status - column: Phone - column: CreatedAt - column: Customer - column: Name - column: Email - column: Subject The table should have the title "ContactMessages" und the data must be loaded from the server with the following relative URL: "/InvoiceService/contactmessage/customer/{id}" Add a HTML table to the view with the following Membership columns: - column: AutoRenew - column: EndDate - column: StartDate - column: CreatedAt - column: MembershipType - column: Customer - column: Status The table should have the title "Memberships" und the data must be loaded from the server with the following relative URL: "/MembershipTypeService/membership/customer/{id}" Add a HTML table to the view with the following Invoice columns: - column: TotalGross - column: CreatedAt - column: Customer - column: TaxAmount - column: Status - column: InvoiceDate - column: TotalNet - column: DueDate - column: InvoiceNumber The table should have the title "Invoices" und the data must be loaded from the server with the following relative URL: "/InvoiceService/invoice/customer/{id}" Add a HTML table to the view with the following BookingParticipant columns: - column: Booking - column: IsMainPayer - column: Customer - column: GuestName The table should have the title "BookingParticipants" und the data must be loaded from the server with the following relative URL: "/CustomerService/bookingparticipant/customer/{id}" Add a HTML table to the view with the following TrainingParticipant columns: - column: Role - column: Customer - column: TrainingSession - column: RegisteredAt - column: PriceOverride The table should have the title "TrainingParticipants" und the data must be loaded from the server with the following relative URL: "/TrainingSessionService/trainingparticipant/customer/{id}" Add a HTML table to the view with the following EventRegistration columns: - column: Status - column: Customer - column: RegisteredAt - column: TeamName - column: Comment - column: Event The table should have the title "EventRegistrations" und the data must be loaded from the server with the following relative URL: "/CustomerService/eventregistration/customer/{id}" Add a HTML table to the view with the following Booking columns: - column: CreatedAt - column: EndDateTime - column: Customer - column: BookingType - column: Source - column: Sport - column: Court - column: Status - column: Comment - column: StartDateTime 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}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum