Skip to main content

Store / Update Cloud Data

This API stores data from a device in the cloud database.

Service​

IOT.Center

Endpoint​

api/APIService/UpsertCloudData

HTTP method: Not specified yet

Authentication​

Producer token. Token transport details: Not specified yet. See Authentication and API Access.

Parameters​

ParameterTypeRequiredDescription
DeviceSerialStringNot specified yetDevice serial
KeyStringNot specified yetData key
ValueStringNot specified yetData value

Behavior​

  1. The platform checks that the serial is allowed to call the API.
  2. The platform checks whether a value with this key already exists.
    • If none exists, a new record is created.
    • If one exists, no new record is created; the existing record is updated.

Billing​

The cost of the data-add service is deducted from the Producer (MongoDB). See Usage and Billing.

Response​

Response format and status codes: Not specified yet