API Guide

Table Of Contents
"@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 149. 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
DaysRemaining Filter by remaining days for warranty expiry
CustomerNumber Filter by customer number- default 0
OrderNumber Filter by order number - default 0
/api/WarrantyService/Actions/WarrantyService.WarrantyCount
This URI represents the warranty counts based on Warranty Setting Criteria for scoreboard
POST method for WarrantyService.WarrantyCount
This method returns the count of warranty based on Warranty Setting Criteria for scoreboard.
Description
Returns the count of warranty based on Warranty Setting Criteria for scoreboard.
Privilege TRAP_MANAGEMENT
HTTP response
codes
200
APIs specific to OpenManage Enterprise 403