GET api/Food/GetAllFoodItemsAtSeller

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_Items

Collection of R_Food_Item

None.

Response Formats

application/json, text/json

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

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_Items>
      <R_Food_Item>
        <FoodCollectionNameID>19</FoodCollectionNameID>
        <FoodImageID>8</FoodImageID>
        <FoodItemDescription>sample string 12</FoodItemDescription>
        <FoodItemEthnicityName>sample string 7</FoodItemEthnicityName>
        <FoodItemKitchenID>10</FoodItemKitchenID>
        <FoodItemLife>17</FoodItemLife>
        <FoodItemName>sample string 11</FoodItemName>
        <FoodItemOtherInfo>sample string 18</FoodItemOtherInfo>
        <FoodItemStorage>sample string 13</FoodItemStorage>
        <FoodItemTypeName>sample string 9</FoodItemTypeName>
        <FoodItemWarnings>sample string 14</FoodItemWarnings>
        <Ingrediants>sample string 15</Ingrediants>
        <SpicyLevel>16</SpicyLevel>
        <FoodItemID>6</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>3</NutriMeter>
        <ReviewCount>5</ReviewCount>
        <TastyMeter>4</TastyMeter>
      </R_Food_Item>
      <R_Food_Item>
        <FoodCollectionNameID>19</FoodCollectionNameID>
        <FoodImageID>8</FoodImageID>
        <FoodItemDescription>sample string 12</FoodItemDescription>
        <FoodItemEthnicityName>sample string 7</FoodItemEthnicityName>
        <FoodItemKitchenID>10</FoodItemKitchenID>
        <FoodItemLife>17</FoodItemLife>
        <FoodItemName>sample string 11</FoodItemName>
        <FoodItemOtherInfo>sample string 18</FoodItemOtherInfo>
        <FoodItemStorage>sample string 13</FoodItemStorage>
        <FoodItemTypeName>sample string 9</FoodItemTypeName>
        <FoodItemWarnings>sample string 14</FoodItemWarnings>
        <Ingrediants>sample string 15</Ingrediants>
        <SpicyLevel>16</SpicyLevel>
        <FoodItemID>6</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>3</NutriMeter>
        <ReviewCount>5</ReviewCount>
        <TastyMeter>4</TastyMeter>
      </R_Food_Item>
    </Food_Items>
  </R_Food_Item_Collection>
  <R_Food_Item_Collection>
    <CollectionName>sample string 1</CollectionName>
    <CollectionNameID>1</CollectionNameID>
    <Food_Items>
      <R_Food_Item>
        <FoodCollectionNameID>19</FoodCollectionNameID>
        <FoodImageID>8</FoodImageID>
        <FoodItemDescription>sample string 12</FoodItemDescription>
        <FoodItemEthnicityName>sample string 7</FoodItemEthnicityName>
        <FoodItemKitchenID>10</FoodItemKitchenID>
        <FoodItemLife>17</FoodItemLife>
        <FoodItemName>sample string 11</FoodItemName>
        <FoodItemOtherInfo>sample string 18</FoodItemOtherInfo>
        <FoodItemStorage>sample string 13</FoodItemStorage>
        <FoodItemTypeName>sample string 9</FoodItemTypeName>
        <FoodItemWarnings>sample string 14</FoodItemWarnings>
        <Ingrediants>sample string 15</Ingrediants>
        <SpicyLevel>16</SpicyLevel>
        <FoodItemID>6</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>3</NutriMeter>
        <ReviewCount>5</ReviewCount>
        <TastyMeter>4</TastyMeter>
      </R_Food_Item>
      <R_Food_Item>
        <FoodCollectionNameID>19</FoodCollectionNameID>
        <FoodImageID>8</FoodImageID>
        <FoodItemDescription>sample string 12</FoodItemDescription>
        <FoodItemEthnicityName>sample string 7</FoodItemEthnicityName>
        <FoodItemKitchenID>10</FoodItemKitchenID>
        <FoodItemLife>17</FoodItemLife>
        <FoodItemName>sample string 11</FoodItemName>
        <FoodItemOtherInfo>sample string 18</FoodItemOtherInfo>
        <FoodItemStorage>sample string 13</FoodItemStorage>
        <FoodItemTypeName>sample string 9</FoodItemTypeName>
        <FoodItemWarnings>sample string 14</FoodItemWarnings>
        <Ingrediants>sample string 15</Ingrediants>
        <SpicyLevel>16</SpicyLevel>
        <FoodItemID>6</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>3</NutriMeter>
        <ReviewCount>5</ReviewCount>
        <TastyMeter>4</TastyMeter>
      </R_Food_Item>
    </Food_Items>
  </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_Items><R_Food_Item><FoodCollectionNameID>19</FoodCollectionNameID><FoodImageID>8</FoodImageID><FoodItemDescription>sample string 12</FoodItemDescription><FoodItemEthnicityName>sample string 7</FoodItemEthnicityName><FoodItemKitchenID>10</FoodItemKitchenID><FoodItemLife>17</FoodItemLife><FoodItemName>sample string 11</FoodItemName><FoodItemOtherInfo>sample string 18</FoodItemOtherInfo><FoodItemStorage>sample string 13</FoodItemStorage><FoodItemTypeName>sample string 9</FoodItemTypeName><FoodItemWarnings>sample string 14</FoodItemWarnings><Ingrediants>sample string 15</Ingrediants><SpicyLevel>16</SpicyLevel><FoodItemID>6</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>3</NutriMeter><ReviewCount>5</ReviewCount><TastyMeter>4</TastyMeter></R_Food_Item><R_Food_Item><FoodCollectionNameID>19</FoodCollectionNameID><FoodImageID>8</FoodImageID><FoodItemDescription>sample string 12</FoodItemDescription><FoodItemEthnicityName>sample string 7</FoodItemEthnicityName><FoodItemKitchenID>10</FoodItemKitchenID><FoodItemLife>17</FoodItemLife><FoodItemName>sample string 11</FoodItemName><FoodItemOtherInfo>sample string 18</FoodItemOtherInfo><FoodItemStorage>sample string 13</FoodItemStorage><FoodItemTypeName>sample string 9</FoodItemTypeName><FoodItemWarnings>sample string 14</FoodItemWarnings><Ingrediants>sample string 15</Ingrediants><SpicyLevel>16</SpicyLevel><FoodItemID>6</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>3</NutriMeter><ReviewCount>5</ReviewCount><TastyMeter>4</TastyMeter></R_Food_Item></Food_Items></R_Food_Item_Collection><R_Food_Item_Collection><CollectionName>sample string 1</CollectionName><CollectionNameID>1</CollectionNameID><Food_Items><R_Food_Item><FoodCollectionNameID>19</FoodCollectionNameID><FoodImageID>8</FoodImageID><FoodItemDescription>sample string 12</FoodItemDescription><FoodItemEthnicityName>sample string 7</FoodItemEthnicityName><FoodItemKitchenID>10</FoodItemKitchenID><FoodItemLife>17</FoodItemLife><FoodItemName>sample string 11</FoodItemName><FoodItemOtherInfo>sample string 18</FoodItemOtherInfo><FoodItemStorage>sample string 13</FoodItemStorage><FoodItemTypeName>sample string 9</FoodItemTypeName><FoodItemWarnings>sample string 14</FoodItemWarnings><Ingrediants>sample string 15</Ingrediants><SpicyLevel>16</SpicyLevel><FoodItemID>6</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>3</NutriMeter><ReviewCount>5</ReviewCount><TastyMeter>4</TastyMeter></R_Food_Item><R_Food_Item><FoodCollectionNameID>19</FoodCollectionNameID><FoodImageID>8</FoodImageID><FoodItemDescription>sample string 12</FoodItemDescription><FoodItemEthnicityName>sample string 7</FoodItemEthnicityName><FoodItemKitchenID>10</FoodItemKitchenID><FoodItemLife>17</FoodItemLife><FoodItemName>sample string 11</FoodItemName><FoodItemOtherInfo>sample string 18</FoodItemOtherInfo><FoodItemStorage>sample string 13</FoodItemStorage><FoodItemTypeName>sample string 9</FoodItemTypeName><FoodItemWarnings>sample string 14</FoodItemWarnings><Ingrediants>sample string 15</Ingrediants><SpicyLevel>16</SpicyLevel><FoodItemID>6</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>3</NutriMeter><ReviewCount>5</ReviewCount><TastyMeter>4</TastyMeter></R_Food_Item></Food_Items></R_Food_Item_Collection></ArrayOfR_Food_Item_Collection>