Legacy v. 2.10.0 PSPI Functions
Proprietary & Confidential
213
GetSub_v2100()
Stored procedure for retrieving a subscriber’s record from the database.
Parameters
The constraints column shows specific value or range constraints. For syntax
rules and constraints applicable to all parameters, see
Return Values
Parameter
Data Type
Constraints
Description
vSubscriberId INT
>0
ID of subscriber. Must be in database.
Data Type
Description
INT
Return code (0: OK; otherwise, error code).
INT
Subscriber ID.
INT
Billing ID.
SMALLINT
Billing type. 0: Credit card; 1: Phone number.
CHAR (30)
Billing phone number.
CHAR (255)
Billing address.
SMALLINT
Credit card type. 0: Visa; 1: MC; 2: Amex;
3: Discover.
CHAR (20)
Credit card number.
DATETIME YEAR TO MONTH
Credit card expiration date.
CHAR (255)
User-defined billing field 1.
CHAR (255)
User-defined billing field 2.
INT
Group ID.
INT
Prompt set.
CHAR (30)
Subscriber’s first name.
CHAR (30)
Subscriber’s last name.