Skip to main content

Updates the latest device health record for a device

POST /v1/devicehealth/updatelatest

Summary​

Updates the latest device health record for a device.

Details​

Request body: JSON object. Updates the latest device health state and

returns the affected device health record ID.

Authentication​

No operation-level security requirement is documented here.

Parameters​

None documented here.

Request Body​

Required: Yes

application/json​

  • deviceName (string, optional)
  • deviceSerial (string, optional)
  • healthJSON (string, optional)

Example

{
"deviceName": "WearableDevice",
"deviceSerial": "10001234",
"healthJSON": "Example value"
}

Responses​

200​

Success

application/json​

Not documented here.

Example

{
"deviceHealthID": 501
}