POST api/store-portal/offers
Request Information
URI Parameters
None.
Body Parameters
StoreOfferCreateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| SectionId | integer |
None. |
|
| Title | string |
None. |
|
| ImageUrl | string |
None. |
|
| Description | string |
None. |
|
| DiscountType | string |
None. |
|
| DiscountValue | decimal number |
None. |
|
| StartAtUtc | string |
None. |
|
| EndAtUtc | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"sectionId": 1,
"title": "sample string 2",
"imageUrl": "sample string 3",
"description": "sample string 4",
"discountType": "sample string 5",
"discountValue": 6.0,
"startAtUtc": "sample string 7",
"endAtUtc": "sample string 8"
}
application/xml, text/xml
Sample:
<StoreOfferCreateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Models.StorePortal"> <Description>sample string 4</Description> <DiscountType>sample string 5</DiscountType> <DiscountValue>6</DiscountValue> <EndAtUtc>sample string 8</EndAtUtc> <ImageUrl>sample string 3</ImageUrl> <SectionId>1</SectionId> <StartAtUtc>sample string 7</StartAtUtc> <Title>sample string 2</Title> </StoreOfferCreateRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.