POST api/FlashCodes?customerAppID={customerAppID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerAppID

globally unique identifier

Required

Body Parameters

Flash
NameDescriptionTypeAdditional information
CouponCode

string

None.

CustomerID

globally unique identifier

None.

DiscountCode

string

None.

FlashNumber

integer

None.

GiftCardID

globally unique identifier

None.

GiftCardNumber

string

None.

LoyaltyCardID

globally unique identifier

None.

LoyaltyPrimaryCardNumber

string

None.

LoyaltySecondaryCardNumber

string

None.

MerchantID

integer

None.

PrepaidTicketID

globally unique identifier

None.

PrepaidTicketNumber

string

None.

ReceivableAccountID

globally unique identifier

None.

ReceivableAccountIdentifierCode

string

None.

ReceivableAccountIdentifierID

globally unique identifier

None.

SubscriptionCardID

globally unique identifier

None.

SubscriptionPrimaryCardNumber

string

None.

SubscriptionSecondaryCardNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CouponCode": "sample string 1",
  "CustomerID": "7a6acdf1-3067-4138-8dfb-cddeb8e551a4",
  "DiscountCode": "sample string 3",
  "FlashNumber": 4,
  "GiftCardID": "a6cfaf65-f20b-4b62-b729-aaeb6ad96be3",
  "GiftCardNumber": "sample string 6",
  "LoyaltyCardID": "9d6ac295-58c3-4493-8483-49b13a86a534",
  "LoyaltyPrimaryCardNumber": "sample string 8",
  "LoyaltySecondaryCardNumber": "sample string 9",
  "MerchantID": 10,
  "PrepaidTicketID": "5ba51488-0391-4810-b073-ddc72947d578",
  "PrepaidTicketNumber": "sample string 12",
  "ReceivableAccountID": "9400e361-5934-412c-9ee9-3c6d5603c701",
  "ReceivableAccountIdentifierCode": "sample string 14",
  "ReceivableAccountIdentifierID": "8ba6ae97-649b-496a-80f4-503f5d2ffefd",
  "SubscriptionCardID": "38286b43-fb3b-4973-86d2-6d9fd7ff59e5",
  "SubscriptionPrimaryCardNumber": "sample string 17",
  "SubscriptionSecondaryCardNumber": "sample string 18"
}

application/xml, text/xml

Sample:
<Flash xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CentralApi.Contracts">
  <CouponCode>sample string 1</CouponCode>
  <CustomerID>7a6acdf1-3067-4138-8dfb-cddeb8e551a4</CustomerID>
  <DiscountCode>sample string 3</DiscountCode>
  <FlashNumber>4</FlashNumber>
  <GiftCardID>a6cfaf65-f20b-4b62-b729-aaeb6ad96be3</GiftCardID>
  <GiftCardNumber>sample string 6</GiftCardNumber>
  <LoyaltyCardID>9d6ac295-58c3-4493-8483-49b13a86a534</LoyaltyCardID>
  <LoyaltyPrimaryCardNumber>sample string 8</LoyaltyPrimaryCardNumber>
  <LoyaltySecondaryCardNumber>sample string 9</LoyaltySecondaryCardNumber>
  <MerchantID>10</MerchantID>
  <PrepaidTicketID>5ba51488-0391-4810-b073-ddc72947d578</PrepaidTicketID>
  <PrepaidTicketNumber>sample string 12</PrepaidTicketNumber>
  <ReceivableAccountID>9400e361-5934-412c-9ee9-3c6d5603c701</ReceivableAccountID>
  <ReceivableAccountIdentifierCode>sample string 14</ReceivableAccountIdentifierCode>
  <ReceivableAccountIdentifierID>8ba6ae97-649b-496a-80f4-503f5d2ffefd</ReceivableAccountIdentifierID>
  <SubscriptionCardID>38286b43-fb3b-4973-86d2-6d9fd7ff59e5</SubscriptionCardID>
  <SubscriptionPrimaryCardNumber>sample string 17</SubscriptionPrimaryCardNumber>
  <SubscriptionSecondaryCardNumber>sample string 18</SubscriptionSecondaryCardNumber>
</Flash>

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.