Overview
Summary
Contact
Donate
Imprint
Prompt for the
CarrierView
Please create a React-JS view called "CarrierView" for the fields of the Carrier entity. The CarrierView must contain the following fields: - name: CreatedAt type: DATE - name: Name type: STRING - name: TrackingUrlTemplate type: STRING - name: UpdatedAt type: DATE An existing Carrier entity should be loaded from the relative URL: "/FulfillmentCenterService/carrier/{id}" (HTTP-GET) If a new Carrier entity has been created, the new entity should be posted to the relative URL: "/FulfillmentCenterService/carrier" (HTTP-POST) If an existing Carrier entity has been updated, the modified entity should be sent to the relative URL: "/FulfillmentCenterService/carrier/{id}" (HTTP-PUT) If an existing Carrier entity has to be deleted, the following relative URL should be called: "/FulfillmentCenterService/carrier/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Shipment columns: - column: Status - column: CustomerOrder - column: ShippedAt - column: CreatedAt - column: Carrier - column: DeliveredAt - column: TrackingNumber - column: FulfillmentCenter The table should have the title "Shipments" und the data must be loaded from the server with the following relative URL: "/FulfillmentCenterService/shipment/carrier/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint