POST api/Recipes/InsertReceipe

Request Information

URI Parameters

None.

Body Parameters

RecipeModel
NameDescriptionTypeAdditional information
CategoryID

integer

None.

SessionGuid

string

None.

RecipeHeader

string

None.

RecipeAbstract

string

None.

RecipeDetail

string

None.

RecipeImgUrl

string

None.

RecipeImg

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CategoryID": 1,
  "SessionGuid": "sample string 2",
  "RecipeHeader": "sample string 3",
  "RecipeAbstract": "sample string 4",
  "RecipeDetail": "sample string 5",
  "RecipeImgUrl": "sample string 6",
  "RecipeImg": "sample string 7"
}

application/xml, text/xml

Sample:
<RecipeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YemekTarifiApi.Models">
  <CategoryID>1</CategoryID>
  <RecipeAbstract>sample string 4</RecipeAbstract>
  <RecipeDetail>sample string 5</RecipeDetail>
  <RecipeHeader>sample string 3</RecipeHeader>
  <RecipeImg>sample string 7</RecipeImg>
  <RecipeImgUrl>sample string 6</RecipeImgUrl>
  <SessionGuid>sample string 2</SessionGuid>
</RecipeModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.