POST api/Recipes/Recipes

Request Information

URI Parameters

None.

Body Parameters

Recipes
NameDescriptionTypeAdditional information
Condition

string

None.

RecipeId

integer

None.

RecipeType

string

None.

RecipeName

string

None.

PrepairTime

string

None.

Serves

integer

None.

Description

string

None.

Ingredients

string

None.

OtherIngredients

string

None.

Rimage

string

None.

Method

string

None.

Status

integer

None.

LoginId

string

None.

SourceFrom

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Condition": "sample string 1",
  "RecipeId": 2,
  "RecipeType": "sample string 3",
  "RecipeName": "sample string 4",
  "PrepairTime": "sample string 5",
  "Serves": 6,
  "Description": "sample string 7",
  "Ingredients": "sample string 8",
  "OtherIngredients": "sample string 9",
  "Rimage": "sample string 10",
  "Method": "sample string 11",
  "Status": 12,
  "LoginId": "sample string 13",
  "SourceFrom": "sample string 14"
}

application/xml, text/xml

Sample:
<Recipes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL">
  <Condition>sample string 1</Condition>
  <Description>sample string 7</Description>
  <Ingredients>sample string 8</Ingredients>
  <LoginId>sample string 13</LoginId>
  <Method>sample string 11</Method>
  <OtherIngredients>sample string 9</OtherIngredients>
  <PrepairTime>sample string 5</PrepairTime>
  <RecipeId>2</RecipeId>
  <RecipeName>sample string 4</RecipeName>
  <RecipeType>sample string 3</RecipeType>
  <Rimage>sample string 10</Rimage>
  <Serves>6</Serves>
  <SourceFrom>sample string 14</SourceFrom>
  <Status>12</Status>
</Recipes>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Recipes'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.