GET api/Promotions/GetPromotionStatus/{promoCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
promoCode

string

Required

Body Parameters

None.

Response Information

Resource Description

PromotionStatus
NameDescriptionTypeAdditional information
PromoCode

string

None.

IsLive

boolean

None.

IsLiveToRazaOnly

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "PromoCode": "sample string 1",
  "IsLive": true,
  "IsLiveToRazaOnly": true
}

application/xml, text/xml

Sample:
<PromotionStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Promotions">
  <IsLive>true</IsLive>
  <IsLiveToRazaOnly>true</IsLiveToRazaOnly>
  <PromoCode>sample string 1</PromoCode>
</PromotionStatus>