GET api/Food/GetAllFoodItemsAtChef

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of R_Food_Item_Collection
NameDescriptionTypeAdditional information
CollectionNameID

integer

None.

CollectionName

string

None.

Food_Item

Collection of R_Food_Item

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "collectionNameID": 1,
    "collectionName": "sample string 1",
    "food_Item": [
      {
        "foodOnline": "YES",
        "foodImageURL": "sample string 1",
        "foodCollectionName": "sample string 2",
        "portionPrice": "sample string 3",
        "listingIDs": [
          1,
          1
        ],
        "nutriMeter": 4.0,
        "tastyMeter": 5.0,
        "reviewCount": 6,
        "foodItemID": 7,
        "foodItemEthnicityName": "sample string 8",
        "foodImageID": 9,
        "foodItemTypeName": "sample string 10",
        "foodItemKitchenID": 11,
        "foodItemName": "sample string 12",
        "foodItemDescription": "sample string 13",
        "foodItemStorage": "sample string 14",
        "foodItemWarnings": "sample string 15",
        "ingrediants": "sample string 16",
        "spicyLevel": 17,
        "foodItemLife": 18,
        "foodItemOtherInfo": "sample string 19",
        "foodCollectionNameID": 20
      },
      {
        "foodOnline": "YES",
        "foodImageURL": "sample string 1",
        "foodCollectionName": "sample string 2",
        "portionPrice": "sample string 3",
        "listingIDs": [
          1,
          1
        ],
        "nutriMeter": 4.0,
        "tastyMeter": 5.0,
        "reviewCount": 6,
        "foodItemID": 7,
        "foodItemEthnicityName": "sample string 8",
        "foodImageID": 9,
        "foodItemTypeName": "sample string 10",
        "foodItemKitchenID": 11,
        "foodItemName": "sample string 12",
        "foodItemDescription": "sample string 13",
        "foodItemStorage": "sample string 14",
        "foodItemWarnings": "sample string 15",
        "ingrediants": "sample string 16",
        "spicyLevel": 17,
        "foodItemLife": 18,
        "foodItemOtherInfo": "sample string 19",
        "foodCollectionNameID": 20
      }
    ]
  },
  {
    "collectionNameID": 1,
    "collectionName": "sample string 1",
    "food_Item": [
      {
        "foodOnline": "YES",
        "foodImageURL": "sample string 1",
        "foodCollectionName": "sample string 2",
        "portionPrice": "sample string 3",
        "listingIDs": [
          1,
          1
        ],
        "nutriMeter": 4.0,
        "tastyMeter": 5.0,
        "reviewCount": 6,
        "foodItemID": 7,
        "foodItemEthnicityName": "sample string 8",
        "foodImageID": 9,
        "foodItemTypeName": "sample string 10",
        "foodItemKitchenID": 11,
        "foodItemName": "sample string 12",
        "foodItemDescription": "sample string 13",
        "foodItemStorage": "sample string 14",
        "foodItemWarnings": "sample string 15",
        "ingrediants": "sample string 16",
        "spicyLevel": 17,
        "foodItemLife": 18,
        "foodItemOtherInfo": "sample string 19",
        "foodCollectionNameID": 20
      },
      {
        "foodOnline": "YES",
        "foodImageURL": "sample string 1",
        "foodCollectionName": "sample string 2",
        "portionPrice": "sample string 3",
        "listingIDs": [
          1,
          1
        ],
        "nutriMeter": 4.0,
        "tastyMeter": 5.0,
        "reviewCount": 6,
        "foodItemID": 7,
        "foodItemEthnicityName": "sample string 8",
        "foodImageID": 9,
        "foodItemTypeName": "sample string 10",
        "foodItemKitchenID": 11,
        "foodItemName": "sample string 12",
        "foodItemDescription": "sample string 13",
        "foodItemStorage": "sample string 14",
        "foodItemWarnings": "sample string 15",
        "ingrediants": "sample string 16",
        "spicyLevel": 17,
        "foodItemLife": 18,
        "foodItemOtherInfo": "sample string 19",
        "foodCollectionNameID": 20
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfR_Food_Item_Collection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <R_Food_Item_Collection>
    <CollectionName>sample string 1</CollectionName>
    <CollectionNameID>1</CollectionNameID>
    <Food_Item>
      <R_Food_Item>
        <FoodCollectionNameID>20</FoodCollectionNameID>
        <FoodImageID>9</FoodImageID>
        <FoodItemDescription>sample string 13</FoodItemDescription>
        <FoodItemEthnicityName>sample string 8</FoodItemEthnicityName>
        <FoodItemKitchenID>11</FoodItemKitchenID>
        <FoodItemLife>18</FoodItemLife>
        <FoodItemName>sample string 12</FoodItemName>
        <FoodItemOtherInfo>sample string 19</FoodItemOtherInfo>
        <FoodItemStorage>sample string 14</FoodItemStorage>
        <FoodItemTypeName>sample string 10</FoodItemTypeName>
        <FoodItemWarnings>sample string 15</FoodItemWarnings>
        <Ingrediants>sample string 16</Ingrediants>
        <SpicyLevel>17</SpicyLevel>
        <FoodItemID>7</FoodItemID>
        <FoodCollectionName>sample string 2</FoodCollectionName>
        <FoodImageURL>sample string 1</FoodImageURL>
        <FoodOnline>YES</FoodOnline>
        <ListingIDs xmlns:d5p1="http://schemas.datacontract.org/2004/07/System">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>1</d5p1:long>
        </ListingIDs>
        <NutriMeter>4</NutriMeter>
        <PortionPrice>sample string 3</PortionPrice>
        <ReviewCount>6</ReviewCount>
        <TastyMeter>5</TastyMeter>
      </R_Food_Item>
      <R_Food_Item>
        <FoodCollectionNameID>20</FoodCollectionNameID>
        <FoodImageID>9</FoodImageID>
        <FoodItemDescription>sample string 13</FoodItemDescription>
        <FoodItemEthnicityName>sample string 8</FoodItemEthnicityName>
        <FoodItemKitchenID>11</FoodItemKitchenID>
        <FoodItemLife>18</FoodItemLife>
        <FoodItemName>sample string 12</FoodItemName>
        <FoodItemOtherInfo>sample string 19</FoodItemOtherInfo>
        <FoodItemStorage>sample string 14</FoodItemStorage>
        <FoodItemTypeName>sample string 10</FoodItemTypeName>
        <FoodItemWarnings>sample string 15</FoodItemWarnings>
        <Ingrediants>sample string 16</Ingrediants>
        <SpicyLevel>17</SpicyLevel>
        <FoodItemID>7</FoodItemID>
        <FoodCollectionName>sample string 2</FoodCollectionName>
        <FoodImageURL>sample string 1</FoodImageURL>
        <FoodOnline>YES</FoodOnline>
        <ListingIDs xmlns:d5p1="http://schemas.datacontract.org/2004/07/System">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>1</d5p1:long>
        </ListingIDs>
        <NutriMeter>4</NutriMeter>
        <PortionPrice>sample string 3</PortionPrice>
        <ReviewCount>6</ReviewCount>
        <TastyMeter>5</TastyMeter>
      </R_Food_Item>
    </Food_Item>
  </R_Food_Item_Collection>
  <R_Food_Item_Collection>
    <CollectionName>sample string 1</CollectionName>
    <CollectionNameID>1</CollectionNameID>
    <Food_Item>
      <R_Food_Item>
        <FoodCollectionNameID>20</FoodCollectionNameID>
        <FoodImageID>9</FoodImageID>
        <FoodItemDescription>sample string 13</FoodItemDescription>
        <FoodItemEthnicityName>sample string 8</FoodItemEthnicityName>
        <FoodItemKitchenID>11</FoodItemKitchenID>
        <FoodItemLife>18</FoodItemLife>
        <FoodItemName>sample string 12</FoodItemName>
        <FoodItemOtherInfo>sample string 19</FoodItemOtherInfo>
        <FoodItemStorage>sample string 14</FoodItemStorage>
        <FoodItemTypeName>sample string 10</FoodItemTypeName>
        <FoodItemWarnings>sample string 15</FoodItemWarnings>
        <Ingrediants>sample string 16</Ingrediants>
        <SpicyLevel>17</SpicyLevel>
        <FoodItemID>7</FoodItemID>
        <FoodCollectionName>sample string 2</FoodCollectionName>
        <FoodImageURL>sample string 1</FoodImageURL>
        <FoodOnline>YES</FoodOnline>
        <ListingIDs xmlns:d5p1="http://schemas.datacontract.org/2004/07/System">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>1</d5p1:long>
        </ListingIDs>
        <NutriMeter>4</NutriMeter>
        <PortionPrice>sample string 3</PortionPrice>
        <ReviewCount>6</ReviewCount>
        <TastyMeter>5</TastyMeter>
      </R_Food_Item>
      <R_Food_Item>
        <FoodCollectionNameID>20</FoodCollectionNameID>
        <FoodImageID>9</FoodImageID>
        <FoodItemDescription>sample string 13</FoodItemDescription>
        <FoodItemEthnicityName>sample string 8</FoodItemEthnicityName>
        <FoodItemKitchenID>11</FoodItemKitchenID>
        <FoodItemLife>18</FoodItemLife>
        <FoodItemName>sample string 12</FoodItemName>
        <FoodItemOtherInfo>sample string 19</FoodItemOtherInfo>
        <FoodItemStorage>sample string 14</FoodItemStorage>
        <FoodItemTypeName>sample string 10</FoodItemTypeName>
        <FoodItemWarnings>sample string 15</FoodItemWarnings>
        <Ingrediants>sample string 16</Ingrediants>
        <SpicyLevel>17</SpicyLevel>
        <FoodItemID>7</FoodItemID>
        <FoodCollectionName>sample string 2</FoodCollectionName>
        <FoodImageURL>sample string 1</FoodImageURL>
        <FoodOnline>YES</FoodOnline>
        <ListingIDs xmlns:d5p1="http://schemas.datacontract.org/2004/07/System">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>1</d5p1:long>
        </ListingIDs>
        <NutriMeter>4</NutriMeter>
        <PortionPrice>sample string 3</PortionPrice>
        <ReviewCount>6</ReviewCount>
        <TastyMeter>5</TastyMeter>
      </R_Food_Item>
    </Food_Item>
  </R_Food_Item_Collection>
</ArrayOfR_Food_Item_Collection>

multipart/form-data

Sample:
<ArrayOfR_Food_Item_Collection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><R_Food_Item_Collection><CollectionName>sample string 1</CollectionName><CollectionNameID>1</CollectionNameID><Food_Item><R_Food_Item><FoodCollectionNameID>20</FoodCollectionNameID><FoodImageID>9</FoodImageID><FoodItemDescription>sample string 13</FoodItemDescription><FoodItemEthnicityName>sample string 8</FoodItemEthnicityName><FoodItemKitchenID>11</FoodItemKitchenID><FoodItemLife>18</FoodItemLife><FoodItemName>sample string 12</FoodItemName><FoodItemOtherInfo>sample string 19</FoodItemOtherInfo><FoodItemStorage>sample string 14</FoodItemStorage><FoodItemTypeName>sample string 10</FoodItemTypeName><FoodItemWarnings>sample string 15</FoodItemWarnings><Ingrediants>sample string 16</Ingrediants><SpicyLevel>17</SpicyLevel><FoodItemID>7</FoodItemID><FoodCollectionName>sample string 2</FoodCollectionName><FoodImageURL>sample string 1</FoodImageURL><FoodOnline>YES</FoodOnline><ListingIDs xmlns:d5p1="http://schemas.datacontract.org/2004/07/System"><d5p1:long>1</d5p1:long><d5p1:long>1</d5p1:long></ListingIDs><NutriMeter>4</NutriMeter><PortionPrice>sample string 3</PortionPrice><ReviewCount>6</ReviewCount><TastyMeter>5</TastyMeter></R_Food_Item><R_Food_Item><FoodCollectionNameID>20</FoodCollectionNameID><FoodImageID>9</FoodImageID><FoodItemDescription>sample string 13</FoodItemDescription><FoodItemEthnicityName>sample string 8</FoodItemEthnicityName><FoodItemKitchenID>11</FoodItemKitchenID><FoodItemLife>18</FoodItemLife><FoodItemName>sample string 12</FoodItemName><FoodItemOtherInfo>sample string 19</FoodItemOtherInfo><FoodItemStorage>sample string 14</FoodItemStorage><FoodItemTypeName>sample string 10</FoodItemTypeName><FoodItemWarnings>sample string 15</FoodItemWarnings><Ingrediants>sample string 16</Ingrediants><SpicyLevel>17</SpicyLevel><FoodItemID>7</FoodItemID><FoodCollectionName>sample string 2</FoodCollectionName><FoodImageURL>sample string 1</FoodImageURL><FoodOnline>YES</FoodOnline><ListingIDs xmlns:d5p1="http://schemas.datacontract.org/2004/07/System"><d5p1:long>1</d5p1:long><d5p1:long>1</d5p1:long></ListingIDs><NutriMeter>4</NutriMeter><PortionPrice>sample string 3</PortionPrice><ReviewCount>6</ReviewCount><TastyMeter>5</TastyMeter></R_Food_Item></Food_Item></R_Food_Item_Collection><R_Food_Item_Collection><CollectionName>sample string 1</CollectionName><CollectionNameID>1</CollectionNameID><Food_Item><R_Food_Item><FoodCollectionNameID>20</FoodCollectionNameID><FoodImageID>9</FoodImageID><FoodItemDescription>sample string 13</FoodItemDescription><FoodItemEthnicityName>sample string 8</FoodItemEthnicityName><FoodItemKitchenID>11</FoodItemKitchenID><FoodItemLife>18</FoodItemLife><FoodItemName>sample string 12</FoodItemName><FoodItemOtherInfo>sample string 19</FoodItemOtherInfo><FoodItemStorage>sample string 14</FoodItemStorage><FoodItemTypeName>sample string 10</FoodItemTypeName><FoodItemWarnings>sample string 15</FoodItemWarnings><Ingrediants>sample string 16</Ingrediants><SpicyLevel>17</SpicyLevel><FoodItemID>7</FoodItemID><FoodCollectionName>sample string 2</FoodCollectionName><FoodImageURL>sample string 1</FoodImageURL><FoodOnline>YES</FoodOnline><ListingIDs xmlns:d5p1="http://schemas.datacontract.org/2004/07/System"><d5p1:long>1</d5p1:long><d5p1:long>1</d5p1:long></ListingIDs><NutriMeter>4</NutriMeter><PortionPrice>sample string 3</PortionPrice><ReviewCount>6</ReviewCount><TastyMeter>5</TastyMeter></R_Food_Item><R_Food_Item><FoodCollectionNameID>20</FoodCollectionNameID><FoodImageID>9</FoodImageID><FoodItemDescription>sample string 13</FoodItemDescription><FoodItemEthnicityName>sample string 8</FoodItemEthnicityName><FoodItemKitchenID>11</FoodItemKitchenID><FoodItemLife>18</FoodItemLife><FoodItemName>sample string 12</FoodItemName><FoodItemOtherInfo>sample string 19</FoodItemOtherInfo><FoodItemStorage>sample string 14</FoodItemStorage><FoodItemTypeName>sample string 10</FoodItemTypeName><FoodItemWarnings>sample string 15</FoodItemWarnings><Ingrediants>sample string 16</Ingrediants><SpicyLevel>17</SpicyLevel><FoodItemID>7</FoodItemID><FoodCollectionName>sample string 2</FoodCollectionName><FoodImageURL>sample string 1</FoodImageURL><FoodOnline>YES</FoodOnline><ListingIDs xmlns:d5p1="http://schemas.datacontract.org/2004/07/System"><d5p1:long>1</d5p1:long><d5p1:long>1</d5p1:long></ListingIDs><NutriMeter>4</NutriMeter><PortionPrice>sample string 3</PortionPrice><ReviewCount>6</ReviewCount><TastyMeter>5</TastyMeter></R_Food_Item></Food_Item></R_Food_Item_Collection></ArrayOfR_Food_Item_Collection>