GET api/LookUpCust/GetCreditCardClubs?pCardCode={pCardCode}&pActiveOnly={pActiveOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pCardCode

integer

Required

pActiveOnly

boolean

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CreditCardClub
NameDescriptionTypeAdditional information
credit_club_code

integer

Required

card_code

integer

Required

credit_club_name

string

Required

String length: inclusive between 0 and 30

active

string

Required

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

Response Formats

application/json, text/json

Sample:
[
  {
    "credit_club_code": 1,
    "card_code": 2,
    "credit_club_name": "sample string 3",
    "active": "sample string 4"
  },
  {
    "credit_club_code": 1,
    "card_code": 2,
    "credit_club_name": "sample string 3",
    "active": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCreditCardClub xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <CreditCardClub>
    <active>sample string 4</active>
    <card_code>2</card_code>
    <credit_club_code>1</credit_club_code>
    <credit_club_name>sample string 3</credit_club_name>
  </CreditCardClub>
  <CreditCardClub>
    <active>sample string 4</active>
    <card_code>2</card_code>
    <credit_club_code>1</credit_club_code>
    <credit_club_name>sample string 3</credit_club_name>
  </CreditCardClub>
</ArrayOfCreditCardClub>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.