POST api/AdmOffer/UpdateAdmOffer

Request Information

URI Parameters

None.

Body Parameters

AdmOffer
NameDescriptionTypeAdditional information
AdmOfferId

integer

None.

Tittle

string

None.

Subtitle

string

None.

DiscountInPerecent

integer

None.

AdmOfferImage

string

None.

Status

string

None.

StartDate

string

None.

EndDate

string

None.

CreatedDate

string

None.

CreatedBy

string

None.

UpdatedDate

string

None.

UpdatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AdmOfferId": 1,
  "Tittle": "sample string 2",
  "Subtitle": "sample string 3",
  "DiscountInPerecent": 4,
  "AdmOfferImage": "sample string 5",
  "Status": "sample string 6",
  "StartDate": "sample string 7",
  "EndDate": "sample string 8",
  "CreatedDate": "sample string 9",
  "CreatedBy": "sample string 10",
  "UpdatedDate": "sample string 11",
  "UpdatedBy": "sample string 12"
}

application/xml, text/xml

Sample:
<AdmOffer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SocialHiveAPI.Models">
  <AdmOfferId>1</AdmOfferId>
  <AdmOfferImage>sample string 5</AdmOfferImage>
  <CreatedBy>sample string 10</CreatedBy>
  <CreatedDate>sample string 9</CreatedDate>
  <DiscountInPerecent>4</DiscountInPerecent>
  <EndDate>sample string 8</EndDate>
  <StartDate>sample string 7</StartDate>
  <Status>sample string 6</Status>
  <Subtitle>sample string 3</Subtitle>
  <Tittle>sample string 2</Tittle>
  <UpdatedBy>sample string 12</UpdatedBy>
  <UpdatedDate>sample string 11</UpdatedDate>
</AdmOffer>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.