GET api/Recipe

Get list of Recipe Requests

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Recipes
NameDescriptionTypeAdditional information
id

Gets or sets the ID of the Recipe.

integer

None.

recipeName

Gets or sets the name of the Recipe.

string

None.

cuisineType

Gets or sets the Cuisine Type of the Recipe.

string

None.

dietType

Gets or sets the dietType of the Recipe.

string

None.

recipeDetail

Gets or sets the Recipe Detail.

string

None.

ingredients

Gets or sets the ingredients of the Recipe.

string

None.

steps

Gets or sets the steps of the Recipe.

string

None.

chefName

Gets or sets the Chef Name

string

None.

cookingTime

Gets or sets the cooking Time.

string

None.

imageURL

Gets or sets the image URL of the Recipe.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "recipeName": "sample string 2",
    "cuisineType": "sample string 3",
    "dietType": "sample string 4",
    "recipeDetail": "sample string 5",
    "ingredients": "sample string 6",
    "steps": "sample string 7",
    "chefName": "sample string 8",
    "cookingTime": "sample string 9",
    "imageURL": "sample string 10"
  },
  {
    "id": 1,
    "recipeName": "sample string 2",
    "cuisineType": "sample string 3",
    "dietType": "sample string 4",
    "recipeDetail": "sample string 5",
    "ingredients": "sample string 6",
    "steps": "sample string 7",
    "chefName": "sample string 8",
    "cookingTime": "sample string 9",
    "imageURL": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRecipes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models">
  <Recipes>
    <chefName>sample string 8</chefName>
    <cookingTime>sample string 9</cookingTime>
    <cuisineType>sample string 3</cuisineType>
    <dietType>sample string 4</dietType>
    <id>1</id>
    <imageURL>sample string 10</imageURL>
    <ingredients>sample string 6</ingredients>
    <recipeDetail>sample string 5</recipeDetail>
    <recipeName>sample string 2</recipeName>
    <steps>sample string 7</steps>
  </Recipes>
  <Recipes>
    <chefName>sample string 8</chefName>
    <cookingTime>sample string 9</cookingTime>
    <cuisineType>sample string 3</cuisineType>
    <dietType>sample string 4</dietType>
    <id>1</id>
    <imageURL>sample string 10</imageURL>
    <ingredients>sample string 6</ingredients>
    <recipeDetail>sample string 5</recipeDetail>
    <recipeName>sample string 2</recipeName>
    <steps>sample string 7</steps>
  </Recipes>
</ArrayOfRecipes>