POST api/PromotionsAPI/UpdatePrmomotions_Status

Request Information

URI Parameters

None.

Body Parameters

PromotionsDTO
NameDescriptionTypeAdditional information
Id

integer

None.

promotionTypeId

integer

None.

HiddenpromotionTypeId

integer

None.

promotionType

string

None.

PromotionCode

string

None.

HiddenPromotionCode

string

None.

PromoName_En

string

None.

PromoName_Ar

string

None.

Desc_En

string

None.

Desc_Ar

string

None.

IsPromoImageUpload

boolean

None.

IsPromoImageUploadAr

boolean

None.

Image

string

None.

ImageAr

string

None.

ImageURL

string

None.

StartDate

date

None.

StartTime

string

None.

EndDate

date

None.

EndTime

string

None.

MaxUserLimits

integer

None.

MinUserLimits

decimal number

None.

Status

boolean

None.

EditMode

string

None.

DiscountType

string

None.

DiscountAmt

decimal number

None.

MaxAmount

integer

None.

MinSpend

integer

None.

MinSpentFrom

date

None.

ComboPrice

decimal number

None.

MaxuseLimit

integer

None.

PromotionQuantity

integer

None.

PaymentModeIds

string

None.

TempMainCategoryId

integer

None.

ApplicableDaysIds

string

None.

OrderModeIds

string

None.

DiscountedItem

integer

None.

BuyCategoryIds

string

None.

BuyCategoryId

integer

None.

BuySubCategoryIds

string

None.

BuySubCategoryId

integer

None.

BuySectionIds

string

None.

BuySectionId

integer

None.

BuyItemIds

string

None.

BuyItemId

integer

None.

BuyItemSizeIds

string

None.

BuyItemSizeId

integer

None.

BuyQuantity

integer

None.

DiscCategoryIds

string

None.

DiscSubCategoryIds

string

None.

DiscSubCategoryId

integer

None.

DiscSectionIds

string

None.

DiscSectionId

integer

None.

DiscItemIds

string

None.

DiscItemSizeIds

string

None.

DiscItemSizeId

integer

None.

DiscQuantity

integer

None.

ExpireInDays

integer

None.

IsExistsPromo

string

None.

IsExistsPromoItems

string

None.

IsActive

boolean

None.

CreatedBy

integer

None.

IsDeleted

boolean

None.

Message

string

None.

MessageAr

string

None.

UserId

integer

None.

AdminId

integer

None.

UserBrandId

integer

None.

RoleId

integer

None.

datasetxml

string

None.

StatusCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "promotionTypeId": 2,
  "HiddenpromotionTypeId": 3,
  "promotionType": "sample string 4",
  "PromotionCode": "sample string 5",
  "HiddenPromotionCode": "sample string 6",
  "PromoName_En": "sample string 7",
  "PromoName_Ar": "sample string 8",
  "Desc_En": "sample string 9",
  "Desc_Ar": "sample string 10",
  "IsPromoImageUpload": true,
  "IsPromoImageUploadAr": true,
  "Image": "sample string 13",
  "ImageAr": "sample string 14",
  "ImageURL": "sample string 15",
  "StartDate": "2024-10-31T09:19:08.0576006+00:00",
  "StartTime": "sample string 16",
  "EndDate": "2024-10-31T09:19:08.0576006+00:00",
  "EndTime": "sample string 17",
  "MaxUserLimits": 18,
  "MinUserLimits": 19.0,
  "Status": true,
  "EditMode": "sample string 21",
  "DiscountType": "sample string 22",
  "DiscountAmt": 23.0,
  "MaxAmount": 24,
  "MinSpend": 25,
  "MinSpentFrom": "2024-10-31T09:19:08.0576006+00:00",
  "ComboPrice": 26.0,
  "MaxuseLimit": 27,
  "PromotionQuantity": 28,
  "PaymentModeIds": "sample string 29",
  "TempMainCategoryId": 30,
  "ApplicableDaysIds": "sample string 31",
  "OrderModeIds": "sample string 32",
  "DiscountedItem": 33,
  "BuyCategoryIds": "sample string 34",
  "BuyCategoryId": 35,
  "BuySubCategoryIds": "sample string 36",
  "BuySubCategoryId": 37,
  "BuySectionIds": "sample string 38",
  "BuySectionId": 39,
  "BuyItemIds": "sample string 40",
  "BuyItemId": 41,
  "BuyItemSizeIds": "sample string 42",
  "BuyItemSizeId": 43,
  "BuyQuantity": 44,
  "DiscCategoryIds": "sample string 45",
  "DiscSubCategoryIds": "sample string 46",
  "DiscSubCategoryId": 47,
  "DiscSectionIds": "sample string 48",
  "DiscSectionId": 49,
  "DiscItemIds": "sample string 50",
  "DiscItemSizeIds": "sample string 51",
  "DiscItemSizeId": 52,
  "DiscQuantity": 53,
  "ExpireInDays": 1,
  "IsExistsPromo": "sample string 54",
  "IsExistsPromoItems": "sample string 55",
  "IsActive": true,
  "CreatedBy": 56,
  "IsDeleted": true,
  "Message": "sample string 58",
  "MessageAr": "sample string 59",
  "UserId": 60,
  "AdminId": 61,
  "UserBrandId": 62,
  "RoleId": 63,
  "datasetxml": "sample string 64",
  "StatusCode": 65
}

application/xml, text/xml

Sample:
<PromotionsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BNC.POS.API.DTO_s">
  <AdminId>61</AdminId>
  <CreatedBy>56</CreatedBy>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <Message>sample string 58</Message>
  <MessageAr>sample string 59</MessageAr>
  <RoleId>63</RoleId>
  <Status>false</Status>
  <StatusCode>65</StatusCode>
  <UserBrandId>62</UserBrandId>
  <UserId>60</UserId>
  <datasetxml>sample string 64</datasetxml>
  <ApplicableDaysIds>sample string 31</ApplicableDaysIds>
  <BuyCategoryId>35</BuyCategoryId>
  <BuyCategoryIds>sample string 34</BuyCategoryIds>
  <BuyItemId>41</BuyItemId>
  <BuyItemIds>sample string 40</BuyItemIds>
  <BuyItemSizeId>43</BuyItemSizeId>
  <BuyItemSizeIds>sample string 42</BuyItemSizeIds>
  <BuyQuantity>44</BuyQuantity>
  <BuySectionId>39</BuySectionId>
  <BuySectionIds>sample string 38</BuySectionIds>
  <BuySubCategoryId>37</BuySubCategoryId>
  <BuySubCategoryIds>sample string 36</BuySubCategoryIds>
  <ComboPrice>26</ComboPrice>
  <Desc_Ar>sample string 10</Desc_Ar>
  <Desc_En>sample string 9</Desc_En>
  <DiscCategoryIds>sample string 45</DiscCategoryIds>
  <DiscItemIds>sample string 50</DiscItemIds>
  <DiscItemSizeId>52</DiscItemSizeId>
  <DiscItemSizeIds>sample string 51</DiscItemSizeIds>
  <DiscQuantity>53</DiscQuantity>
  <DiscSectionId>49</DiscSectionId>
  <DiscSectionIds>sample string 48</DiscSectionIds>
  <DiscSubCategoryId>47</DiscSubCategoryId>
  <DiscSubCategoryIds>sample string 46</DiscSubCategoryIds>
  <DiscountAmt>23</DiscountAmt>
  <DiscountType>sample string 22</DiscountType>
  <DiscountedItem>33</DiscountedItem>
  <EditMode>sample string 21</EditMode>
  <EndDate>2024-10-31T09:19:08.0576006+00:00</EndDate>
  <EndTime>sample string 17</EndTime>
  <ExpireInDays>1</ExpireInDays>
  <HiddenPromotionCode>sample string 6</HiddenPromotionCode>
  <HiddenpromotionTypeId>3</HiddenpromotionTypeId>
  <Id>1</Id>
  <Image>sample string 13</Image>
  <ImageAr>sample string 14</ImageAr>
  <ImageURL>sample string 15</ImageURL>
  <IsExistsPromo>sample string 54</IsExistsPromo>
  <IsExistsPromoItems>sample string 55</IsExistsPromoItems>
  <IsPromoImageUpload>true</IsPromoImageUpload>
  <IsPromoImageUploadAr>true</IsPromoImageUploadAr>
  <MaxAmount>24</MaxAmount>
  <MaxUserLimits>18</MaxUserLimits>
  <MaxuseLimit>27</MaxuseLimit>
  <MinSpend>25</MinSpend>
  <MinSpentFrom>2024-10-31T09:19:08.0576006+00:00</MinSpentFrom>
  <MinUserLimits>19</MinUserLimits>
  <OrderModeIds>sample string 32</OrderModeIds>
  <PaymentModeIds>sample string 29</PaymentModeIds>
  <PromoName_Ar>sample string 8</PromoName_Ar>
  <PromoName_En>sample string 7</PromoName_En>
  <PromotionCode>sample string 5</PromotionCode>
  <PromotionQuantity>28</PromotionQuantity>
  <StartDate>2024-10-31T09:19:08.0576006+00:00</StartDate>
  <StartTime>sample string 16</StartTime>
  <Status>true</Status>
  <TempMainCategoryId>30</TempMainCategoryId>
  <promotionType>sample string 4</promotionType>
  <promotionTypeId>2</promotionTypeId>
</PromotionsDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>