POST api/ARCustomerCreditCardSetup/EnableDisabledCards/{accountId}/{companyId}/{arCustomerMasterId}/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

companyId

string

Required

arCustomerMasterId

string

Required

id

integer

Required

Body Parameters

ARCustomerCreditCardGridDisplay
NameDescriptionTypeAdditional information
Id

integer

None.

ARCustomerMasterId

string

None.

CustomerName

string

None.

CardType

string

None.

CardExpiryMonth

string

None.

CardExpiryYear

string

None.

CardCompanyName

string

None.

CardHolderName

string

None.

Last4Digits

string

None.

IsPrimaryCreditCard

boolean

None.

CardLabel

string

None.

IsEnabled

boolean

None.

PaymentSourceType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ARCustomerMasterId": "sample string 2",
  "CustomerName": "sample string 3",
  "CardType": "sample string 4",
  "CardExpiryMonth": "sample string 5",
  "CardExpiryYear": "sample string 6",
  "CardCompanyName": "sample string 7",
  "CardHolderName": "sample string 8",
  "Last4Digits": "sample string 9",
  "IsPrimaryCreditCard": true,
  "CardLabel": "sample string 11",
  "IsEnabled": true,
  "PaymentSourceType": "sample string 13"
}

application/xml, text/xml

Sample:
<ARCustomerCreditCardGridDisplay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.AR">
  <ARCustomerMasterId>sample string 2</ARCustomerMasterId>
  <CardCompanyName>sample string 7</CardCompanyName>
  <CardExpiryMonth>sample string 5</CardExpiryMonth>
  <CardExpiryYear>sample string 6</CardExpiryYear>
  <CardHolderName>sample string 8</CardHolderName>
  <CardLabel>sample string 11</CardLabel>
  <CardType>sample string 4</CardType>
  <CustomerName>sample string 3</CustomerName>
  <Id>1</Id>
  <IsEnabled>true</IsEnabled>
  <IsPrimaryCreditCard>true</IsPrimaryCreditCard>
  <Last4Digits>sample string 9</Last4Digits>
  <PaymentSourceType>sample string 13</PaymentSourceType>
</ARCustomerCreditCardGridDisplay>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />