-
Notifications
You must be signed in to change notification settings - Fork 0
Part
http://supportapi.lenovo.com/Documentation/Part.html
Part
Usage
URL
/Version/Part/ID Roles
WebAPI.Part Information
This API will return the part object Fields returned are
ID Name Description Type Images - A list of pictures Substitutes - A list of substitute objects, each made of Type Part Variants
ID passed in query string
Usage: /Part?ID=xx Same as the parent Multiple IDs passed in query string
Usage: /Part?ID=xx,yy Returns a list of response objects (like parent) POST with the data containing a comma separated list of IDs
e.g.. curl --data "ID=ID1,ID2" -X POST "http://supportapi.lenovo.com/V2.5/Part" Returns a list of response objects (like parent) Parts for a Product
Usage: /Part?Product=xx or /Part?Serial=xx This method will return a list of parts for this product. The fields for each part are ID Type - The commodity code Name Level - Will be MT for parts defined in the ServiceBom at MachineType level MTM for parts defined in the ServiceBom at Model level SERIAL for as built parts (only available if request if for a product instance, i.e.. serial) Note, Parts are only available for MachineType, Model or Serial#