API Guide

Table Of Contents
Warranty service
/api/WarrantyService/Warranties
This URI represents the retrieval of warranty information from OpenManage Enterprise.
GET method for Warranties
This method returns warranty information from OpenManage Enterprise.
Description Returns warranty information from OpenManage Enterprise.
Privilege VIEW
HTTP response
codes
200
Example
response body
{
"@odata.context": "/api/$metadata#Collection(WarrantyService.Warranty)",
"@odata.count": 1,
"value":
[
{
"@odata.type": "#WarrantyService.Warranty",
"@odata.id": "/api/WarrantyService/Warranties(25110)",
"Id": 25110,
"DeviceId": 25102,
"DeviceModel": "PowerEdge C6420",
"DeviceIdentifier": "GT2T0M2",
"DeviceType": 1000,
"CountryLookupCode": "N/A",
"CustomerNumber": 0,
"LocalChannel": "N/A",
"OrderNumber": 0,
"SystemShipDate": "0001-01-01 00:00:00.000",
"State": "N/A",
"ItemNumber": "N/A",
"ServiceLevelCode": "N/A",
"ServiceLevelDescription": "No valid warranties found",
"ServiceLevelGroup": 0,
"ServiceProvider": "N/A",
"StartDate": "0001-01-01 00:00:00.000",
"EndDate": "0001-01-01 00:00:00.000",
"DaysRemaining": 0,
"Timestamp": "2018-09-03 00:00:00.000"
}
]
}
Table 184. Attributes
Attribute Description
Top Top records to return - default 100
Skip Maximum records to skip - default 0
Orderby Order to apply to the output
ID Filter by event id - default 0
DeviceType Filter by device type - default 0
DeviceIdentifier Filter by device identifier
DeviceModel Filter by device model - default 0
APIs specific to OpenManage Enterprise 609