POST astro/offers/redeem

Authorized only.

Request Information

URI Parameters

None.

Body Parameters

AstroOffersRequest
NameDescriptionTypeAdditional information
CustomerId

integer

None.

Email

string

None.

Address

string

None.

City

string

None.

State

string

None.

Zip

string

None.

Redemptions

Collection of AstroOfferItem

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "Email": "sample string 1",
  "Address": "sample string 2",
  "City": "sample string 3",
  "State": "sample string 4",
  "Zip": "sample string 5",
  "Redemptions": [
    {
      "OfferId": "sample string 1",
      "OfferName": "sample string 2",
      "OrderItemMobileId": 1,
      "ProductCode": "sample string 3",
      "TotalPrice": 1.0
    },
    {
      "OfferId": "sample string 1",
      "OfferName": "sample string 2",
      "OrderItemMobileId": 1,
      "ProductCode": "sample string 3",
      "TotalPrice": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<AstroOffersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Services">
  <Address>sample string 2</Address>
  <City>sample string 3</City>
  <CustomerId>1</CustomerId>
  <Email>sample string 1</Email>
  <Redemptions>
    <AstroOfferItem>
      <OfferId>sample string 1</OfferId>
      <OfferName>sample string 2</OfferName>
      <OrderItemMobileId>1</OrderItemMobileId>
      <ProductCode>sample string 3</ProductCode>
      <TotalPrice>1</TotalPrice>
    </AstroOfferItem>
    <AstroOfferItem>
      <OfferId>sample string 1</OfferId>
      <OfferName>sample string 2</OfferName>
      <OrderItemMobileId>1</OrderItemMobileId>
      <ProductCode>sample string 3</ProductCode>
      <TotalPrice>1</TotalPrice>
    </AstroOfferItem>
  </Redemptions>
  <State>sample string 4</State>
  <Zip>sample string 5</Zip>
</AstroOffersRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.