PUT api/Products/DeleteRawImage

Request Information

URI Parameters

None.

Body Parameters

StoneFactoryAPI.Models.ProductsModel+EditRawImage
NameDescriptionTypeAdditional information
id

integer

None.

imageLinks

string

None.

editedDate

string

None.

editedBy

string

None.

productId

integer

None.

memberId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "imageLinks": "sample string 1",
  "editedDate": "sample string 2",
  "editedBy": "sample string 3",
  "productId": 1,
  "memberId": 1
}

application/xml, text/xml

Sample:
<ProductsModel.EditRawImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models">
  <editedBy>sample string 3</editedBy>
  <editedDate>sample string 2</editedDate>
  <id>1</id>
  <imageLinks>sample string 1</imageLinks>
  <memberId>1</memberId>
  <productId>1</productId>
</ProductsModel.EditRawImage>

multipart/form-data

Sample:
<ProductsModel.EditRawImage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StoneFactoryAPI.Models"><editedBy>sample string 3</editedBy><editedDate>sample string 2</editedDate><id>1</id><imageLinks>sample string 1</imageLinks><memberId>1</memberId><productId>1</productId></ProductsModel.EditRawImage>

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

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.