Overview
Summary
Contact
Donate
Imprint
Prompt for the
AddressView
Please create a React-JS view called "AddressView" for the fields of the Address entity. 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}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint