Skip to content

Commit 1998978

Browse files
committed
Updatet rest api for dci creation
1 parent 28cb31d commit 1998978

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

admin/rest-api.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ Request path: *API_HOME*/objects/**{object-id}**/data-collection
13591359

13601360
JSON data:
13611361

1362-
Create new DCI (name and description are obligatory fields):
1362+
Create new DCI (name, description and valueType are obligatory fields):
13631363

13641364
.. code-block:: json
13651365
@@ -1370,9 +1370,15 @@ JSON data:
13701370
"pollingInterval": "120",
13711371
"pollingScheduleType": "1",
13721372
"retentionType": "1",
1373-
"retentionTime": "60"
1373+
"retentionTime": "60",
1374+
"valueType" : "single"
13741375
}
13751376
1377+
.. note::
1378+
1379+
valueType should be one of the following:
1380+
* single
1381+
* table
13761382

13771383
Update DCI
13781384
~~~~~~~~~~

0 commit comments

Comments
 (0)