Reference Guide

MoonshotCM_Data_Model_Reference_edit2.html[10/29/2014 1:09:23 AM]
HTTP PATCH to resource with request JSON:
{"SerialNumber": "<string-value>"}
The property "SerialNumber" on resource type
HpMoonshotSwitch may not support PATCH of all values and may result in an HTTP 400 error with response of Type ExtendedError.
Multiple properties may be included in a single HTTP PATCH operation as long as the request is properly formatted JSON. To address an array entry other than the first, insert nulls as
placeholders on skipped array entries.
"SparePartNumber"
This property is a member of HpMoonshotSwitch
JSON type: String
HTTP Operations
GET Rendered if supported by the implementation or omitted if not.
"Status/Health"
This property is a member of HpMoonshotSwitch
Indicates the health state of this resource without considering its dependent resources.
JSON type: String containing one of the following supported values:
"OK"
"Warning"
"Critical"
HTTP Operations
GET Rendered if supported by the implementation or omitted if not.
"Status/HealthRollUp"
This property is a member of HpMoonshotSwitch
Indicates the overall health state of this resource and its dependent resources.
JSON type: String containing one of the following supported values:
"OK"
"Warning"
"Critical"
HTTP Operations
GET Rendered if supported by the implementation or omitted if not.
"Status/State"