POST api/Recipes/RecipeTypes

Request Information

URI Parameters

None.

Body Parameters

RecipeTypes
NameDescriptionTypeAdditional information
Condition

string

None.

RecipeCatId

integer

None.

RecipeCatName

string

None.

ParentCatId

integer

None.

Status

integer

None.

LoginId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Condition": "sample string 1",
  "RecipeCatId": 2,
  "RecipeCatName": "sample string 3",
  "ParentCatId": 4,
  "Status": 5,
  "LoginId": "sample string 6"
}

application/xml, text/xml

Sample:
<RecipeTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL">
  <Condition>sample string 1</Condition>
  <LoginId>sample string 6</LoginId>
  <ParentCatId>4</ParentCatId>
  <RecipeCatId>2</RecipeCatId>
  <RecipeCatName>sample string 3</RecipeCatName>
  <Status>5</Status>
</RecipeTypes>

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 'RecipeTypes'.

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.