PUT api/SKU/EditSKU

Request Information

URI Parameters

None.

Body Parameters

StoneFactoryAPI.Models.SKUModel+EditSKU
NameDescriptionTypeAdditional information
id

integer

None.

productId

integer

None.

skuId

string

None.

categoryId

integer

None.

subcategoryid

integer

None.

editedBy

string

None.

editedDate

string

None.

memberId

integer

None.

skuThumbnail

string

None.

skuThumbnailSrc

boolean

None.

changed

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "productId": 1,
  "skuId": "sample string 1",
  "categoryId": 1,
  "subcategoryid": 1,
  "editedBy": "sample string 2",
  "editedDate": "sample string 3",
  "memberId": 1,
  "skuThumbnail": "sample string 4",
  "skuThumbnailSrc": true,
  "changed": "sample string 6"
}

application/xml, text/xml

Sample:
<SKUModel.EditSKU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models">
  <categoryId>1</categoryId>
  <changed>sample string 6</changed>
  <editedBy>sample string 2</editedBy>
  <editedDate>sample string 3</editedDate>
  <id>1</id>
  <memberId>1</memberId>
  <productId>1</productId>
  <skuId>sample string 1</skuId>
  <skuThumbnail>sample string 4</skuThumbnail>
  <skuThumbnailSrc>true</skuThumbnailSrc>
  <subcategoryid>1</subcategoryid>
</SKUModel.EditSKU>

multipart/form-data

Sample:
<SKUModel.EditSKU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models"><categoryId>1</categoryId><changed>sample string 6</changed><editedBy>sample string 2</editedBy><editedDate>sample string 3</editedDate><id>1</id><memberId>1</memberId><productId>1</productId><skuId>sample string 1</skuId><skuThumbnail>sample string 4</skuThumbnail><skuThumbnailSrc>true</skuThumbnailSrc><subcategoryid>1</subcategoryid></SKUModel.EditSKU>

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

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.