GET api/TablesManagement/GetCreditCardsDataForEdit

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CreditCard
NameDescriptionTypeAdditional information
card_code

integer

Required

card_name

string

Required

String length: inclusive between 0 and 50

is_protected

string

Required

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

String length: inclusive between 0 and 1

interface_code

string

String length: inclusive between 0 and 10

old_code

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "card_code": 1,
    "card_name": "sample string 2",
    "is_protected": "sample string 3",
    "interface_code": "sample string 4",
    "old_code": 1
  },
  {
    "card_code": 1,
    "card_name": "sample string 2",
    "is_protected": "sample string 3",
    "interface_code": "sample string 4",
    "old_code": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfCreditCard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <CreditCard>
    <card_code>1</card_code>
    <card_name>sample string 2</card_name>
    <interface_code>sample string 4</interface_code>
    <is_protected>sample string 3</is_protected>
    <old_code>1</old_code>
  </CreditCard>
  <CreditCard>
    <card_code>1</card_code>
    <card_name>sample string 2</card_name>
    <interface_code>sample string 4</interface_code>
    <is_protected>sample string 3</is_protected>
    <old_code>1</old_code>
  </CreditCard>
</ArrayOfCreditCard>

application/bson

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