POST api/RandomImagesSetting/UpdateQuantity

Request Information

URI Parameters

None.

Body Parameters

RandomImageSettingUpdateModel
Name Description Type Additional information
Id

integer

None.

ProductId

integer

None.

ProductName

string

None.

Quantity

integer

None.

ExpiryDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ProductId": 2,
  "ProductName": "sample string 3",
  "Quantity": 4,
  "ExpiryDate": "2025-06-28T13:15:08.880573Z"
}

text/html

Sample:
{"Id":1,"ProductId":2,"ProductName":"sample string 3","Quantity":4,"ExpiryDate":"2025-06-28T13:15:08.880573Z"}

application/xml, text/xml

Sample:
<RandomImageSettingUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Models.RandomImages">
  <ExpiryDate>2025-06-28T13:15:08.880573Z</ExpiryDate>
  <Id>1</Id>
  <ProductId>2</ProductId>
  <ProductName>sample string 3</ProductName>
  <Quantity>4</Quantity>
</RandomImageSettingUpdateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.