POST api/Proteg?card_id={card_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
card_id

integer

Required

Body Parameters

Proteg_req
NameDescriptionTypeAdditional information
CustomerName

string

None.

CardType

string

Required

CardHolder

string

Required

CardNumber

string

Required

CardExpiration

string

Required

Brand

string

Required

SecurityCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerName": "sample string 1",
  "CardType": "sample string 2",
  "CardHolder": "sample string 3",
  "CardNumber": "sample string 4",
  "CardExpiration": "sample string 5",
  "Brand": "sample string 6",
  "SecurityCode": "sample string 7"
}

application/xml, text/xml

Sample:
<Proteg_req xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models">
  <Brand>sample string 6</Brand>
  <CardExpiration>sample string 5</CardExpiration>
  <CardHolder>sample string 3</CardHolder>
  <CardNumber>sample string 4</CardNumber>
  <CardType>sample string 2</CardType>
  <CustomerName>sample string 1</CustomerName>
  <SecurityCode>sample string 7</SecurityCode>
</Proteg_req>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>