API Function - Get User Parts Color Summary

Back to API list

Use this service to get a user's summary of number of owned parts per color.

URL /api/get_user_parts_color_summary
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.
part_id - The Part ID to lookup.
Returns

Output data with fields:

  • rb_color_id - Color ID.
  • num_in_sets - The number of times this part/color occurs in sets owned by the user.
  • num_in_parts - The number of times this part/color occurs in loose parts owned by the user.
  • 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:
    Part ID:
    Test

    Test Results