ReadiVoice PSPI Reference
290
Proprietary & Confidential
UpdateSub_v1200()
Stored procedure for updating a subscriber’s record in the database. This SP is
similar to
, but adds parameters for several additional
options and features.
Parameters
Specify all parameters. The constraints column shows specific value or range
constraints. Note that the
vExternalId
parameter must have a data type of
CHAR(30)
. For syntax rules and constraints applicable to all parameters, see
Parameter
Data Type
Constraints
Description
vSubscriberId
INT >0
ID of subscriber to update.
vBillingType
SMALLINT 0,
1
Type of billing. 0: Credit card; 1: Phone
number. Set to 0 if not updating billing
information.
vBillingPhone CHAR
(30)
Phone number to bill or empty string if not
updating billing information.
vBillingAddress CHAR
(255)
Billing address or empty string if not updating
billing information.
vBillingId
INT <0,
>0
Existing billing ID (from database) if updating
billing information. Negative number if not
updating billing information.
vCreditCardType SMALLINT 0–3
Type of credit card. 0: Visa; 1: MC; 2: Amex;
3: Discover. Set to 0 if not if not updating billing
information.
vCreditCardNumber
CHAR (20)
Credit card number (numeric characters only)
or empty string if not updating billing
information.
vCreditCardExpire
DATETIME
YEAR TO
MONTH
Credit card expiration date. Set to 1999-12 if
not updating billing information.
vClientBillA CHAR
(255)
User-defined billing field 1. Set to empty string
if not updating billing information.
vClientBillB CHAR
(255)
User-defined billing field 2. Set to empty string
if not updating billing information.
vPromptSet
INT -1,
>0
Prompt set to assign to this subscriber (must
be in database), or -1 to assign default prompt
set.