PUT api/CreditCard/Set_Credit_Debit_Card_As_Default_By_Card_ID

Request Information

URI Parameters

None.

Body Parameters

CreditCardRequest
NameDescriptionTypeAdditional information
Card_ID

integer

None.

Email

string

None.

Card_Number

string

None.

Transaction_Tag

string

None.

Auth_Code

string

None.

Default_Card

byte

None.

Request Formats

application/json, text/json

Sample:
{
  "Card_ID": 1,
  "Email": "sample string 2",
  "Card_Number": "sample string 3",
  "Transaction_Tag": "sample string 4",
  "Auth_Code": "sample string 5",
  "Default_Card": 64
}

application/xml, text/xml

Sample:
<CreditCardController.CreditCardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <Auth_Code>sample string 5</Auth_Code>
  <Card_ID>1</Card_ID>
  <Card_Number>sample string 3</Card_Number>
  <Default_Card>64</Default_Card>
  <Email>sample string 2</Email>
  <Transaction_Tag>sample string 4</Transaction_Tag>
</CreditCardController.CreditCardRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>