GET api/Proteg

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CardReq
NameDescriptionTypeAdditional information
id

integer

None.

CustomerName

string

None.

Holder

string

None.

CardNumber

string

None.

ExpirationDate

string

None.

Brand

string

None.

SecurityCode

string

None.

CardType

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "CustomerName": "sample string 2",
    "Holder": "sample string 3",
    "CardNumber": "sample string 4",
    "ExpirationDate": "sample string 5",
    "Brand": "sample string 6",
    "SecurityCode": "sample string 7",
    "CardType": "sample string 8"
  },
  {
    "id": 1,
    "CustomerName": "sample string 2",
    "Holder": "sample string 3",
    "CardNumber": "sample string 4",
    "ExpirationDate": "sample string 5",
    "Brand": "sample string 6",
    "SecurityCode": "sample string 7",
    "CardType": "sample string 8"
  }
]

application/xml, text/xml

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