Skip to content

Product

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

Product

Usage

URL

/Version/Product/ID Roles

WebAPI.Content WebAPI.Warranty (required to view warranty information) Information

Returns the product information ID can be a fully qualified product ID (like GROUP/SERIES/SUB-SERIES[/MACHINE-TYPE[/MODEL[/SERIAL]]] or just the ID (like SUB-SERIES or MACHINE-TYPE ID can also be a serial number, however the serial exists as a duplicate, we should pass the serial in the form SERIAL.MACHINE-TYPE Fields returned are

ID - The canonical ID of this product in {GROUP}/{SERIES}/{SUB-SERIES}[/{MACHINE-TYPE}[/MODEL[/SERIAL]]] form Type - The type, usually SubSeries, MachineType, Model or Serial Brand - The brand of this product Name - The localized name of this product Image - The URL for the image of this product Description - The localized description of this product Specification - The localized specifications (if available) for this product Released- The date this product was released OperatingSystems - OSes supported by this product The following fields are available only if the product is an instance (ID was a serial or an IMEI) and the user has WebAPI.Warranty role InWarranty - Whether this product is in warranty Purchased - Date this product was purchased Will not be available if we do not have the purchase information (product was not registered) Shipped - Date this product was shipped Warranty - List of warranties ID Type Name Start End Contract - List of contract warranties. Available only if the product is part of a contract Contract Quantity ItemNumber ChargeCode SLA EntitlementCode Status Start End Variants

Product ID in Query String

Usage: /Product?ID=ID1 Same as the parent with the product ID passed as a query string Serial# in Query String

Usage: /Product?Serial=Serial1 Same as the parent with the product serial passed as a query string Multiple IDs in Query String

Usage: /Product?ID=ID1,ID2 Returns a list of response objects (like parent) Multiple Serial# in Query String

Usage: /Product?Serial=Serial1,Serial2 Returns a list of response objects (like parent) Multiple IDs or Serials POSTed

Usage: POST /Product DATA [ID=ID1,ID2,ID3] e.g.. curl --data "ID=ID1,Serial1,ID2" -X POST "http://supportapi.lenovo.com/V2.5/Product" Returns a list of response objects (like parent)

Clone this wiki locally