API Guide
Table 175. Attributes (continued)
Attribute name Description
Description Definition for discovery Task
Schedule Discovery job schedule information
TaskId Id of the job
ConnectionProfileId Connection profile Id
DeviceTypeList List of all device types
DiscoveryConfiglist Config details
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"
}
]
}
APIs specific to OpenManage Enterprise
537