Overview
Summary
Contact
Donate
Imprint
Prompt for the
BusinessSegmentView
Please create a React-JS view called "BusinessSegmentView" for the fields of the BusinessSegment entity. The BusinessSegmentView must contain the following fields: - name: Company type: Company - name: EndYear type: INT - name: SegmentDescription type: STRING - name: SegmentName type: STRING - name: StartYear type: INT The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing BusinessSegment entity should be loaded from the relative URL: "/BusinessSegmentService/businesssegment/{id}" (HTTP-GET) If a new BusinessSegment entity has been created, the new entity should be posted to the relative URL: "/BusinessSegmentService/businesssegment" (HTTP-POST) If an existing BusinessSegment entity has been updated, the modified entity should be sent to the relative URL: "/BusinessSegmentService/businesssegment/{id}" (HTTP-PUT) If an existing BusinessSegment entity has to be deleted, the following relative URL should be called: "/BusinessSegmentService/businesssegment/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Product columns: - column: ProductName - column: ProductType - column: DiscontinuedYear - column: Company - column: BusinessSegment - column: Description - column: LaunchYear The table should have the title "Products" und the data must be loaded from the server with the following relative URL: "/CompanyService/product/businesssegment/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint