Open topic with navigation
PostRegData.asp
Purpose:
Posts Customer Registration information for a given license.
HTTP Method:
POST
URL:
secure.softwarekey.com/solo/postings/postregdata.asp
Automation Client Functions:
SK_PostRegData
Input Variables:
- LicenseID: License ID for the license you want to post to
- Password: Password associated to License ID. This can be either the customer password or the license activation password.
- flags: Value to determine different functionality(see remarks below)
- CompanyName: Customer's Company Name
- Firstname: Customer's First Name
- Lastname: Customer's Last Name
- address1: The first line of the Customer's Address
- address2: The second line of the Customer's Address
- city: Customer's city
- state: Customer's state
- postalcode: Customer's Postal or Zip code
- country: Customer's Country
- phone: Customer's phone number
- fax: Customer's Fax number
- email: Customer's Email address
HTML Return Strings:
- Registration Result = (space equals space then data)
- Error Response =
Remarks:
If the registration information is properly posted, then the value after "Registration Result = " will be 0. If not, "Error Response = X" will be displayed where X is one of the Errors listed below.
The flags parameter is passed as a 32 character string representing 32 0/1 bits. The most significant bit is on the left and the least significant bit is on the right. Although only 3 bits are currently used, all 32 characters must be passed in order to be processed correctly.
ABCDEFGHIJKLMNOPQRSTUVWXYZ123456
- A = not used
- B = not used
- C = not used
- D = not used
- E = not used
- F = not used
- G = not used
- H = not used
- I = not used
- J = not used
- K = not used
- L = not used
- M = not used
- N = not used
- O = not used
- P = not used
- Q = not used
- R = not used
- S = not used
- T = not used
- U = not used
- V = not used
- W = not used
- X = not used
- Y = not used
- Z = not used
- 1 = not used
- 2 = not used
- 3 = not used
- 4 = set to 1 to enable Offer Products bit on this customer record
- 5 = set to 1 to enable Offer Partners bit on this customer record
- 6 = set to 0 to prevent an already registered customer record from being overwritten. In this case, Error 102 is returned.
Errors:
- 100: If the <LicenseID> is blank or could not be found in the database.
- 101: If the <password> is blank or does not match the <LicenseID>
- 102: If the <LicenseID> has already been registered and the Overwrite flag (last bit in flags bit field) is set to "0".