POST api/TablesManagement/ADUCreditCards?pType={pType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pType

string

Required

Body Parameters

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

Request Formats

application/json, text/json

Sample:
{
  "card_code": 1,
  "card_name": "sample string 2",
  "is_protected": "sample string 3"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

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

Response Information

Resource Description

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

Response Formats

application/json, text/json

Sample:
{
  "card_code": 1,
  "card_name": "sample string 2",
  "is_protected": "sample string 3"
}

application/xml, text/xml

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

application/bson

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