Reference Guide
MoonshotCM_Data_Model_Reference_edit2.html[10/29/2014 1:09:23 AM]
PATCH Example
HTTP PATCH to resource with request JSON:
{"SKU": "<string-value>"}
The property "SKU" on resource type
HpMoonshotCartridge 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.
"SerialNumber"
This property is a member of HpMoonshotCartridge
JSON type: String
HTTP Operations
GET Rendered if supported by the implementation or omitted if not.
PATCH This property may be PATCHed if the resource instance of this type supports PATCH in the HTTP Allow headers.
PATCH Example
HTTP PATCH to resource with request JSON:
{"SerialNumber": "<string-value>"}
The property "SerialNumber" on resource type
HpMoonshotCartridge 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.
"Status/Health"
This property is a member of HpMoonshotCartridge
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 HpMoonshotCartridge