API Function - Set User Set Lost Parts

Back to API list

Use this service to set the list of lost parts for a specific set id as shown in user's My Lost Parts list. It will first delete any existing parts for that set, so you should always pass in the complete list for that set. If any parts cannot be found in the database, they will be silently ignored. It will return the number of parts that were successfully recognised.

URL /api/set_user_set_lost_parts
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.
parts - The list of parts to be added: PART COLOR QTY, PART COLOR QTY, etc
set_id - Set number to add lost parts to.

Output data with fields:

  • SUCCESS [int parts added] - Successfully added the indicated number of parts
  • Error Codes:

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

    API Key:
    User email:
    User password:
    User hash:
    Set ID:

    Test Results