Overview
Summary
Contact
Donate
Imprint
Prompt for the
PaymentView
Please create a React-JS view called "PaymentView" for the fields of the Payment entity. The PaymentView must contain the following fields: - name: Amount type: STRING - name: Booking type: Booking - name: Currency type: STRING - name: PaymentDateTime type: DATE - name: PaymentMethod type: STRING - name: Status type: STRING - name: TransactionReference type: STRING The data source for the [Booking] select control should be loaded from the relative URL: "/CustomerService/booking" (HTTP-GET) An existing Payment entity should be loaded from the relative URL: "/CustomerService/payment/{id}" (HTTP-GET) If a new Payment entity has been created, the new entity should be posted to the relative URL: "/CustomerService/payment" (HTTP-POST) If an existing Payment entity has been updated, the modified entity should be sent to the relative URL: "/CustomerService/payment/{id}" (HTTP-PUT) If an existing Payment entity has to be deleted, the following relative URL should be called: "/CustomerService/payment/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint