GET api/CreditCard/Get_Credit_Debit_Cards?email={email}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
email

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CreditCardRequest
NameDescriptionTypeAdditional information
Card_ID

integer

None.

Email

string

None.

Card_Number

string

None.

Transaction_Tag

string

None.

Auth_Code

string

None.

Default_Card

byte

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Card_ID": 1,
    "Email": "sample string 2",
    "Card_Number": "sample string 3",
    "Transaction_Tag": "sample string 4",
    "Auth_Code": "sample string 5",
    "Default_Card": 64
  },
  {
    "Card_ID": 1,
    "Email": "sample string 2",
    "Card_Number": "sample string 3",
    "Transaction_Tag": "sample string 4",
    "Auth_Code": "sample string 5",
    "Default_Card": 64
  }
]

application/xml, text/xml

Sample:
<ArrayOfCreditCardController.CreditCardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <CreditCardController.CreditCardRequest>
    <Auth_Code>sample string 5</Auth_Code>
    <Card_ID>1</Card_ID>
    <Card_Number>sample string 3</Card_Number>
    <Default_Card>64</Default_Card>
    <Email>sample string 2</Email>
    <Transaction_Tag>sample string 4</Transaction_Tag>
  </CreditCardController.CreditCardRequest>
  <CreditCardController.CreditCardRequest>
    <Auth_Code>sample string 5</Auth_Code>
    <Card_ID>1</Card_ID>
    <Card_Number>sample string 3</Card_Number>
    <Default_Card>64</Default_Card>
    <Email>sample string 2</Email>
    <Transaction_Tag>sample string 4</Transaction_Tag>
  </CreditCardController.CreditCardRequest>
</ArrayOfCreditCardController.CreditCardRequest>