ABC Financial Web Services

rewrite

 

Summary

The rewrite operation allows you to rewrite member agreements.

 

Service Type SOAP
Service Name Agreements
Operation rewrite
Required Request Parameters
  • club
  • paymentPlanId
  • memberId

 

Request Parameters

The request has the following parameter hierarchy.

 

 

Parameter Name Required? Format Parent Parameter Description
club Y club number   The ABC-provided club number.
paymentPlanId Y GUID   An ABC-generated string to uniquely identify the payment plan. Use the plans operation to retrieve plan details for a club, including GUID.
memberId Y GUID   An ABC-generated string to uniquely identify the member whose agreement will be rewritten.
draftBillingInfo       Contains the billing information for ongoing payments. Must contains one instance of either draftCreditCard or draftBankAccount.
draftCreditCard     draftBillingInfo

Contains the details of the credit card information used for ongoing payments.

 

Child parameters:

  • creditCardFirstName
  • creditCardLastName
  • creditCardType
  • creditCardAccountNumber
  • creditCardExpMonth
  • creditCardExpYear
creditCardFirstName   string draftCreditCard The first name of the card account holder for credit card use in ongoing payments.
creditCardLastName   string draftCreditCard The last name of the card account holder for credit card use in ongoing payments.
creditCardType   string draftCreditCard

Valid values:

  • Visa
  • Discover
  • AmericanExpress
  • MasterCard
creditCardAccountNumber   string draftCreditCard The credit card account number to be used in ongoing payments.
creditCardExpMonth   string draftCreditCard The expiration month of the credit card.
creditCardExpYear   string draftCreditCard The expiration year of the credit card.
draftBankAccount   string draftBillingInfo Contains the details of a member's bank account used for ongoing payments.
draftAccountFirstName   string draftBankAccount The first name associated with a bank account used with ongoing payments.
draftAccountLastName   string draftBankAccount The last name associated with a bank account used with ongoing payments.
draftRoutingNumber   string draftBankAccount The routing number associated with a bank account used with ongoing payments.
draftAccountNumber   string draftBankAccount The account number associated with a bank account used with ongoing payments.
draftAccountType   string draftBankAccount The account type of a bank account used with ongoing payments.

 

Return Data

The return data is included inside return parameters in the body of the response.

 

The data has the following parameter hierarchy:

 

 

Parameter Name Contents Parent Parameter Description
clubNumber Club Number   The number for the club that has the agreement.
agreementNumber Agreement Number   The agreement number for the member's membership agreement.
memberId GUID   The unique member ID for the created member.
status     Contains the details of a status message.
status string status

Contains a status code.

 

Examples:

  • 0 indicates a successful message.
  • Failed indicates a failed request.
message string status Contains any additional details about the status.