GET api/Card/GetCards?userName={userName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userName

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of cardRequest
NameDescriptionTypeAdditional information
cardNumber

integer

None.

userName

string

None.

cardType

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "cardNumber": 1,
    "userName": "sample string 2",
    "cardType": 3
  },
  {
    "cardNumber": 1,
    "userName": "sample string 2",
    "cardType": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfCardController.cardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <CardController.cardRequest>
    <cardNumber>1</cardNumber>
    <cardType>3</cardType>
    <userName>sample string 2</userName>
  </CardController.cardRequest>
  <CardController.cardRequest>
    <cardNumber>1</cardNumber>
    <cardType>3</cardType>
    <userName>sample string 2</userName>
  </CardController.cardRequest>
</ArrayOfCardController.cardRequest>