PUT /warranty
Use this method to refresh the warranty information on the management server.
Authentication
Authentication with username and password is required.
Request URL
PUT https://{management_server_IP}/warranty
Query parameters
None
Request body
Attributes | Required / Optional | Type | Description | ||
---|---|---|---|---|---|
refresh | Required | String | Type of refresh to perform. This can be one of the following values.
| ||
groupUUID | Optional | Array of strings | Refreshes warranty information for one or more resource groups, specified by UUID |
The following example refreshes the warranty information for two groups.
{
"groupUUID": ["AAAAAAAAAAAAAAAAAAAAAAAA","BBBBBBBBBBBBBBBBBBBBBBBB"],
"refresh": "normal"
}
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
Attributes | Type | Description | ||
---|---|---|---|---|
children | Array of objects | Warranty information for each component in this device | ||
deviceName | String | Device name | ||
deviceType | String | Component type. This can be one of the following values.
| ||
endDate | String | Warranty end date | ||
groupName | String | Name of the resource groups to which the device belongs. If the archive does not belong to a resource group, the value is Not Available. | ||
groupUUID | String | UUID of the resource groups to which the device belongs | ||
id | String | UUID of this object | ||
serialNumber | String | Device serial-number Note For RackSwitch devices, this is the entitled serial number. | ||
startDate | String | Wwarranty start date | ||
status | String | Warranty status. This can be one of the following values.
| ||
warrantyType | String | Warranty type. This can be one of the following values.
|
The following example is returned if the request is successful.
{
"children": [],
"deviceName": "Chassis_1",
"deviceType": "Chassis",
"endDate": "",
"groupName": ["Not Available"],
"groupUUID": [],
"id": "00DD973D1C2CE511B19E3C18A000F4F0",
"serialNumber": "23FBX24",
"startDate": "",
"status": "Expired",
"warrantyType": ""
}
Give documentation feedback