POST device/battery

Receives a new device's battery information.

Remarks

C4M Error Code returned:

  • null

    Battery information stored successfully.

Status HTTP returned.

Request Information

Parameters

NameDescriptionAdditional information
receivedBatteryData
Battery data.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "deviceDate": {
    "date": "2020-05-15T17:03:27.6960553-03:00",
    "timeZoneId": "E. South America Standard Time",
    "utcOffset": -180
  },
  "level": 1,
  "receivedDate": "2020-05-15T17:03:27.6960553-03:00"
}

Response Information

Operation result.

Response body formats

application/json, text/json

Sample:

Sample not available.