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