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": "NO",
        "foodImageURL": "sample string 1",
        "foodCollectionName": "sample string 2",
        "listingIDs": [
          1,
          1
        ],
        "nutriMeter": 3.0,
        "tastyMeter": 4.0,
        "reviewCount": 5,
        "foodItemID": 6,
        "foodItemEthnicityNameIDs": [
          1,
          2
        ],
        "foodImageID": 7,
        "foodItemTypeNameIDs": [
          1,
          2
        ],
        "foodItemGeneralTypeNameIDs": [
          1,
          2
        ],
        "foodItemName": "sample string 8",
        "foodItemDescription": "sample string 9",
        "foodItemStorage": "sample string 10",
        "foodItemWarnings": "sample string 11",
        "ingrediants": "sample string 12",
        "spicyLevel": 13,
        "foodItemLife": 14,
        "foodItemOtherInfo": "sample string 15",
        "foodCollectionNameID": 16
      },
      {
        "foodOnline": "NO",
        "foodImageURL": "sample string 1",
        "foodCollectionName": "sample string 2",
        "listingIDs": [
          1,
          1
        ],
        "nutriMeter": 3.0,
        "tastyMeter": 4.0,
        "reviewCount": 5,
        "foodItemID": 6,
        "foodItemEthnicityNameIDs": [
          1,
          2
        ],
        "foodImageID": 7,
        "foodItemTypeNameIDs": [
          1,
          2
        ],
        "foodItemGeneralTypeNameIDs": [
          1,
          2
        ],
        "foodItemName": "sample string 8",
        "foodItemDescription": "sample string 9",
        "foodItemStorage": "sample string 10",
        "foodItemWarnings": "sample string 11",
        "ingrediants": "sample string 12",
        "spicyLevel": 13,
        "foodItemLife": 14,
        "foodItemOtherInfo": "sample string 15",
        "foodCollectionNameID": 16
      }
    ]
  },
  {
    "collectionNameID": 1,
    "collectionName": "sample string 1",
    "food_Items": [
      {
        "foodOnline": "NO",
        "foodImageURL": "sample string 1",
        "foodCollectionName": "sample string 2",
        "listingIDs": [
          1,
          1
        ],
        "nutriMeter": 3.0,
        "tastyMeter": 4.0,
        "reviewCount": 5,
        "foodItemID": 6,
        "foodItemEthnicityNameIDs": [
          1,
          2
        ],
        "foodImageID": 7,
        "foodItemTypeNameIDs": [
          1,
          2
        ],
        "foodItemGeneralTypeNameIDs": [
          1,
          2
        ],
        "foodItemName": "sample string 8",
        "foodItemDescription": "sample string 9",
        "foodItemStorage": "sample string 10",
        "foodItemWarnings": "sample string 11",
        "ingrediants": "sample string 12",
        "spicyLevel": 13,
        "foodItemLife": 14,
        "foodItemOtherInfo": "sample string 15",
        "foodCollectionNameID": 16
      },
      {
        "foodOnline": "NO",
        "foodImageURL": "sample string 1",
        "foodCollectionName": "sample string 2",
        "listingIDs": [
          1,
          1
        ],
        "nutriMeter": 3.0,
        "tastyMeter": 4.0,
        "reviewCount": 5,
        "foodItemID": 6,
        "foodItemEthnicityNameIDs": [
          1,
          2
        ],
        "foodImageID": 7,
        "foodItemTypeNameIDs": [
          1,
          2
        ],
        "foodItemGeneralTypeNameIDs": [
          1,
          2
        ],
        "foodItemName": "sample string 8",
        "foodItemDescription": "sample string 9",
        "foodItemStorage": "sample string 10",
        "foodItemWarnings": "sample string 11",
        "ingrediants": "sample string 12",
        "spicyLevel": 13,
        "foodItemLife": 14,
        "foodItemOtherInfo": "sample string 15",
        "foodCollectionNameID": 16
      }
    ]
  }
]

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>16</FoodCollectionNameID>
        <FoodImageID>7</FoodImageID>
        <FoodItemDescription>sample string 9</FoodItemDescription>
        <FoodItemEthnicityNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </FoodItemEthnicityNameIDs>
        <FoodItemGeneralTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </FoodItemGeneralTypeNameIDs>
        <FoodItemLife>14</FoodItemLife>
        <FoodItemName>sample string 8</FoodItemName>
        <FoodItemOtherInfo>sample string 15</FoodItemOtherInfo>
        <FoodItemStorage>sample string 10</FoodItemStorage>
        <FoodItemTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </FoodItemTypeNameIDs>
        <FoodItemWarnings>sample string 11</FoodItemWarnings>
        <Ingrediants>sample string 12</Ingrediants>
        <SpicyLevel>13</SpicyLevel>
        <FoodItemID>6</FoodItemID>
        <FoodCollectionName>sample string 2</FoodCollectionName>
        <FoodImageURL>sample string 1</FoodImageURL>
        <FoodOnline>NO</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>16</FoodCollectionNameID>
        <FoodImageID>7</FoodImageID>
        <FoodItemDescription>sample string 9</FoodItemDescription>
        <FoodItemEthnicityNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </FoodItemEthnicityNameIDs>
        <FoodItemGeneralTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </FoodItemGeneralTypeNameIDs>
        <FoodItemLife>14</FoodItemLife>
        <FoodItemName>sample string 8</FoodItemName>
        <FoodItemOtherInfo>sample string 15</FoodItemOtherInfo>
        <FoodItemStorage>sample string 10</FoodItemStorage>
        <FoodItemTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </FoodItemTypeNameIDs>
        <FoodItemWarnings>sample string 11</FoodItemWarnings>
        <Ingrediants>sample string 12</Ingrediants>
        <SpicyLevel>13</SpicyLevel>
        <FoodItemID>6</FoodItemID>
        <FoodCollectionName>sample string 2</FoodCollectionName>
        <FoodImageURL>sample string 1</FoodImageURL>
        <FoodOnline>NO</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>16</FoodCollectionNameID>
        <FoodImageID>7</FoodImageID>
        <FoodItemDescription>sample string 9</FoodItemDescription>
        <FoodItemEthnicityNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </FoodItemEthnicityNameIDs>
        <FoodItemGeneralTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </FoodItemGeneralTypeNameIDs>
        <FoodItemLife>14</FoodItemLife>
        <FoodItemName>sample string 8</FoodItemName>
        <FoodItemOtherInfo>sample string 15</FoodItemOtherInfo>
        <FoodItemStorage>sample string 10</FoodItemStorage>
        <FoodItemTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </FoodItemTypeNameIDs>
        <FoodItemWarnings>sample string 11</FoodItemWarnings>
        <Ingrediants>sample string 12</Ingrediants>
        <SpicyLevel>13</SpicyLevel>
        <FoodItemID>6</FoodItemID>
        <FoodCollectionName>sample string 2</FoodCollectionName>
        <FoodImageURL>sample string 1</FoodImageURL>
        <FoodOnline>NO</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>16</FoodCollectionNameID>
        <FoodImageID>7</FoodImageID>
        <FoodItemDescription>sample string 9</FoodItemDescription>
        <FoodItemEthnicityNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </FoodItemEthnicityNameIDs>
        <FoodItemGeneralTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </FoodItemGeneralTypeNameIDs>
        <FoodItemLife>14</FoodItemLife>
        <FoodItemName>sample string 8</FoodItemName>
        <FoodItemOtherInfo>sample string 15</FoodItemOtherInfo>
        <FoodItemStorage>sample string 10</FoodItemStorage>
        <FoodItemTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:long>1</d5p1:long>
          <d5p1:long>2</d5p1:long>
        </FoodItemTypeNameIDs>
        <FoodItemWarnings>sample string 11</FoodItemWarnings>
        <Ingrediants>sample string 12</Ingrediants>
        <SpicyLevel>13</SpicyLevel>
        <FoodItemID>6</FoodItemID>
        <FoodCollectionName>sample string 2</FoodCollectionName>
        <FoodImageURL>sample string 1</FoodImageURL>
        <FoodOnline>NO</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>16</FoodCollectionNameID><FoodImageID>7</FoodImageID><FoodItemDescription>sample string 9</FoodItemDescription><FoodItemEthnicityNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d5p1:long>1</d5p1:long><d5p1:long>2</d5p1:long></FoodItemEthnicityNameIDs><FoodItemGeneralTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d5p1:long>1</d5p1:long><d5p1:long>2</d5p1:long></FoodItemGeneralTypeNameIDs><FoodItemLife>14</FoodItemLife><FoodItemName>sample string 8</FoodItemName><FoodItemOtherInfo>sample string 15</FoodItemOtherInfo><FoodItemStorage>sample string 10</FoodItemStorage><FoodItemTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d5p1:long>1</d5p1:long><d5p1:long>2</d5p1:long></FoodItemTypeNameIDs><FoodItemWarnings>sample string 11</FoodItemWarnings><Ingrediants>sample string 12</Ingrediants><SpicyLevel>13</SpicyLevel><FoodItemID>6</FoodItemID><FoodCollectionName>sample string 2</FoodCollectionName><FoodImageURL>sample string 1</FoodImageURL><FoodOnline>NO</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>16</FoodCollectionNameID><FoodImageID>7</FoodImageID><FoodItemDescription>sample string 9</FoodItemDescription><FoodItemEthnicityNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d5p1:long>1</d5p1:long><d5p1:long>2</d5p1:long></FoodItemEthnicityNameIDs><FoodItemGeneralTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d5p1:long>1</d5p1:long><d5p1:long>2</d5p1:long></FoodItemGeneralTypeNameIDs><FoodItemLife>14</FoodItemLife><FoodItemName>sample string 8</FoodItemName><FoodItemOtherInfo>sample string 15</FoodItemOtherInfo><FoodItemStorage>sample string 10</FoodItemStorage><FoodItemTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d5p1:long>1</d5p1:long><d5p1:long>2</d5p1:long></FoodItemTypeNameIDs><FoodItemWarnings>sample string 11</FoodItemWarnings><Ingrediants>sample string 12</Ingrediants><SpicyLevel>13</SpicyLevel><FoodItemID>6</FoodItemID><FoodCollectionName>sample string 2</FoodCollectionName><FoodImageURL>sample string 1</FoodImageURL><FoodOnline>NO</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>16</FoodCollectionNameID><FoodImageID>7</FoodImageID><FoodItemDescription>sample string 9</FoodItemDescription><FoodItemEthnicityNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d5p1:long>1</d5p1:long><d5p1:long>2</d5p1:long></FoodItemEthnicityNameIDs><FoodItemGeneralTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d5p1:long>1</d5p1:long><d5p1:long>2</d5p1:long></FoodItemGeneralTypeNameIDs><FoodItemLife>14</FoodItemLife><FoodItemName>sample string 8</FoodItemName><FoodItemOtherInfo>sample string 15</FoodItemOtherInfo><FoodItemStorage>sample string 10</FoodItemStorage><FoodItemTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d5p1:long>1</d5p1:long><d5p1:long>2</d5p1:long></FoodItemTypeNameIDs><FoodItemWarnings>sample string 11</FoodItemWarnings><Ingrediants>sample string 12</Ingrediants><SpicyLevel>13</SpicyLevel><FoodItemID>6</FoodItemID><FoodCollectionName>sample string 2</FoodCollectionName><FoodImageURL>sample string 1</FoodImageURL><FoodOnline>NO</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>16</FoodCollectionNameID><FoodImageID>7</FoodImageID><FoodItemDescription>sample string 9</FoodItemDescription><FoodItemEthnicityNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d5p1:long>1</d5p1:long><d5p1:long>2</d5p1:long></FoodItemEthnicityNameIDs><FoodItemGeneralTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d5p1:long>1</d5p1:long><d5p1:long>2</d5p1:long></FoodItemGeneralTypeNameIDs><FoodItemLife>14</FoodItemLife><FoodItemName>sample string 8</FoodItemName><FoodItemOtherInfo>sample string 15</FoodItemOtherInfo><FoodItemStorage>sample string 10</FoodItemStorage><FoodItemTypeNameIDs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d5p1:long>1</d5p1:long><d5p1:long>2</d5p1:long></FoodItemTypeNameIDs><FoodItemWarnings>sample string 11</FoodItemWarnings><Ingrediants>sample string 12</Ingrediants><SpicyLevel>13</SpicyLevel><FoodItemID>6</FoodItemID><FoodCollectionName>sample string 2</FoodCollectionName><FoodImageURL>sample string 1</FoodImageURL><FoodOnline>NO</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>