-
Notifications
You must be signed in to change notification settings - Fork 0
Case
http://supportapi.lenovo.com/Documentation/Case.html
/Version/Case/ID
- WebAPI.Case
This API will return the caseobject
Fields returned are
- ID
- Type (Call, Request, Order, Incident)
- Summary
- Description
- Opened
- Closed
- Status
- Product
- Serial
- ID (Type of this product)
- Customer (will have one of)
- ID
- Phone
Usage: /Case?ID=xx
Same as the parent
Usage: /Case?ID=xx,yy
Returns a list of response objects (like parent)
e.g.. curl --data "ID=xx,yy" -X POST "http://supportapi.lenovo.com/V2.5/Case"
Returns a list of response objects (like parent)
Usage: /Case?Serial=xx
This method will return a list of casesfor this product.
Optional Parameter Type=tt where tt can be Call, Request, Order or Incident. Default is everything
Optional Parameter Updated=dd where dd is a ISO date for the earliest updated case for this product. Default is updated in past 30 days
Optional Parameter Status=ss where ss is Open or Closed. Default is Open
The fields for each case are
- ID
- Type
- Status
- Opened
- Closed
Usage: POST /Case
POST Data (must be a JSON structure)
- Product
- Serial
- Type (MT is sufficient and is optional)
- Customer
- Phone
- Name
- Address (List of lines
- City
- State
- ZIP
- Country (Default is request country)
- Language (Default is request language)
- Problem
Response
The case creation is an asynchronous request. The response to the POST will just be a HTTP 200 message. When the case is created, the user (identified by the EMail) will be sent an email with the case ID and summary