PUT api/ProductCategory/Update
Request Information
URI Parameters
None.
Body Parameters
ProductCategoryUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Category | string |
None. |
|
| PhotoUrl | string |
None. |
|
| WebSiteID | globally unique identifier |
None. |
|
| LanguageID | globally unique identifier |
None. |
|
| ID | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"category": "sample string 1",
"photoUrl": "sample string 2",
"webSiteID": "8bc97646-26cc-45ac-ab2a-ce90da8aae10",
"languageID": "e274ecfc-1220-4916-a8e9-773c09b0775c",
"id": "c7089fb9-2191-4db3-8424-bc963d7a4371"
}
application/xml, text/xml
Sample:
<ProductCategoryUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RS.Core.Service.DTOs"> <ID>c7089fb9-2191-4db3-8424-bc963d7a4371</ID> <Category>sample string 1</Category> <LanguageID>e274ecfc-1220-4916-a8e9-773c09b0775c</LanguageID> <PhotoUrl>sample string 2</PhotoUrl> <WebSiteID>8bc97646-26cc-45ac-ab2a-ce90da8aae10</WebSiteID> </ProductCategoryUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"Category":"sample string 1","PhotoUrl":"sample string 2","WebSiteID":"8bc97646-26cc-45ac-ab2a-ce90da8aae10","LanguageID":"e274ecfc-1220-4916-a8e9-773c09b0775c","ID":"c7089fb9-2191-4db3-8424-bc963d7a4371"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.