Overview
Summary
Contact
Donate
Imprint
Prompt for the
RiderAccountView
Please create a React-JS view called "RiderAccountView" for the fields of the RiderAccount entity. The RiderAccountView must contain the following fields: - name: DefaultPaymentMethod type: LONG - name: Notes type: STRING - name: PlatformUser type: PlatformUser - name: Rating type: DOUBLE The data source for the [PlatformUser] select control should be loaded from the relative URL: "/PlatformUserService/platformuser" (HTTP-GET) An existing RiderAccount entity should be loaded from the relative URL: "/PlatformUserService/rideraccount/{id}" (HTTP-GET) If a new RiderAccount entity has been created, the new entity should be posted to the relative URL: "/PlatformUserService/rideraccount" (HTTP-POST) If an existing RiderAccount entity has been updated, the modified entity should be sent to the relative URL: "/PlatformUserService/rideraccount/{id}" (HTTP-PUT) If an existing RiderAccount entity has to be deleted, the following relative URL should be called: "/PlatformUserService/rideraccount/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Trip columns: - column: CompletedAt - column: RequestedAt - column: PriceCurrency - column: Service - column: StartedAt - column: AcceptedAt - column: DurationMinutes - column: DriverAccount - column: Status - column: DistanceKm - column: PriceAmount - column: RiderAccount - column: OriginCity - column: Vehicle - column: CanceledAt - column: DestinationCity The table should have the title "Trips" und the data must be loaded from the server with the following relative URL: "/VehicleService/trip/rideraccount/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint