GET api/Food/ReadOtherFoodItemsAtChefByEthnicityOrType?ChefID={ChefID}&FilterByEthnicityOrType={FilterByEthnicityOrType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ChefID

integer

Required

FilterByEthnicityOrType

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of R_SimillarFoodItems
NameDescriptionTypeAdditional information
FoodItemID

integer

None.

FoodItemName

string

None.

Ethnicity

string

None.

FoodType

string

None.

FoodItemDescription

string

None.

FoodImage

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "foodItemID": 1,
    "foodItemName": "sample string 2",
    "ethnicity": "sample string 3",
    "foodType": "sample string 4",
    "foodItemDescription": "sample string 5",
    "foodImage": "sample string 6"
  },
  {
    "foodItemID": 1,
    "foodItemName": "sample string 2",
    "ethnicity": "sample string 3",
    "foodType": "sample string 4",
    "foodItemDescription": "sample string 5",
    "foodImage": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfR_SimillarFoodItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures">
  <R_SimillarFoodItems>
    <Ethnicity>sample string 3</Ethnicity>
    <FoodImage>sample string 6</FoodImage>
    <FoodItemDescription>sample string 5</FoodItemDescription>
    <FoodItemID>1</FoodItemID>
    <FoodItemName>sample string 2</FoodItemName>
    <FoodType>sample string 4</FoodType>
  </R_SimillarFoodItems>
  <R_SimillarFoodItems>
    <Ethnicity>sample string 3</Ethnicity>
    <FoodImage>sample string 6</FoodImage>
    <FoodItemDescription>sample string 5</FoodItemDescription>
    <FoodItemID>1</FoodItemID>
    <FoodItemName>sample string 2</FoodItemName>
    <FoodType>sample string 4</FoodType>
  </R_SimillarFoodItems>
</ArrayOfR_SimillarFoodItems>

multipart/form-data

Sample:
<ArrayOfR_SimillarFoodItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGDataStructures"><R_SimillarFoodItems><Ethnicity>sample string 3</Ethnicity><FoodImage>sample string 6</FoodImage><FoodItemDescription>sample string 5</FoodItemDescription><FoodItemID>1</FoodItemID><FoodItemName>sample string 2</FoodItemName><FoodType>sample string 4</FoodType></R_SimillarFoodItems><R_SimillarFoodItems><Ethnicity>sample string 3</Ethnicity><FoodImage>sample string 6</FoodImage><FoodItemDescription>sample string 5</FoodItemDescription><FoodItemID>1</FoodItemID><FoodItemName>sample string 2</FoodItemName><FoodType>sample string 4</FoodType></R_SimillarFoodItems></ArrayOfR_SimillarFoodItems>