POST api/ProductCategory/Add

Request Information

URI Parameters

None.

Body Parameters

ProductCategoryAddDto
NameDescriptionTypeAdditional information
Category

string

Required

PhotoUrl

string

None.

WebSiteID

globally unique identifier

None.

LanguageID

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "category": "sample string 1",
  "photoUrl": "sample string 2",
  "webSiteID": "99ea53a7-4fb6-495c-96da-3a5ace9fff28",
  "languageID": "2a48d6f7-059b-40f0-9108-8a92c907d129"
}

application/xml, text/xml

Sample:
<ProductCategoryAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs">
  <Category>sample string 1</Category>
  <LanguageID>2a48d6f7-059b-40f0-9108-8a92c907d129</LanguageID>
  <PhotoUrl>sample string 2</PhotoUrl>
  <WebSiteID>99ea53a7-4fb6-495c-96da-3a5ace9fff28</WebSiteID>
</ProductCategoryAddDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"Category":"sample string 1","PhotoUrl":"sample string 2","WebSiteID":"99ea53a7-4fb6-495c-96da-3a5ace9fff28","LanguageID":"2a48d6f7-059b-40f0-9108-8a92c907d129"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/html

Sample:

Sample not available.