PUT api/Products/DeleteCroppedImage

Request Information

URI Parameters

None.

Body Parameters

StoneFactoryAPI.Models.ProductsModel+ImagesPerSizeList
NameDescriptionTypeAdditional information
id

integer

None.

links

Collection of string

None.

imageLinks

string

None.

sizeId

integer

None.

productId

integer

None.

memberId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "links": [
    "sample string 1",
    "sample string 2"
  ],
  "imageLinks": "sample string 1",
  "sizeId": 1,
  "productId": 1,
  "memberId": 1
}

application/xml, text/xml

Sample:
<ProductsModel.ImagesPerSizeList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models">
  <id>1</id>
  <imageLinks>sample string 1</imageLinks>
  <links xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </links>
  <memberId>1</memberId>
  <productId>1</productId>
  <sizeId>1</sizeId>
</ProductsModel.ImagesPerSizeList>

multipart/form-data

Sample:
<ProductsModel.ImagesPerSizeList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models"><id>1</id><imageLinks>sample string 1</imageLinks><links xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"><d2p1:string>sample string 1</d2p1:string><d2p1:string>sample string 2</d2p1:string></links><memberId>1</memberId><productId>1</productId><sizeId>1</sizeId></ProductsModel.ImagesPerSizeList>

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

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.