Overview
Summary
Contact
Donate
Imprint
Prompt for the
TravelCreditTransactionView
Please create a React-JS view called "TravelCreditTransactionView" for the fields of the TravelCreditTransaction entity. The TravelCreditTransactionView must contain the following fields: - name: Amount type: STRING - name: Booking type: INT - name: CreatedAt type: DATE - name: Currency type: Currency - name: Description type: STRING - name: Type type: STRING - name: UserAccount type: UserAccount The data source for the [Currency] select control should be loaded from the relative URL: "/CurrencyService/currency" (HTTP-GET) The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing TravelCreditTransaction entity should be loaded from the relative URL: "/UserAccountService/travelcredittransaction/{id}" (HTTP-GET) If a new TravelCreditTransaction entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/travelcredittransaction" (HTTP-POST) If an existing TravelCreditTransaction entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/travelcredittransaction/{id}" (HTTP-PUT) If an existing TravelCreditTransaction entity has to be deleted, the following relative URL should be called: "/UserAccountService/travelcredittransaction/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint