Overview
Summary
Contact
Donate
Imprint
Prompt for the
FulfillmentCenterApp
Please create a React-JS application for the FulfillmentCenterModule. The application has to offer the following views for the user interface: 1. AddressView 2. CarrierView 3. CountryView 4. FulfillmentCenterView 5. ShipmentView 6. ShipmentItemView The views have to be reachable for the user via a menu list at the left side of each view. The requirements for the 6 views are defined below. 1. The AddressView must contain the following fields: - name: City type: STRING - name: Country type: Country - name: CreatedAt type: DATE - name: Line1 type: STRING - name: Line2 type: STRING - name: PostalCode type: STRING - name: StateRegion type: STRING - name: UpdatedAt type: DATE The data source for the [Country] select control should be loaded from the relative URL: "/FulfillmentCenterService/country" (HTTP-GET) An existing Address entity should be loaded from the relative URL: "/FulfillmentCenterService/address/{id}" (HTTP-GET) If a new Address entity has been created, the new entity should be posted to the relative URL: "/FulfillmentCenterService/address" (HTTP-POST) If an existing Address entity has been updated, the modified entity should be sent to the relative URL: "/FulfillmentCenterService/address/{id}" (HTTP-PUT) If an existing Address entity has to be deleted, the following relative URL should be called: "/FulfillmentCenterService/address/{id}" (HTTP-DELETE) Add a HTML table to the view with the following FulfillmentCenter columns: - column: CreatedAt - column: Code - column: UpdatedAt - column: Address - column: Name The table should have the title "FulfillmentCenters" und the data must be loaded from the server with the following relative URL: "/FulfillmentCenterService/fulfillmentcenter/address/{id}" 2. 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}" 3. The CountryView must contain the following fields: - name: IsoCode2 type: STRING - name: IsoCode3 type: STRING - name: Name type: STRING An existing Country entity should be loaded from the relative URL: "/FulfillmentCenterService/country/{id}" (HTTP-GET) If a new Country entity has been created, the new entity should be posted to the relative URL: "/FulfillmentCenterService/country" (HTTP-POST) If an existing Country entity has been updated, the modified entity should be sent to the relative URL: "/FulfillmentCenterService/country/{id}" (HTTP-PUT) If an existing Country entity has to be deleted, the following relative URL should be called: "/FulfillmentCenterService/country/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Address columns: - column: Line2 - column: CreatedAt - column: City - column: Country - column: PostalCode - column: StateRegion - column: Line1 - column: UpdatedAt The table should have the title "Addresss" und the data must be loaded from the server with the following relative URL: "/FulfillmentCenterService/address/country/{id}" 4. The FulfillmentCenterView must contain the following fields: - name: Address type: Address - name: Code type: STRING - name: CreatedAt type: DATE - name: Name type: STRING - name: UpdatedAt type: DATE The data source for the [Address] select control should be loaded from the relative URL: "/FulfillmentCenterService/address" (HTTP-GET) An existing FulfillmentCenter entity should be loaded from the relative URL: "/FulfillmentCenterService/fulfillmentcenter/{id}" (HTTP-GET) If a new FulfillmentCenter entity has been created, the new entity should be posted to the relative URL: "/FulfillmentCenterService/fulfillmentcenter" (HTTP-POST) If an existing FulfillmentCenter entity has been updated, the modified entity should be sent to the relative URL: "/FulfillmentCenterService/fulfillmentcenter/{id}" (HTTP-PUT) If an existing FulfillmentCenter entity has to be deleted, the following relative URL should be called: "/FulfillmentCenterService/fulfillmentcenter/{id}" (HTTP-DELETE) Add a HTML table to the view with the following InventoryItem columns: - column: QuantityOnHand - column: Offer - column: UpdatedAt - column: QuantityReserved - column: FulfillmentCenter The table should have the title "InventoryItems" und the data must be loaded from the server with the following relative URL: "/OfferService/inventoryitem/fulfillmentcenter/{id}" 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/fulfillmentcenter/{id}" 5. 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}" 6. The ShipmentItemView must contain the following fields: - name: OrderItem type: OrderItem - name: Quantity type: LONG - name: Shipment type: Shipment The data source for the [OrderItem] select control should be loaded from the relative URL: "/ReturnRequestService/orderitem" (HTTP-GET) The data source for the [Shipment] select control should be loaded from the relative URL: "/FulfillmentCenterService/shipment" (HTTP-GET) An existing ShipmentItem entity should be loaded from the relative URL: "/FulfillmentCenterService/shipmentitem/{id}" (HTTP-GET) If a new ShipmentItem entity has been created, the new entity should be posted to the relative URL: "/FulfillmentCenterService/shipmentitem" (HTTP-POST) If an existing ShipmentItem entity has been updated, the modified entity should be sent to the relative URL: "/FulfillmentCenterService/shipmentitem/{id}" (HTTP-PUT) If an existing ShipmentItem entity has to be deleted, the following relative URL should be called: "/FulfillmentCenterService/shipmentitem/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint