Overview
Summary
Contact
Donate
Imprint
Prompt for the
MenuItemOptionGroupView
Please create a React-JS view called "MenuItemOptionGroupView" for the fields of the MenuItemOptionGroup entity. The MenuItemOptionGroupView must contain the following fields: - name: Description type: STRING - name: IsRequired type: BOOL - name: MaximumSelection type: LONG - name: MenuItem type: MenuItem - name: MinimumSelection type: LONG - name: Name type: STRING - name: SortOrder type: LONG The data source for the [MenuItem] select control should be loaded from the relative URL: "/MenuItemService/menuitem" (HTTP-GET) An existing MenuItemOptionGroup entity should be loaded from the relative URL: "/MenuItemOptionService/menuitemoptiongroup/{id}" (HTTP-GET) If a new MenuItemOptionGroup entity has been created, the new entity should be posted to the relative URL: "/MenuItemOptionService/menuitemoptiongroup" (HTTP-POST) If an existing MenuItemOptionGroup entity has been updated, the modified entity should be sent to the relative URL: "/MenuItemOptionService/menuitemoptiongroup/{id}" (HTTP-PUT) If an existing MenuItemOptionGroup entity has to be deleted, the following relative URL should be called: "/MenuItemOptionService/menuitemoptiongroup/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MenuItemOption columns: - column: PriceDelta - column: MaximumPerItem - column: MenuItemOptionGroup - column: Name - column: SortOrder - column: IsDefault - column: Description The table should have the title "MenuItemOptions" und the data must be loaded from the server with the following relative URL: "/MenuItemOptionService/menuitemoption/menuitemoptiongroup/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint