API Function - Get User Lost Parts

Back to API list

Use this service to get a user's list of lost parts as shown on their My Lost Parts page.

URL /api/get_user_lost_parts
Method GET
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.
Returns

Output data with fields:

  • part_id - Part ID.
  • set_id - Set ID.
  • rb_color_id - Color ID.
  • ldraw_color_id - LDraw Color ID.
  • qty - The number of this part owned by the user.
  • part_name - The part name.
  • part_type_id - The part type/category id.
  • part_url - The URL of the part details.
  • part_img_url - The best avaialble image for the part.
  • 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:
    Test

    Test Results