GET api/Promotions/NumberOfCouponsAndEmailsThatCanBeSent?businessId={businessId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
businessId

integer

Required

Body Parameters

None.

Response Information

Resource Description

NumberOfCouponsAndEmails
NameDescriptionTypeAdditional information
numberOfEmails

integer

None.

numberOfCoupons

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "numberOfEmails": 1,
  "numberOfCoupons": 2
}

application/xml, text/xml

Sample:
<PromotionsController.NumberOfCouponsAndEmails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpinToWin2._0.Controllers">
  <numberOfCoupons>2</numberOfCoupons>
  <numberOfEmails>1</numberOfEmails>
</PromotionsController.NumberOfCouponsAndEmails>