GET api/Ordering?Restaurant_Code={Restaurant_Code}&MenusType={MenusType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Restaurant_Code

string

Required

MenusType

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Grouped
NameDescriptionTypeAdditional information
MenuType_Code

string

None.

MenuType_Name

string

None.

Productds

Collection of Productds

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "MenuType_Code": "sample string 1",
    "MenuType_Name": "sample string 2",
    "Productds": [
      {
        "Category_Code": "sample string 1",
        "Category_Name": "sample string 2",
        "MenuItem_Code": "sample string 3",
        "MenuItem_Name": "sample string 4",
        "Restaurant_Code": "sample string 5",
        "Menu_Type": "sample string 6",
        "MenuType_Name": "sample string 7",
        "Base_Unit": "sample string 8",
        "Sale_Price": 9.1,
        "Tax_Code": "sample string 10",
        "Alt_Unit1": "sample string 11",
        "Alt1_Price": 12.1,
        "Alt_Unit2": "sample string 13",
        "Alt2_Price": 14.1,
        "Alt_Unit3": "sample string 15",
        "Alt3_Price": 16.1,
        "Alt_Unit4": "sample string 17",
        "Alt4_Price": 18.1
      },
      {
        "Category_Code": "sample string 1",
        "Category_Name": "sample string 2",
        "MenuItem_Code": "sample string 3",
        "MenuItem_Name": "sample string 4",
        "Restaurant_Code": "sample string 5",
        "Menu_Type": "sample string 6",
        "MenuType_Name": "sample string 7",
        "Base_Unit": "sample string 8",
        "Sale_Price": 9.1,
        "Tax_Code": "sample string 10",
        "Alt_Unit1": "sample string 11",
        "Alt1_Price": 12.1,
        "Alt_Unit2": "sample string 13",
        "Alt2_Price": 14.1,
        "Alt_Unit3": "sample string 15",
        "Alt3_Price": 16.1,
        "Alt_Unit4": "sample string 17",
        "Alt4_Price": 18.1
      }
    ]
  },
  {
    "MenuType_Code": "sample string 1",
    "MenuType_Name": "sample string 2",
    "Productds": [
      {
        "Category_Code": "sample string 1",
        "Category_Name": "sample string 2",
        "MenuItem_Code": "sample string 3",
        "MenuItem_Name": "sample string 4",
        "Restaurant_Code": "sample string 5",
        "Menu_Type": "sample string 6",
        "MenuType_Name": "sample string 7",
        "Base_Unit": "sample string 8",
        "Sale_Price": 9.1,
        "Tax_Code": "sample string 10",
        "Alt_Unit1": "sample string 11",
        "Alt1_Price": 12.1,
        "Alt_Unit2": "sample string 13",
        "Alt2_Price": 14.1,
        "Alt_Unit3": "sample string 15",
        "Alt3_Price": 16.1,
        "Alt_Unit4": "sample string 17",
        "Alt4_Price": 18.1
      },
      {
        "Category_Code": "sample string 1",
        "Category_Name": "sample string 2",
        "MenuItem_Code": "sample string 3",
        "MenuItem_Name": "sample string 4",
        "Restaurant_Code": "sample string 5",
        "Menu_Type": "sample string 6",
        "MenuType_Name": "sample string 7",
        "Base_Unit": "sample string 8",
        "Sale_Price": 9.1,
        "Tax_Code": "sample string 10",
        "Alt_Unit1": "sample string 11",
        "Alt1_Price": 12.1,
        "Alt_Unit2": "sample string 13",
        "Alt2_Price": 14.1,
        "Alt_Unit3": "sample string 15",
        "Alt3_Price": 16.1,
        "Alt_Unit4": "sample string 17",
        "Alt4_Price": 18.1
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrdering.Grouped xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebOrderingAPI.Models">
  <Ordering.Grouped>
    <MenuType_Code>sample string 1</MenuType_Code>
    <MenuType_Name>sample string 2</MenuType_Name>
    <Productds>
      <Ordering.Productds>
        <Alt1_Price>12.1</Alt1_Price>
        <Alt2_Price>14.1</Alt2_Price>
        <Alt3_Price>16.1</Alt3_Price>
        <Alt4_Price>18.1</Alt4_Price>
        <Alt_Unit1>sample string 11</Alt_Unit1>
        <Alt_Unit2>sample string 13</Alt_Unit2>
        <Alt_Unit3>sample string 15</Alt_Unit3>
        <Alt_Unit4>sample string 17</Alt_Unit4>
        <Base_Unit>sample string 8</Base_Unit>
        <Category_Code>sample string 1</Category_Code>
        <Category_Name>sample string 2</Category_Name>
        <MenuItem_Code>sample string 3</MenuItem_Code>
        <MenuItem_Name>sample string 4</MenuItem_Name>
        <MenuType_Name>sample string 7</MenuType_Name>
        <Menu_Type>sample string 6</Menu_Type>
        <Restaurant_Code>sample string 5</Restaurant_Code>
        <Sale_Price>9.1</Sale_Price>
        <Tax_Code>sample string 10</Tax_Code>
      </Ordering.Productds>
      <Ordering.Productds>
        <Alt1_Price>12.1</Alt1_Price>
        <Alt2_Price>14.1</Alt2_Price>
        <Alt3_Price>16.1</Alt3_Price>
        <Alt4_Price>18.1</Alt4_Price>
        <Alt_Unit1>sample string 11</Alt_Unit1>
        <Alt_Unit2>sample string 13</Alt_Unit2>
        <Alt_Unit3>sample string 15</Alt_Unit3>
        <Alt_Unit4>sample string 17</Alt_Unit4>
        <Base_Unit>sample string 8</Base_Unit>
        <Category_Code>sample string 1</Category_Code>
        <Category_Name>sample string 2</Category_Name>
        <MenuItem_Code>sample string 3</MenuItem_Code>
        <MenuItem_Name>sample string 4</MenuItem_Name>
        <MenuType_Name>sample string 7</MenuType_Name>
        <Menu_Type>sample string 6</Menu_Type>
        <Restaurant_Code>sample string 5</Restaurant_Code>
        <Sale_Price>9.1</Sale_Price>
        <Tax_Code>sample string 10</Tax_Code>
      </Ordering.Productds>
    </Productds>
  </Ordering.Grouped>
  <Ordering.Grouped>
    <MenuType_Code>sample string 1</MenuType_Code>
    <MenuType_Name>sample string 2</MenuType_Name>
    <Productds>
      <Ordering.Productds>
        <Alt1_Price>12.1</Alt1_Price>
        <Alt2_Price>14.1</Alt2_Price>
        <Alt3_Price>16.1</Alt3_Price>
        <Alt4_Price>18.1</Alt4_Price>
        <Alt_Unit1>sample string 11</Alt_Unit1>
        <Alt_Unit2>sample string 13</Alt_Unit2>
        <Alt_Unit3>sample string 15</Alt_Unit3>
        <Alt_Unit4>sample string 17</Alt_Unit4>
        <Base_Unit>sample string 8</Base_Unit>
        <Category_Code>sample string 1</Category_Code>
        <Category_Name>sample string 2</Category_Name>
        <MenuItem_Code>sample string 3</MenuItem_Code>
        <MenuItem_Name>sample string 4</MenuItem_Name>
        <MenuType_Name>sample string 7</MenuType_Name>
        <Menu_Type>sample string 6</Menu_Type>
        <Restaurant_Code>sample string 5</Restaurant_Code>
        <Sale_Price>9.1</Sale_Price>
        <Tax_Code>sample string 10</Tax_Code>
      </Ordering.Productds>
      <Ordering.Productds>
        <Alt1_Price>12.1</Alt1_Price>
        <Alt2_Price>14.1</Alt2_Price>
        <Alt3_Price>16.1</Alt3_Price>
        <Alt4_Price>18.1</Alt4_Price>
        <Alt_Unit1>sample string 11</Alt_Unit1>
        <Alt_Unit2>sample string 13</Alt_Unit2>
        <Alt_Unit3>sample string 15</Alt_Unit3>
        <Alt_Unit4>sample string 17</Alt_Unit4>
        <Base_Unit>sample string 8</Base_Unit>
        <Category_Code>sample string 1</Category_Code>
        <Category_Name>sample string 2</Category_Name>
        <MenuItem_Code>sample string 3</MenuItem_Code>
        <MenuItem_Name>sample string 4</MenuItem_Name>
        <MenuType_Name>sample string 7</MenuType_Name>
        <Menu_Type>sample string 6</Menu_Type>
        <Restaurant_Code>sample string 5</Restaurant_Code>
        <Sale_Price>9.1</Sale_Price>
        <Tax_Code>sample string 10</Tax_Code>
      </Ordering.Productds>
    </Productds>
  </Ordering.Grouped>
</ArrayOfOrdering.Grouped>