Skip to main content

Creates a device health record

POST /v1/devicehealth

Summary

Creates a device health record.

Details

Request body: JSON object. Accepts either

deviceSerial or deviceName. If healthJSON.time.datetime contains a valid epoch in

milliseconds, it is used for healthDate; otherwise the server uses the current UTC time.

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
}