ReadiVoice PSPI Reference
278
Proprietary & Confidential
UpdateSub_v1300()
Stored procedure for updating a subscriber’s record in the database.
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.
vFirstName
CHAR (30)
Subscriber’s first name or empty string.
vLastName
CHAR (30)
Subscriber’s last name or empty string.
Содержание ReadiVoice
Страница 1: ...ReadiVoice PSPI Reference ...
Страница 134: ...ReadiVoice PSPI Reference 126 Proprietary Confidential ...
Страница 268: ...ReadiVoice PSPI Reference 260 Proprietary Confidential ...