POST api/RecipeIngredientCategory

Request Information

URI Parameters

None.

Body Parameters

RecipeIngredientCategoryClass
NameDescriptionTypeAdditional information
RecipeIngredientCategoryID

integer

None.

RecipeID

integer

None.

CategoryName

string

None.

CategoryOrder

integer

None.

UpdatedAt

date

None.

Request Formats

application/json, text/json

Sample:
{
  "RecipeIngredientCategoryID": 1,
  "RecipeID": null,
  "CategoryName": "sample string 2",
  "CategoryOrder": null,
  "UpdatedAt": null
}

application/xml, text/xml

Sample:
<RecipeIngredientCategoryClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShoppingService">
  <UpdatedAt xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/ShoppingService.Models" />
  <CategoryName>sample string 2</CategoryName>
  <CategoryOrder i:nil="true" />
  <RecipeID i:nil="true" />
  <RecipeIngredientCategoryID>1</RecipeIngredientCategoryID>
</RecipeIngredientCategoryClass>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RecipeIngredientCategoryClass
NameDescriptionTypeAdditional information
RecipeIngredientCategoryID

integer

None.

RecipeID

integer

None.

CategoryName

string

None.

CategoryOrder

integer

None.

UpdatedAt

date

None.

Response Formats

application/json, text/json

Sample:
{
  "RecipeIngredientCategoryID": 1,
  "RecipeID": null,
  "CategoryName": "sample string 2",
  "CategoryOrder": null,
  "UpdatedAt": null
}

application/xml, text/xml

Sample:
<RecipeIngredientCategoryClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShoppingService">
  <UpdatedAt xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/ShoppingService.Models" />
  <CategoryName>sample string 2</CategoryName>
  <CategoryOrder i:nil="true" />
  <RecipeID i:nil="true" />
  <RecipeIngredientCategoryID>1</RecipeIngredientCategoryID>
</RecipeIngredientCategoryClass>