GET api/SharedOffers/ByConsumer/{consumerId}

Get SharedOffers by ConsumerId

Request Information

URI Parameters

NameDescriptionTypeAdditional information
consumerId

Id for the Consumer (the from Consumer)

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Returns a list of SharedOffers

ConsumerSharedOfferSummary
NameDescriptionTypeAdditional information
LastName

string

None.

FirstName

string

None.

OfferName

string

None.

Redeemed

boolean

None.

ShareDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "LastName": "sample string 1",
  "FirstName": "sample string 2",
  "OfferName": "sample string 3",
  "Redeemed": true,
  "ShareDate": "2018-06-14T18:13:05.398499+00:00"
}

application/xml, text/xml

Sample:
<ConsumerSharedOfferSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FaceOffers.Entities.DataModels">
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 1</LastName>
  <OfferName>sample string 3</OfferName>
  <Redeemed>true</Redeemed>
  <ShareDate>2018-06-14T18:13:05.398499+00:00</ShareDate>
</ConsumerSharedOfferSummary>