Skip to content

Accessory

Alex Hedley edited this page Jan 20, 2019 · 1 revision

http://supportapi.lenovo.com/Documentation/Accessory.html

Accessory

Usage

URL

/Version/Accessory/ID Roles

WebAPI.Part Information

This API will return the accessory object Fields returned are

ID Name Description Category SubCategory Images - A list of pictures Warranty Variants

/Accessory with ID passed in query string

Same as the parent /Accessory with multiple IDs passed in query string

e.g.. /Accessory?ID=ID1&ID=ID2 Returns a list of response objects (like parent) POST /Accessory 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/Accessory" Returns a list of response objects (like parent) /Accessory with parameter Product=ProductID or Serial=SerialNumber[.MachineType]

This method will return a list of accessories for this product. The fields for each accessory are ID Name Category SubCategory

Clone this wiki locally