API Function - Add User Set List

Back to API list

Use this service to create a new Set List for the user.

URL /api/add_user_setlist
Method POST
Parameters key - API Key
format - How to display output data. Valid values: xml, json, csv, tsv
callback - Optional JSONP callback function name
email - The user's logon email.
pass - The user's password.
hash - User Hash Key, alternate to providing email+pass.
descr - Description/Name of the set list.
type - Type of set list: 1 = use sets in build, 2 = dont use sets in build calculations.
Returns

Output data with fields:

  • SUCCESS - Successfully added the setlist and returns the setlist_id.
  • Error Codes:

  • INVALIDKEY - The API Key is invalid
  • INVALIDPASS - Invalid user email or password
  • INVALIDHASH - The hash key does not match a user/password
  • NOUSER - The user could not be found
  • Test Values

    API Key:
    Format:
    User email:
    User password:
    User hash:
    Description:
    Type:
    Test

    Test Results