POST api/MobileApp/GetAllPromotions_With_Multiple_Currencies

Request Information

URI Parameters

None.

Body Parameters

GenericRequestModel
NameDescriptionTypeAdditional information
PhoneNumber

string

None.

Pin

string

None.

LocationCountry

string

None.

DeviceId

string

None.

DeviceType

string

None.

DeviceName

string

None.

DeviceModel

string

None.

AppVersion

string

None.

AppType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PhoneNumber": "sample string 1",
  "Pin": "sample string 2",
  "LocationCountry": "sample string 3",
  "DeviceId": "sample string 4",
  "DeviceType": "sample string 5",
  "DeviceName": "sample string 6",
  "DeviceModel": "sample string 7",
  "AppVersion": "sample string 8",
  "AppType": "sample string 9"
}

application/xml, text/xml

Sample:
<GenericRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp">
  <AppType>sample string 9</AppType>
  <AppVersion>sample string 8</AppVersion>
  <DeviceId>sample string 4</DeviceId>
  <DeviceModel>sample string 7</DeviceModel>
  <DeviceName>sample string 6</DeviceName>
  <DeviceType>sample string 5</DeviceType>
  <LocationCountry>sample string 3</LocationCountry>
  <PhoneNumber>sample string 1</PhoneNumber>
  <Pin>sample string 2</Pin>
</GenericRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MultiCurrencyPromotionDetailResponse
NameDescriptionTypeAdditional information
ResponseCode

string

None.

ResponseMessage

string

None.

PlanId

integer

None.

CountryFromId

integer

None.

CurrencyCode

string

None.

CurrencySymbol

string

None.

SubCurrencyCode

string

None.

SubCurrencySymbol

string

None.

MultiplyFactor

integer

None.

ExchangeRate

decimal number

None.

AmountChargedCurrencyCode

string

None.

PromotionsDetail

Collection of PromotionDetail

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": "sample string 1",
  "ResponseMessage": "sample string 2",
  "PlanId": 3,
  "CountryFromId": 4,
  "CurrencyCode": "sample string 5",
  "CurrencySymbol": "sample string 6",
  "SubCurrencyCode": "sample string 7",
  "SubCurrencySymbol": "sample string 8",
  "MultiplyFactor": 9,
  "ExchangeRate": 10.0,
  "AmountChargedCurrencyCode": "sample string 11",
  "PromotionsDetail": [
    {
      "ResponseCode": "sample string 1",
      "ResponseMessage": "sample string 2",
      "PromotionId": 3,
      "OfferName": "sample string 4",
      "Description": "sample string 5",
      "CouponCode": "sample string 6",
      "PopUpOfferImage": "sample string 7",
      "IsPopUp": true,
      "Action": "sample string 9",
      "TargetURL": "sample string 10",
      "NormalOfferImage": "sample string 11",
      "BannerImage": "sample string 12",
      "PromotionPrices": [
        {
          "Sno": 1,
          "PromotionId": 2,
          "PurchaseAmount": 3.0,
          "Discount": 4.0,
          "DiscountType": "sample string 5"
        },
        {
          "Sno": 1,
          "PromotionId": 2,
          "PurchaseAmount": 3.0,
          "Discount": 4.0,
          "DiscountType": "sample string 5"
        }
      ],
      "PromoStartDate": "2024-11-28T05:54:52.8300425-05:00",
      "PromoEndDate": "2024-11-28T05:54:52.8300425-05:00"
    },
    {
      "ResponseCode": "sample string 1",
      "ResponseMessage": "sample string 2",
      "PromotionId": 3,
      "OfferName": "sample string 4",
      "Description": "sample string 5",
      "CouponCode": "sample string 6",
      "PopUpOfferImage": "sample string 7",
      "IsPopUp": true,
      "Action": "sample string 9",
      "TargetURL": "sample string 10",
      "NormalOfferImage": "sample string 11",
      "BannerImage": "sample string 12",
      "PromotionPrices": [
        {
          "Sno": 1,
          "PromotionId": 2,
          "PurchaseAmount": 3.0,
          "Discount": 4.0,
          "DiscountType": "sample string 5"
        },
        {
          "Sno": 1,
          "PromotionId": 2,
          "PurchaseAmount": 3.0,
          "Discount": 4.0,
          "DiscountType": "sample string 5"
        }
      ],
      "PromoStartDate": "2024-11-28T05:54:52.8300425-05:00",
      "PromoEndDate": "2024-11-28T05:54:52.8300425-05:00"
    }
  ]
}

application/xml, text/xml

Sample:
<MultiCurrencyPromotionDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.MobileApp">
  <AmountChargedCurrencyCode>sample string 11</AmountChargedCurrencyCode>
  <CountryFromId>4</CountryFromId>
  <CurrencyCode>sample string 5</CurrencyCode>
  <CurrencySymbol>sample string 6</CurrencySymbol>
  <ExchangeRate>10</ExchangeRate>
  <MultiplyFactor>9</MultiplyFactor>
  <PlanId>3</PlanId>
  <PromotionsDetail>
    <PromotionDetail>
      <Action>sample string 9</Action>
      <BannerImage>sample string 12</BannerImage>
      <CouponCode>sample string 6</CouponCode>
      <Description>sample string 5</Description>
      <IsPopUp>true</IsPopUp>
      <NormalOfferImage>sample string 11</NormalOfferImage>
      <OfferName>sample string 4</OfferName>
      <PopUpOfferImage>sample string 7</PopUpOfferImage>
      <PromoEndDate>2024-11-28T05:54:52.8300425-05:00</PromoEndDate>
      <PromoStartDate>2024-11-28T05:54:52.8300425-05:00</PromoStartDate>
      <PromotionId>3</PromotionId>
      <PromotionPrices>
        <PromoPriceDetail>
          <Discount>4</Discount>
          <DiscountType>sample string 5</DiscountType>
          <PromotionId>2</PromotionId>
          <PurchaseAmount>3</PurchaseAmount>
          <Sno>1</Sno>
        </PromoPriceDetail>
        <PromoPriceDetail>
          <Discount>4</Discount>
          <DiscountType>sample string 5</DiscountType>
          <PromotionId>2</PromotionId>
          <PurchaseAmount>3</PurchaseAmount>
          <Sno>1</Sno>
        </PromoPriceDetail>
      </PromotionPrices>
      <ResponseCode>sample string 1</ResponseCode>
      <ResponseMessage>sample string 2</ResponseMessage>
      <TargetURL>sample string 10</TargetURL>
    </PromotionDetail>
    <PromotionDetail>
      <Action>sample string 9</Action>
      <BannerImage>sample string 12</BannerImage>
      <CouponCode>sample string 6</CouponCode>
      <Description>sample string 5</Description>
      <IsPopUp>true</IsPopUp>
      <NormalOfferImage>sample string 11</NormalOfferImage>
      <OfferName>sample string 4</OfferName>
      <PopUpOfferImage>sample string 7</PopUpOfferImage>
      <PromoEndDate>2024-11-28T05:54:52.8300425-05:00</PromoEndDate>
      <PromoStartDate>2024-11-28T05:54:52.8300425-05:00</PromoStartDate>
      <PromotionId>3</PromotionId>
      <PromotionPrices>
        <PromoPriceDetail>
          <Discount>4</Discount>
          <DiscountType>sample string 5</DiscountType>
          <PromotionId>2</PromotionId>
          <PurchaseAmount>3</PurchaseAmount>
          <Sno>1</Sno>
        </PromoPriceDetail>
        <PromoPriceDetail>
          <Discount>4</Discount>
          <DiscountType>sample string 5</DiscountType>
          <PromotionId>2</PromotionId>
          <PurchaseAmount>3</PurchaseAmount>
          <Sno>1</Sno>
        </PromoPriceDetail>
      </PromotionPrices>
      <ResponseCode>sample string 1</ResponseCode>
      <ResponseMessage>sample string 2</ResponseMessage>
      <TargetURL>sample string 10</TargetURL>
    </PromotionDetail>
  </PromotionsDetail>
  <ResponseCode>sample string 1</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
  <SubCurrencyCode>sample string 7</SubCurrencyCode>
  <SubCurrencySymbol>sample string 8</SubCurrencySymbol>
</MultiCurrencyPromotionDetailResponse>