Data

POST /ver2/DataService.svc/numericdata/enterdatacommands

Processes a set of one or more numeric Data Points. Entering Data Points is an asynchronous process. Upon successfully receiving and queueing the data, a command id is returned. With this command id, the Get Command API can be used to track completion or failure of the data entry command.

SDK API: envianceSdk.data.enterNumericData (numericDataPoints, collector, onsuccess, onerror) null

envianceSdk.data.enterNumericData

[
  [
    {
      "parameterIdOrTag": "94A716F3-DFE2-4B00-B405-D922BF6B74D8",
      "completeDate": "2012-12-01T23:35:00",
      "value": "2.567e-6"
    },
    {
      "parameterIdOrTag": "94A716F3-DFE2-4B00-B405-D922BF6B74D8",
      "completeDate": "2012-12-01T23:40:00",
      "acronym": "\u003Cstr_const1\u003E",
      "collector": "local collector"
    }
  ],
  "general collector",
  "onsuccess",
  "onerror"
]

[[{ "parameterIdOrTag": "<GUID>", "completeDate": "<ISO-DATE>", "value": "<decimal>", "acronym": <acronymValue>, // if specified uses acronym const instead of "value" [optional]"collector": <collectorNameOrNull>},{ "parameterIdOrTag": "<ISO-DATE>", "completeDate": "<ISO-DATE>", "value": "<decimal>", "acronym": <acronymValue>, // if specified uses acronym const instead of "value" [optional]"collector": <collectorNameOrNull> "qualityData" : [ { "name": "<udfName1>", "urlItems" : [ { "label":"<label1>", "url": "<url1>" }, { "label":"<label2>", "url": "<url2>" }, ... ] "values" : [ "<strValue1>", "<strValue2>", ... ] }, ... ]}],<collectorNameOrNull>,"onsuccess","onerror"]

Request

Headers

EnvApi-Systemidstring

Specify specific system to run instead of Home

EnvApi-Packageidstring

(optional) Clients application/package ID

EnvApi-Udf-DateTime-Iso-In-CustomFieldsstring

Udfs of DateTime should use Iso

EnvApi-Udf-DateTime-ReadInUserTzstring

(obsolete) Udfs of DateTime type whould be in ReadInUserTz

EnvApi-Udf-Value-Invariantstring

(optional) Udfs - Force Non-Localized (invariant) values

EnvApi-Localization-Allstring

(optional) Extend objects with User-given Localizations

x-client-request-idstring

(optional) Client ID for double submit prevention

Request body

collectorstring

Response

not available

string guid required

Changes

No recorded changes to this operation across all 1 revision of this API.