Skip to content

Warranty

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

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

Warranty

Usage

URL

/Version/Warranty/ID Roles

WebAPI.Warranty Information

Returns the warranty code details for the parameter ID Fields returned are

ID - The warranty code Name - The localized name of this warranty Type - The type of warranty (UNKNOWN, BASE, UPGRADE, EXTENDED or INSTANT) Delivery - The delivery type (UNKNOWN, BRING_IN, COURIER, CRU, DEPOT, ADV_EXCHANGE, ON_SITE, PARTS_ONLY or TECH_SUPPORT) Category - The category of this warranty (UNKNOWN, MACHINE or COMPONENT) Duration - The duration of this warranty Variants

OD passed in query string

Usage: /Warranty?ID=xx Same as /Warranty/ID Multiple IDs passed in query string

Usage: /Warranty?ID=xx,yy List of warranty objects (above) POST with the data containing a comma separated list of IDs

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

Usage

URL

/Version/Warranty?Serial=Serial Roles

WebAPI.Warranty Information

Returns the warranty details for the parameter Serial# Fields returned are

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

Multiple Serials passed in query string

Usage: /Warranty?Serial=xx,yy List of warranty objects (above) POST with the data containing a comma separated list of Serials

e.g.. curl --data "Serial=xx,yy" -X POST "http://supportapi.lenovo.com/V2.5/Warranty" Returns a list of response objects (like parent) Contract

Usage

URL

/Version/Contract/ID Roles

WebAPI.Warranty Information

Returns the contract details (including the products in this contract) for the parameter ID Fields returned are

ID - The contract code Description - The description of this contract Start - The date this contract started (Refer to individual products for details) End - The date this contract ends (Refer to individual products for details) Products - A list of products that are included in this contract, each product object has Serial MachineType Name - Name of this product Quantity ItemNumber ChargeCode SLA EntitlementCode Status Start End International Warranty Options

Usage

URL

/Version/warrantyoption/{country-code (not required)}?serial={serial-number} or /warrantyoption/{country-code (not required)}?product={machine-type} Roles

WebAPI.Warranty Information

Returns the list of international warranty options for the product specified in the current country and language Fields returned are

Variants

Multiple Serials or Products passed in query string

Usage: /warrantyoption/{country-code (not required)}?Serial=xx,yy List of warranty objects (above) POST with the data containing a comma separated list of Serials

e.g.. curl --data "Serial=xx,yy" -X POST "http://supportapi.lenovo.com/V2.5/InternationalWarranty" Returns a list of response objects (like parent)

Clone this wiki locally