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 Membership columns: - column: MembershipType - column: Status - column: CreatedAt - column: Customer - column: EndDate - column: AutoRenew - column: StartDate The table should have the title "Memberships" und the data must be loaded from the server with the following relative URL: "/CustomerService/membership/customer/{id}" Add a HTML table to the view with the following TrainingParticipant columns: - column: RegisteredAt - column: TrainingSession - column: Customer - column: PriceOverride - column: Role The table should have the title "TrainingParticipants" und the data must be loaded from the server with the following relative URL: "/CustomerService/trainingparticipant/customer/{id}" Add a HTML table to the view with the following ContactMessage columns: - column: Phone - column: SourcePage - column: Customer - column: MessageText - column: Name - column: CreatedAt - column: Status - column: Subject - column: Email 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 EventRegistration columns: - column: TeamName - column: Comment - column: RegisteredAt - column: Status - column: Event - column: Customer 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: BookingType - column: Court - column: EndDateTime - column: Status - column: Source - column: Comment - column: CreatedAt - column: StartDateTime - column: Customer - column: Sport The table should have the title "Bookings" und the data must be loaded from the server with the following relative URL: "/SportService/booking/customer/{id}" Add a HTML table to the view with the following Invoice columns: - column: Status - column: TotalNet - column: InvoiceNumber - column: DueDate - column: TaxAmount - column: TotalGross - column: Customer - column: InvoiceDate - column: CreatedAt 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: GuestName - column: Customer - column: IsMainPayer - column: Booking The table should have the title "BookingParticipants" und the data must be loaded from the server with the following relative URL: "/CoachService/bookingparticipant/customer/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum