GET api/Customers/CompleteCreditcards

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CompleteCreditCardResponseModel
NameDescriptionTypeAdditional information
CardId

string

None.

CardNumber

string

None.

CardType

string

None.

ExpiryDate

string

None.

ExpiryMonth

string

None.

ExpiryYear

string

None.

Cvv

string

None.

Status

boolean

None.

CardHolderName

string

None.

CreditCardAddress

AddressReponseModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CardId": "sample string 1",
    "CardNumber": "sample string 2",
    "CardType": "sample string 3",
    "ExpiryDate": "sample string 4",
    "ExpiryMonth": "sample string 5",
    "ExpiryYear": "sample string 6",
    "Cvv": "sample string 7",
    "Status": true,
    "CardHolderName": "sample string 9",
    "CreditCardAddress": {
      "StreetAddress": "sample string 1",
      "City": "sample string 2",
      "State": "sample string 3",
      "Country": {
        "CountryId": 1,
        "CountryName": "sample string 2",
        "CountryCode": "sample string 3",
        "ISOCode": "sample string 4"
      },
      "ZipCode": "sample string 4",
      "HomePhone": "sample string 5",
      "WorkPhone": "sample string 6",
      "Mobile": "sample string 7",
      "AccountEmail": "sample string 8"
    }
  },
  {
    "CardId": "sample string 1",
    "CardNumber": "sample string 2",
    "CardType": "sample string 3",
    "ExpiryDate": "sample string 4",
    "ExpiryMonth": "sample string 5",
    "ExpiryYear": "sample string 6",
    "Cvv": "sample string 7",
    "Status": true,
    "CardHolderName": "sample string 9",
    "CreditCardAddress": {
      "StreetAddress": "sample string 1",
      "City": "sample string 2",
      "State": "sample string 3",
      "Country": {
        "CountryId": 1,
        "CountryName": "sample string 2",
        "CountryCode": "sample string 3",
        "ISOCode": "sample string 4"
      },
      "ZipCode": "sample string 4",
      "HomePhone": "sample string 5",
      "WorkPhone": "sample string 6",
      "Mobile": "sample string 7",
      "AccountEmail": "sample string 8"
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfCompleteCreditCardResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Customer.Response">
  <CompleteCreditCardResponseModel>
    <CardHolderName>sample string 9</CardHolderName>
    <CardId>sample string 1</CardId>
    <CardNumber>sample string 2</CardNumber>
    <CardType>sample string 3</CardType>
    <CreditCardAddress>
      <AccountEmail>sample string 8</AccountEmail>
      <City>sample string 2</City>
      <Country>
        <CountryCode>sample string 3</CountryCode>
        <CountryId>1</CountryId>
        <CountryName>sample string 2</CountryName>
        <ISOCode>sample string 4</ISOCode>
      </Country>
      <HomePhone>sample string 5</HomePhone>
      <Mobile>sample string 7</Mobile>
      <State>sample string 3</State>
      <StreetAddress>sample string 1</StreetAddress>
      <WorkPhone>sample string 6</WorkPhone>
      <ZipCode>sample string 4</ZipCode>
    </CreditCardAddress>
    <Cvv>sample string 7</Cvv>
    <ExpiryDate>sample string 4</ExpiryDate>
    <ExpiryMonth>sample string 5</ExpiryMonth>
    <ExpiryYear>sample string 6</ExpiryYear>
    <Status>true</Status>
  </CompleteCreditCardResponseModel>
  <CompleteCreditCardResponseModel>
    <CardHolderName>sample string 9</CardHolderName>
    <CardId>sample string 1</CardId>
    <CardNumber>sample string 2</CardNumber>
    <CardType>sample string 3</CardType>
    <CreditCardAddress>
      <AccountEmail>sample string 8</AccountEmail>
      <City>sample string 2</City>
      <Country>
        <CountryCode>sample string 3</CountryCode>
        <CountryId>1</CountryId>
        <CountryName>sample string 2</CountryName>
        <ISOCode>sample string 4</ISOCode>
      </Country>
      <HomePhone>sample string 5</HomePhone>
      <Mobile>sample string 7</Mobile>
      <State>sample string 3</State>
      <StreetAddress>sample string 1</StreetAddress>
      <WorkPhone>sample string 6</WorkPhone>
      <ZipCode>sample string 4</ZipCode>
    </CreditCardAddress>
    <Cvv>sample string 7</Cvv>
    <ExpiryDate>sample string 4</ExpiryDate>
    <ExpiryMonth>sample string 5</ExpiryMonth>
    <ExpiryYear>sample string 6</ExpiryYear>
    <Status>true</Status>
  </CompleteCreditCardResponseModel>
</ArrayOfCompleteCreditCardResponseModel>