POST api/admin/ProductsApi/UpdateProductColorImage

Request Information

URI Parameters

None.

Body Parameters

UpdateProductColorLocationImageModel
NameDescriptionTypeAdditional information
ProductID

integer

Range: inclusive between 1 and 2147483647

ProductColorID

integer

Range: inclusive between 1 and 2147483647

Location

string

Required

Min length: 1

String length: inclusive between 0 and 10

ImageUrl

string

Required

Min length: 1

String length: inclusive between 0 and 256

Request Formats

application/json, text/json

Sample:
{
  "ProductID": 1,
  "ProductColorID": 2,
  "Location": "sample string 3",
  "ImageUrl": "sample string 4"
}

application/xml, text/xml

Sample:
<UpdateProductColorLocationImageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWModels.PostModel">
  <ImageUrl>sample string 4</ImageUrl>
  <Location>sample string 3</Location>
  <ProductColorID>2</ProductColorID>
  <ProductID>1</ProductID>
</UpdateProductColorLocationImageModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.