POST api/Offer/RedeemOffer

Request Information

URI Parameters

None.

Body Parameters

OfferRedeemRequestViewModel
NameDescriptionTypeAdditional information
OfferId

string

Required

ContactId

string

None.

AccountId

string

Required

SendModuleId

string

Required

OfferBuilderElementId

string

None.

SendSummaryId

string

None.

OfferElementRenderForModule

BuilderElementTemplateRenderFor

Required

OfferSendDetailId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OfferId": "sample string 1",
  "ContactId": "sample string 2",
  "AccountId": "sample string 3",
  "SendModuleId": "sample string 4",
  "OfferBuilderElementId": "sample string 5",
  "SendSummaryId": "sample string 6",
  "OfferElementRenderForModule": "SmsCampaign",
  "OfferSendDetailId": "sample string 7"
}

application/xml, text/xml

Sample:
<OfferRedeemRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels">
  <AccountId>sample string 3</AccountId>
  <ContactId>sample string 2</ContactId>
  <OfferBuilderElementId>sample string 5</OfferBuilderElementId>
  <OfferElementRenderForModule>SmsCampaign</OfferElementRenderForModule>
  <OfferId>sample string 1</OfferId>
  <OfferSendDetailId>sample string 7</OfferSendDetailId>
  <SendModuleId>sample string 4</SendModuleId>
  <SendSummaryId>sample string 6</SendSummaryId>
</OfferRedeemRequestViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.