POST api/Online/EditPromotion

Request Information

URI Parameters

None.

Body Parameters

Online_PromotionModel
NameDescriptionTypeAdditional information
ID

integer

None.

MerchantId

integer

None.

HeaderPromotion

string

None.

TextPromotion

string

None.

ImagePromotion

string

None.

PromotionItemIds

string

None.

PromotionSubItemIds

string

None.

Order

integer

None.

Type

integer

None.

Status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "MerchantId": 2,
  "HeaderPromotion": "sample string 3",
  "TextPromotion": "sample string 4",
  "ImagePromotion": "sample string 5",
  "PromotionItemIds": "sample string 6",
  "PromotionSubItemIds": "sample string 7",
  "Order": 1,
  "Type": 1,
  "Status": 1
}

application/xml, text/xml

Sample:
<Online_PromotionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models">
  <HeaderPromotion>sample string 3</HeaderPromotion>
  <ID>1</ID>
  <ImagePromotion>sample string 5</ImagePromotion>
  <MerchantId>2</MerchantId>
  <Order>1</Order>
  <PromotionItemIds>sample string 6</PromotionItemIds>
  <PromotionSubItemIds>sample string 7</PromotionSubItemIds>
  <Status>1</Status>
  <TextPromotion>sample string 4</TextPromotion>
  <Type>1</Type>
</Online_PromotionModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.