POST api/SwipeCard/DecryptGiftCard

Request Information

URI Parameters

None.

Body Parameters

GiftCardDecryptRequest
NameDescriptionTypeAdditional information
CardNumber

string

None.

SwipeTrack1

string

None.

SwipeTrack2

string

None.

BatchNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CardNumber": "sample string 1",
  "SwipeTrack1": "sample string 2",
  "SwipeTrack2": "sample string 3",
  "BatchNumber": "sample string 4"
}

text/html

Sample:
{"CardNumber":"sample string 1","SwipeTrack1":"sample string 2","SwipeTrack2":"sample string 3","BatchNumber":"sample string 4"}

application/xml, text/xml

Sample:
<GiftCardDecryptRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO.Request">
  <BatchNumber>sample string 4</BatchNumber>
  <CardNumber>sample string 1</CardNumber>
  <SwipeTrack1>sample string 2</SwipeTrack1>
  <SwipeTrack2>sample string 3</SwipeTrack2>
</GiftCardDecryptRequest>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.