Support Database

Search Support Database:


Subject:Advanced: User Automation
Category:
Keywords:automation, integration, automate, automatically
  
Article:SoftLocker user management can be fully automated by your web server by sending information to:

http://www.softlocker.net/automate.asp

You will need the following information:

  • Your customer ID, found on your My Account page

  • Your customer PIN, found on your My Account page


  • You must then send the following information to SoftLocker via a POST or GET request:
    URL: http://www.softlocker.net/automate.asp
    NameVariablePossible Values
    Customer IDcust_idThe ID found on your My Account page
    Customer PINcust_pinThe PIN found on your My Account page
    Transaction*txn_idThe transaction number sent when the account was created
    Email*user_emailThe email or username you wish to work with
    Product ID*prod_idThe product ID from the Product list in the SoftLocker client
    ActionactionOne of the values from the Action Chart below
    Additional DatadataAn expiration date in the format YYYY-MM-DD, or the word "NEVER" only used for the EXPIRE action


    *You must provide either the unique Transaction number for the user, or the Email and Product ID combination for the user; preferably all three items should be provided to be as accurate as possible in looking up the registration. The transaction number is preferred but not necessary. See adding a transaction number for more information.


    ActionDescription
    RESETAllows the registration code to be used on a new computer (Single-computer registrations only)
    REMOVEDisables and removes the registration
    ENABLEEnables the registration
    DISABLEDisables the registration
    MULTIChanges the registration to multi-computer
    SINGLEChanges the registration to single-computer
    EXPIREChanges the expiration date. Send "NEVER" in the "data" variable to remove an expiration. Send a date in the format YYYY-MM-DD in the "data" variable set an expiration. The "data" variable is not used for other actions.


    You can "hit" the automation URL with a querystring, or post form data. For example, a querystring:

    http://www.softlocker.net/automate.asp?cust_id=1&cust_pin=1234&txn=19283029383&user_email=somedude@someplace.com&prod_id=394&Action=ENABLE

    http://www.softlocker.net/automate.asp?cust_id=1&cust_pin=1234&txn=19283029383&user_email=somedude@someplace.com&prod_id=394&Action=DISABLE

    http://www.softlocker.net/automate.asp?cust_id=1&cust_pin=1234&txn=19283029383&user_email=somedude@someplace.com&prod_id=394&Action=EXPIRE&data=2010/04/08

    http://www.softlocker.net/automate.asp?cust_id=1&cust_pin=1234&txn=19283029383&user_email=somedude@someplace.com&prod_id=394&Action=EXPIRE&data=Never

    You will receive a response in the following format:

    [SUCCESS/FAILURE]|[REASON]|

    For example:

    Success|Success|
    Failure|Could not find a matching record or action|
    Failure|Account Inactive|
    Failure|Bad Password|




    Home - SoftLocker.net Client - SoftLocker ListBuilder - Tutorials - Support - Privacy - Affiliates





    © 2009-2010 SoftLocker.net