POST api/LatestOffers/UpdateLatestOffers

Request Information

URI Parameters

None.

Body Parameters

LatestOffers
NameDescriptionTypeAdditional information
Product_Id

integer

None.

Product

string

None.

Photo

string

None.

Rate

string

None.

Vendor_Id

integer

None.

Vendor

string

None.

MRP

string

None.

Offer_Price

string

None.

Offer_Id

string

None.

Status

string

None.

Navigation_Id

integer

None.

Category

string

None.

FromDate

string

None.

ToDate

string

None.

SubNavigation_Id

integer

None.

ChildCategory

string

None.

Size_Id

integer

None.

Size

string

None.

Unit

string

None.

Offer_Percentage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Product_Id": 1,
  "Product": "sample string 2",
  "Photo": "sample string 3",
  "Rate": "sample string 4",
  "Vendor_Id": 5,
  "Vendor": "sample string 6",
  "MRP": "sample string 7",
  "Offer_Price": "sample string 8",
  "Offer_Id": "sample string 9",
  "Status": "sample string 10",
  "Navigation_Id": 11,
  "Category": "sample string 12",
  "FromDate": "sample string 13",
  "ToDate": "sample string 14",
  "SubNavigation_Id": 15,
  "ChildCategory": "sample string 16",
  "Size_Id": 17,
  "Size": "sample string 18",
  "Unit": "sample string 19",
  "Offer_Percentage": 20
}

application/octet-stream

Sample:
{"$id":"1","Product_Id":1,"Product":"sample string 2","Photo":"sample string 3","Rate":"sample string 4","Vendor_Id":5,"Vendor":"sample string 6","MRP":"sample string 7","Offer_Price":"sample string 8","Offer_Id":"sample string 9","Status":"sample string 10","Navigation_Id":11,"Category":"sample string 12","FromDate":"sample string 13","ToDate":"sample string 14","SubNavigation_Id":15,"ChildCategory":"sample string 16","Size_Id":17,"Size":"sample string 18","Unit":"sample string 19","Offer_Percentage":20}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.