API Guide

Table 6. Filters
Filter name Description
top Top records to return–default 100
skip Max 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
Input:
Output: {
"@odata.context": "/api/$metadata#Collection(WarrantyService.Warranty)",
"@odata.count": 3,
"value": [
{
"@odata.id": "/api/WarrantyService/Warranties(7664)",
"Id": 7664,
"DeviceId": 6014,
"DeviceModel": "PowerEdge R320",
"DeviceIdentifier": "2JBW4W1",
"DeviceType": 1000,
"CountryLookupCode": "US",
"CustomerNumber": 52052241,
"LocalChannel": "01",
"OrderNumber": 197371632,
"SystemShipDate": "2012-10-02 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": "2017-11-15 00:00:00.000"
},
{
"@odata.id": "/api/WarrantyService/Warranties(7714)",
"Id": 7714,
"DeviceId": 6114,
"DeviceModel": "PowerEdge R530",
"DeviceIdentifier": "7NP3D42",
"DeviceType": 1000,
"CountryLookupCode": "US",
"CustomerNumber": 134516886,
"LocalChannel": "01",
"OrderNumber": 816694190,
"SystemShipDate": "2015-05-14 00:00:00.000",
"State": "N/A",
"ItemNumber": "N/A",
"ServiceLevelCode": "N/A",
"ServiceLevelDescription": "No valid warranties found",
"ServiceLevelGroup": 0,
"ServiceProvider": "N/A",
OpenManage Enterprise–Specific resource model
19