GET api/Notification/GetAllPromotions
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of NMPromotionDtoName | Description | Type | Additional information |
---|---|---|---|
PromotionId | integer |
None. |
|
OfferName | string |
None. |
|
Description | string |
None. |
|
CouponCode | string |
None. |
|
IsPopUp | boolean |
None. |
|
Action | string |
None. |
|
TargetUrl | string |
None. |
|
Status | boolean |
None. |
|
PromoStartDate | date |
None. |
|
PromoEndDate | date |
None. |
|
MaxUseCount | string |
None. |
|
ApplicablePlatForms | string |
None. |
|
ApplicableApps | string |
None. |
|
ApplicableForPlans | string |
None. |
|
ApplicableCountries | string |
None. |
|
ApplicableUsers | string |
None. |
|
BannerImageUrl | string |
None. |
|
NormalOfferImageUrl | string |
None. |
|
PopUpOfferImageUrl | string |
None. |
|
Prices | Collection of NMPromotionPricesDto |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PromotionId": 1, "OfferName": "sample string 2", "Description": "sample string 3", "CouponCode": "sample string 4", "IsPopUp": true, "Action": "sample string 6", "TargetUrl": "sample string 7", "Status": true, "PromoStartDate": "2024-11-28T05:57:30.5703194-05:00", "PromoEndDate": "2024-11-28T05:57:30.5703194-05:00", "MaxUseCount": "sample string 11", "ApplicablePlatForms": "sample string 12", "ApplicableApps": "sample string 13", "ApplicableForPlans": "sample string 14", "ApplicableCountries": "sample string 15", "ApplicableUsers": "sample string 16", "BannerImageUrl": "sample string 17", "NormalOfferImageUrl": "sample string 18", "PopUpOfferImageUrl": "sample string 19", "Prices": [ { "PriceId": 1, "PromotionId": 2, "MinimumAmount": 3.1, "MaximumAmount": 4.1, "DiscountPercent": 5.1 }, { "PriceId": 1, "PromotionId": 2, "MinimumAmount": 3.1, "MaximumAmount": 4.1, "DiscountPercent": 5.1 } ] }, { "PromotionId": 1, "OfferName": "sample string 2", "Description": "sample string 3", "CouponCode": "sample string 4", "IsPopUp": true, "Action": "sample string 6", "TargetUrl": "sample string 7", "Status": true, "PromoStartDate": "2024-11-28T05:57:30.5703194-05:00", "PromoEndDate": "2024-11-28T05:57:30.5703194-05:00", "MaxUseCount": "sample string 11", "ApplicablePlatForms": "sample string 12", "ApplicableApps": "sample string 13", "ApplicableForPlans": "sample string 14", "ApplicableCountries": "sample string 15", "ApplicableUsers": "sample string 16", "BannerImageUrl": "sample string 17", "NormalOfferImageUrl": "sample string 18", "PopUpOfferImageUrl": "sample string 19", "Prices": [ { "PriceId": 1, "PromotionId": 2, "MinimumAmount": 3.1, "MaximumAmount": 4.1, "DiscountPercent": 5.1 }, { "PriceId": 1, "PromotionId": 2, "MinimumAmount": 3.1, "MaximumAmount": 4.1, "DiscountPercent": 5.1 } ] } ]
application/xml, text/xml
Sample:
<ArrayOfNMPromotionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Notifications"> <NMPromotionDto> <Action>sample string 6</Action> <ApplicableApps>sample string 13</ApplicableApps> <ApplicableCountries>sample string 15</ApplicableCountries> <ApplicableForPlans>sample string 14</ApplicableForPlans> <ApplicablePlatForms>sample string 12</ApplicablePlatForms> <ApplicableUsers>sample string 16</ApplicableUsers> <BannerImageUrl>sample string 17</BannerImageUrl> <CouponCode>sample string 4</CouponCode> <Description>sample string 3</Description> <IsPopUp>true</IsPopUp> <MaxUseCount>sample string 11</MaxUseCount> <NormalOfferImageUrl>sample string 18</NormalOfferImageUrl> <OfferName>sample string 2</OfferName> <PopUpOfferImageUrl>sample string 19</PopUpOfferImageUrl> <Prices> <NMPromotionPricesDto> <DiscountPercent>5.1</DiscountPercent> <MaximumAmount>4.1</MaximumAmount> <MinimumAmount>3.1</MinimumAmount> <PriceId>1</PriceId> <PromotionId>2</PromotionId> </NMPromotionPricesDto> <NMPromotionPricesDto> <DiscountPercent>5.1</DiscountPercent> <MaximumAmount>4.1</MaximumAmount> <MinimumAmount>3.1</MinimumAmount> <PriceId>1</PriceId> <PromotionId>2</PromotionId> </NMPromotionPricesDto> </Prices> <PromoEndDate>2024-11-28T05:57:30.5703194-05:00</PromoEndDate> <PromoStartDate>2024-11-28T05:57:30.5703194-05:00</PromoStartDate> <PromotionId>1</PromotionId> <Status>true</Status> <TargetUrl>sample string 7</TargetUrl> </NMPromotionDto> <NMPromotionDto> <Action>sample string 6</Action> <ApplicableApps>sample string 13</ApplicableApps> <ApplicableCountries>sample string 15</ApplicableCountries> <ApplicableForPlans>sample string 14</ApplicableForPlans> <ApplicablePlatForms>sample string 12</ApplicablePlatForms> <ApplicableUsers>sample string 16</ApplicableUsers> <BannerImageUrl>sample string 17</BannerImageUrl> <CouponCode>sample string 4</CouponCode> <Description>sample string 3</Description> <IsPopUp>true</IsPopUp> <MaxUseCount>sample string 11</MaxUseCount> <NormalOfferImageUrl>sample string 18</NormalOfferImageUrl> <OfferName>sample string 2</OfferName> <PopUpOfferImageUrl>sample string 19</PopUpOfferImageUrl> <Prices> <NMPromotionPricesDto> <DiscountPercent>5.1</DiscountPercent> <MaximumAmount>4.1</MaximumAmount> <MinimumAmount>3.1</MinimumAmount> <PriceId>1</PriceId> <PromotionId>2</PromotionId> </NMPromotionPricesDto> <NMPromotionPricesDto> <DiscountPercent>5.1</DiscountPercent> <MaximumAmount>4.1</MaximumAmount> <MinimumAmount>3.1</MinimumAmount> <PriceId>1</PriceId> <PromotionId>2</PromotionId> </NMPromotionPricesDto> </Prices> <PromoEndDate>2024-11-28T05:57:30.5703194-05:00</PromoEndDate> <PromoStartDate>2024-11-28T05:57:30.5703194-05:00</PromoStartDate> <PromotionId>1</PromotionId> <Status>true</Status> <TargetUrl>sample string 7</TargetUrl> </NMPromotionDto> </ArrayOfNMPromotionDto>