GET api/UniqueOffers/ByConsumerId/{consumerId}

Get ConsumerOffersSummary by ConsumerId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
consumerId

Id for the Consumer

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Returns a ConsumerOffersSummary

ConsumerOffersSummary
NameDescriptionTypeAdditional information
OfferName

string

None.

Barcode

globally unique identifier

None.

Discount

string

None.

ShareDiscount

string

None.

RedeemDiscount

string

None.

TotalRewardEarned

string

None.

Response Formats

application/json, text/json

Sample:
{
  "OfferName": "sample string 1",
  "Barcode": "9afde1ea-f6c8-4594-a94a-7d1990835ccd",
  "Discount": "sample string 3",
  "ShareDiscount": "sample string 4",
  "RedeemDiscount": "sample string 5",
  "TotalRewardEarned": "sample string 6"
}

application/xml, text/xml

Sample:
<ConsumerOffersSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FaceOffers.Entities.DataModels">
  <Barcode>9afde1ea-f6c8-4594-a94a-7d1990835ccd</Barcode>
  <Discount>sample string 3</Discount>
  <OfferName>sample string 1</OfferName>
  <RedeemDiscount>sample string 5</RedeemDiscount>
  <ShareDiscount>sample string 4</ShareDiscount>
  <TotalRewardEarned>sample string 6</TotalRewardEarned>
</ConsumerOffersSummary>